Skip to content

Commit 445e5c2

Browse files
authored
Merge pull request #101244 from HeidiSteen/heidist-bugfix
Azure Cog Search - caching (Vinod's edits)
2 parents af0ac3b + 9505039 commit 445e5c2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

articles/search/cognitive-search-incremental-indexing-conceptual.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,16 @@ The lifecycle of the cache is managed by the indexer. If the `cache` property on
5353

5454
While incremental enrichment is designed to detect and respond to changes with no intervention on your part, there are parameters you can use to override default behaviors:
5555

56-
+ Suspend caching
56+
+ Prioritize new documents
5757
+ Bypass skillset checks
5858
+ Bypass data source checks
5959
+ Force skillset evaluation
6060

61-
### Suspend caching
61+
### Prioritize new documents
6262

63-
You can temporarily suspend incremental enrichment by setting the `enableReprocessing` property in the cache to `false`, and later resume incremental enrichment and drive eventual consistency by setting it to `true`. This control is particularly useful when you want to prioritize indexing new documents over ensuring consistency across your corpus of documents.
63+
Set the `enableReprocessing` property to control processing over incoming documents already represented in the cache. When `true` (default), documents already in the cache are reprocessed when you rerun the indexer, assuming your skill update affects that doc.
64+
65+
When `false`, existing documents are not reprocessed, effectively prioritizing new, incoming content over existing content. You should only set `enableReprocessing` to `false` on a temporary basis. To ensure consistency across the corpus, `enableReprocessing` should be `true` most of the time, ensuring that all documents, both new and existing, are valid per the current skillset definition.
6466

6567
### Bypass skillset evaluation
6668

@@ -90,9 +92,9 @@ PUT https://customerdemos.search.windows.net/datasources/callcenter-ds?api-versi
9092

9193
### Force skillset evaluation
9294

93-
The purpose of the cache is to avoid unnecessary processing, but suppose you have made a change to a skill or skillset that the indexer doesn't detect (for example, changes to external components like a custom skillset).
95+
The purpose of the cache is to avoid unnecessary processing, but suppose you make a change to a skill that the indexer doesn't detect (for example, changing something in external code, such as a custom skill).
9496

95-
In this case, you can use the [Reset Skills](preview-api-resetskills.md) API to force reprocessing of a particular skill, including any downstream skills that have a dependency on that skill's output. This API accepts a POST request with a list of skills that should be invalidated and rerun. After Reset Skills, run the indexer to execute the operation.
97+
In this case, you can use the [Reset Skills](preview-api-resetskills.md) to force reprocessing of a particular skill, including any downstream skills that have a dependency on that skill's output. This API accepts a POST request with a list of skills that should be invalidated and marked for reprocessing. After Reset Skills, run the indexer to invoke the pipeline.
9698

9799
## Change detection
98100

0 commit comments

Comments
 (0)