Skip to content

Commit 34bc8e5

Browse files
committed
Fixed a copy-paste error
1 parent 2fb947a commit 34bc8e5

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

articles/search/search-howto-index-cosmosdb-gremlin.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For this call, specify a [preview REST API version](search-api-preview.md) (2020
7474

7575
1. Set "container" to the collection. The "name" property is required and it specifies the ID of the graph. The "query" property is optional. The query default is `g.V()`. To index the edges, set the query to `g.E()`.
7676

77-
<!-- 1. [Set "dataChangeDetectionPolicy"](#DataChangeDetectionPolicy) if data is volatile and you want the indexer to pick up just the new and updated items on subsequent runs. Incremental progress will be enabled by default using `_ts` as the high water mark column. -->
77+
1. [Set "dataChangeDetectionPolicy"](#DataChangeDetectionPolicy) if data is volatile and you want the indexer to pick up just the new and updated items on subsequent runs. Incremental progress will be enabled by default using `_ts` as the high water mark column.
7878

7979
1. [Set "dataDeletionDetectionPolicy"](#DataDeletionDetectionPolicy) if you want to remove search documents from a search index when the source item is deleted.
8080

@@ -187,6 +187,22 @@ Indexer configuration specifies the inputs, parameters, and properties controlli
187187
1. [Specify field mappings](search-indexer-field-mappings.md) if there are differences in field name or type, or if you need multiple versions of a source field in the search index.
188188
189189
1. See [Create an indexer](search-howto-create-indexers.md) for more information about other properties.
190+
191+
<a name="DataChangeDetectionPolicy"></a>
192+
193+
## Indexing changed documents
194+
195+
The purpose of a data change detection policy is to efficiently identify changed data items. Currently, the only supported policy is the [`HighWaterMarkChangeDetectionPolicy`](/dotnet/api/azure.search.documents.indexes.models.highwatermarkchangedetectionpolicy) using the `_ts` (timestamp) property provided by Azure Cosmos DB, which is specified in the data source definition as follows:
196+
197+
```http
198+
"dataChangeDetectionPolicy": {
199+
"@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
200+
" highWaterMarkColumnName": "_ts"
201+
},
202+
```
203+
204+
Using this policy is highly recommended to ensure good indexer performance.
205+
190206
<a name="DataDeletionDetectionPolicy"></a>
191207

192208
## Indexing deleted documents

articles/search/search-howto-index-cosmosdb-mongodb.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -186,24 +186,6 @@ The purpose of a data change detection policy is to efficiently identify changed
186186

187187
Using this policy is highly recommended to ensure good indexer performance.
188188

189-
<a name="IncrementalProgress"></a>
190-
191-
### Incremental progress and custom queries
192-
193-
Incremental progress during indexing ensures that if indexer execution is interrupted by transient failures or execution time limit, the indexer can pick up where it left off next time it runs, instead of having to reindex the entire collection from scratch. This is especially important when indexing large collections.
194-
195-
To enable incremental progress when using a custom query, ensure that your query orders the results by the `_ts` column. This enables periodic check-pointing that Azure Cognitive Search uses to provide incremental progress in the presence of failures.
196-
197-
In some cases, even if your query contains an `ORDER BY [collection alias]._ts` clause, Azure Cognitive Search may not infer that the query is ordered by the `_ts`. You can tell Azure Cognitive Search that results are ordered by using the `assumeOrderByHighWaterMarkColumn` configuration property. To specify this hint, create or update your indexer as follows:
198-
199-
```http
200-
{
201-
... other indexer definition properties
202-
"parameters" : {
203-
"configuration" : { "assumeOrderByHighWaterMarkColumn" : true } }
204-
}
205-
```
206-
207189
<a name="DataDeletionDetectionPolicy"></a>
208190

209191
## Indexing deleted documents

0 commit comments

Comments
 (0)