You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-howto-schedule-indexers.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,21 @@ ms.date: 12/06/2022
14
14
15
15
# Schedule an indexer in Azure Cognitive Search
16
16
17
-
Indexers can be configured to run on a schedule when you set the "schedule" property in the indexer definition. By default, an indexer runs once, immediately after it's created. Afterwards, you can run it again on demand or on a schedule. Some situations where indexer scheduling is useful include:
17
+
Indexers can be configured to run on a schedule when you set the "schedule" property. Some situations where indexer scheduling is useful include:
18
18
19
19
+ Source data is changing over time, and you want the indexer to automatically process the difference.
20
+
+ Source data is very large, and you need a recurring schedule to index all of the content.
21
+
+ An index is populated from multiple sources, using multiple indexers, and you want to stagger the jobs to reduce conflicts.
20
22
21
-
+ An index is populated from multiple data sources and indexers, and you want to stagger the indexer jobs to reduce conflicts.
23
+
When indexing can't complete within the typical 2-hour processing window, you can schedule the indexer to run on a 2-hour cadence to work through a large volume of data. As long as your data source supports [change detection logic](search-howto-create-indexers.md#change-detection-and-internal-state), indexers can automatically pick up where they left off on each run.
22
24
23
-
+ Source data is very large and you want to spread the indexer processing over time.
24
-
25
-
If indexing isn't completing within the processing window, you can [schedule the indexer](search-howto-schedule-indexers.md) to run at specific intervals. Most indexers run within a 2-hour processing window, so scheduling on 2-hour cadence is recommended for working through a large volume of data (many millions of documents). As long as your data source supports [change detection logic](search-howto-create-indexers.md#change-detection-and-internal-state), indexers can automatically pick up where they left off on each run, based on an internal high water mark that marks where indexing last ended.
26
-
27
-
Once an indexer is on a schedule, it stays on the schedule until you clear the interval or start time, or set "disabled" to true. Leaving the indexer on a schedule when there's nothing to process won't impact system performance. Checking for a high water mark and the presence of new or changed documents is a relatively fast operation.
25
+
Once an indexer is on a schedule, it remains on the schedule until you clear the interval or start time, or set "disabled" to true. Leaving the indexer on a schedule when there's nothing to process won't impact system performance. Checking for changed content is a relatively fast operation.
28
26
29
27
## Prerequisites
30
28
31
29
+ A valid indexer configured with a data source and index.
32
30
33
-
+ Change detection in the data source. Azure Storage and SharePoint have built-in change detection. Other data sources, such as [Azure SQL](search-howto-connecting-azure-sql-database-to-azure-search-using-indexers.md) and [Azure Cosmos DB](search-howto-index-cosmosdb.md) must be enabled manually.
31
+
+[Change detection](search-howto-create-indexers.md#change-detection-and-internal-state) in the data source. Azure Storage and SharePoint have built-in change detection. Other data sources, such as [Azure SQL](search-howto-connecting-azure-sql-database-to-azure-search-using-indexers.md) and [Azure Cosmos DB](search-howto-index-cosmosdb.md) must be enabled manually.
0 commit comments