Skip to content

Commit 998df9f

Browse files
Merge pull request #235414 from gmndrg/main
Changes in cache documentation
2 parents 8f517f7 + 6eb5d1c commit 998df9f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: HeidiSteen
77
ms.author: heidist
88
ms.service: cognitive-search
99
ms.topic: conceptual
10-
ms.date: 01/31/2023
10+
ms.date: 04/21/2023
1111
---
1212

1313
# Incremental enrichment and caching in Azure Cognitive Search
@@ -80,23 +80,19 @@ If you know that a change to the skill is indeed superficial, you should overrid
8080
Setting this parameter ensures that only updates to the skillset definition are committed and the change isn't evaluated for effects on the existing cache. Use a preview API version, 2020-06-30-Preview or later.
8181

8282
```http
83-
PUT https://[servicename].search.windows.net/skillsets/[skillset name]?api-version=2020-06-30-Preview
84-
{
85-
"disableCacheReprocessingChangeDetection" : true
86-
}
83+
PUT https://[servicename].search.windows.net/skillsets/[skillset name]?api-version=2020-06-30-Preview&disableCacheReprocessingChangeDetection
84+
8785
```
8886

8987
<a name="Bypass-data-source-check"></a>
9088

9189
### Bypass data source validation checks
9290

93-
Most changes to a data source definition will invalidate the cache. However, for scenarios where you know that a change should not invalidate the cache - such as changing a connection string or rotating the key on the storage account - append the "ignoreResetRequirement" parameter on the data source update. Setting this parameter to true allows the commit to go through, without triggering a reset condition that would result in all objects being rebuilt and populated from scratch.
91+
Most changes to a data source definition will invalidate the cache. However, for scenarios where you know that a change should not invalidate the cache - such as changing a connection string or rotating the key on the storage account - append the "ignoreResetRequirement" parameter on the [data source update](/rest/api/searchservice/update-data-source). Setting this parameter to true allows the commit to go through, without triggering a reset condition that would result in all objects being rebuilt and populated from scratch.
9492

9593
```http
96-
PUT https://[search service].search.windows.net/datasources/[data source name]?api-version=2020-06-30-Preview
97-
{
98-
"ignoreResetRequirement" : true
99-
}
94+
PUT https://[search service].search.windows.net/datasources/[data source name]?api-version=2020-06-30-Preview&ignoreResetRequirement
95+
10096
```
10197

10298
<a name="Force-skillset-evaluation"></a>
@@ -181,9 +177,13 @@ REST API version `2020-06-30-Preview` or later provides incremental enrichment t
181177

182178
+ [Update Data Source](/rest/api/searchservice/update-data-source), when called with a preview API version, provides a new parameter named "ignoreResetRequirement", which should be set to true when your update action should not invalidate the cache. Use "ignoreResetRequirement" sparingly as it could lead to unintended inconsistency in your data that will not be detected easily.
183179

180+
## Limitations
181+
182+
If you are using [SharePoint indexer (Preview](search-howto-index-sharepoint-online.md), it is not recommended that the Incremental enrichment feature is used. There are conditions that may rise when indexing with this preview feature that would require to reset the indexer and invalidate the cache.
183+
184184
## Next steps
185185

186186
Incremental enrichment is a powerful feature that extends change tracking to skillsets and AI enrichment. Incremental enrichment enables reuse of existing processed content as you iterate over skillset design. As a next step, enable caching on your indexers.
187187

188188
> [!div class="nextstepaction"]
189-
> [Enable caching for incremental enrichment](search-howto-incremental-index.md)
189+
> [Enable caching for incremental enrichment](search-howto-incremental-index.md)

0 commit comments

Comments
 (0)