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/cognitive-search-incremental-indexing-conceptual.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: HeidiSteen
7
7
ms.author: heidist
8
8
ms.service: cognitive-search
9
9
ms.topic: conceptual
10
-
ms.date: 01/31/2023
10
+
ms.date: 04/21/2023
11
11
---
12
12
13
13
# 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
80
80
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.
81
81
82
82
```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
+
87
85
```
88
86
89
87
<aname="Bypass-data-source-check"></a>
90
88
91
89
### Bypass data source validation checks
92
90
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.
94
92
95
93
```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
+
100
96
```
101
97
102
98
<aname="Force-skillset-evaluation"></a>
@@ -181,9 +177,13 @@ REST API version `2020-06-30-Preview` or later provides incremental enrichment t
181
177
182
178
+[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.
183
179
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
+
184
184
## Next steps
185
185
186
186
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.
187
187
188
188
> [!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