View Source

h2. Schedules

This section allows you to schedule key system activities, such as acquiring content, processing data for auto-complete and spell check, or even reindexing the entire system.

!screen-index-schedule.1.6.png|border=1!

h3. Data Sources

The Data Sources section allows scheduling when indexing a specific data source should begin.  A schedule must be set in order for any documents to be indexed.  Configured data sources and their indexing status are listed in the left panel.  The Indexing Status column will show information about when the data source was last indexed or when it is next scheduled to be indexed (it will display either the next scheduled or the last completed, not both).


The screen allows two options for scheduling:
# _Start indexing in:_ a relative time, as in, "1 hour from now"
# _Start indexing at:_ a specific date and time

If the activity should recur at set intervals, use the Repeat Every setting.

!screen-index-schedule-sources.1.6.png|border=1!

It's also possible to launch all data sources at once by clicking \_go\_ next to "Or schedule all immediately".  

The schedule can be deactivated by unchecking the box next to _Activate_.

After saving the settings, the job will show on the Dashboard Summary or Index Summary screens once it begins to run.

{warning:title=Schedule All Immediately}
Using the option to schedule all data sources to run immediately will overwrite all existing schedules for each data source, including any repeat intervals that may have been previously configured.
{warning}


h3. Activities

The Activities section allows scheduling of specific jobs that are essential to the functioning of LucidWorks Enterprise.


!screen-index-schedule-activity.1.6.png|border=1!

The jobs that can be scheduled are:

|| Activity || Description ||
| Optimize | Optimizes the internal Apache Lucene data structures for better performance in searching. Optimizing a large index can take a long time, so it should be done judiciously based on when indexing completes. |
| Spelling | Creates the index required for implementing [spell check|LWEUG16:Spell Checking and Automatic Completion of User Queries]. |
| Click | Processes the click.log to create a file for [Click Scoring |LWEUG16:Click Scoring Relevance Framework] to use in relevancy ranking calculations. |
| Auto-Complete | Creates the index required for implementing [automatic suggestions|LWEUG16:Spell Checking and Automatic Completion of User Queries] for user queries as they type. |

The screen allows two options for scheduling:

# _Start indexing in:_ a relative time, as in, "1 hour from now"
# _Start indexing at:_ a specific date and time to start

If the activity should recur at set intervals, use the Repeat Every setting.