Enable incremental updates for a crawler
If you want to update index documents and you don't want to wait for the next scheduled scan or manually trigger a reindex, a developer can use the Ingestion API to add or modify index documents.
Incremental updates using the API are available only for the advanced web and API crawlers. Before a developer can use the API, you'll need to enable incremental updates for the crawler.
When an administrator recrawls a pull source, either manually or through scheduled crawls, Search updates all index documents with the latest data from your original content. This action overwrites any updates you made through Ingestion API if they aren't also applied to the original content. To prevent this, we recommend that you always update the original content with changes made through the Ingestion API. This synchronization ensures that your modifications are maintained in future crawls.
To enable incremental updates for a crawler source:
-
On the menu bar, click Sources, and select the crawler source you created.
-
On the Source Settings page, next to Incremental Updates, click Edit.
-
Turn on the ENABLE INCREMENTAL UPDATES switch.
-
Click Save.
-
Click Publish.