Skip to content

Commit 07b5dc8

Browse files
authored
Update search-howto-index-changed-deleted-blobs.md
Removing indentation from code
1 parent b654db9 commit 07b5dc8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/search/search-howto-index-changed-deleted-blobs.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,18 @@ For this deletion detection approach, Cognitive Search depends on the [native bl
7272
An example of using REST API to set soft deletion detection policy on the data source is shown below.
7373

7474
```http
75-
PUT https://[service name].search.windows.net/datasources/blob-datasource?api-version=2020-06-30-Preview
76-
Content-Type: application/json
77-
api-key: [admin key]
78-
{
79-
"name" : "blob-datasource",
80-
"type" : "azureblob",
81-
"credentials" : { "connectionString" : "<your storage connection string>" },
82-
"container" : { "name" : "my-container", "query" : null },
83-
"dataDeletionDetectionPolicy" : {
84-
"@odata.type" :"#Microsoft.Azure.Search.NativeBlobSoftDeleteDeletionDetectionPolicy"
85-
}
86-
}
75+
PUT https://[service name].search.windows.net/datasources/blob-datasource?api-version=2020-06-30-Preview
76+
Content-Type: application/json
77+
api-key: [admin key]
78+
{
79+
"name" : "blob-datasource",
80+
"type" : "azureblob",
81+
"credentials" : { "connectionString" : "<your storage connection string>" },
82+
"container" : { "name" : "my-container", "query" : null },
83+
"dataDeletionDetectionPolicy" : {
84+
"@odata.type" :"#Microsoft.Azure.Search.NativeBlobSoftDeleteDeletionDetectionPolicy"
85+
}
86+
}
8787
```
8888

8989
1. [Run the indexer](/rest/api/searchservice/run-indexer) or set the indexer to run [on a schedule](search-howto-schedule-indexers.md). When the indexer runs and processes a blob having a soft delete state, the corresponding search document will be removed from the index.

0 commit comments

Comments
 (0)