@@ -251,52 +251,52 @@ To illustrate, let's consider an example of two indexers, pulling data from two
251
251
252
252
First indexer definition example:
253
253
254
- ```http
255
- POST https://[service name].search.windows.net/indexers?api-version=2023-11-01
256
- {
257
- "name" : " my-blob-indexer1" ,
258
- "dataSourceName" : " my-blob-datasource1" ,
259
- "targetIndexName" : " my-search-index" ,
260
- "parameters" : {
261
- "batchSize" : null ,
262
- "maxFailedItems" : null ,
263
- "maxFailedItemsPerBatch" : null ,
264
- "base64EncodeKeys" : null ,
265
- "configuration" : {
266
- "indexedFileNameExtensions" : " .pdf,.docx" ,
267
- "excludedFileNameExtensions" : " .png,.jpeg" ,
268
- "dataToExtract" : " contentAndMetadata" ,
269
- "parsingMode" : " default"
270
- }
271
- },
272
- "schedule" : { },
273
- "fieldMappings" : [ ]
274
- }
275
- ```
254
+ ```http
255
+ POST https://[service name].search.windows.net/indexers?api-version=2023-11-01
256
+ {
257
+ "name" : " my-blob-indexer1" ,
258
+ "dataSourceName" : " my-blob-datasource1" ,
259
+ "targetIndexName" : " my-search-index" ,
260
+ "parameters" : {
261
+ "batchSize" : null ,
262
+ "maxFailedItems" : null ,
263
+ "maxFailedItemsPerBatch" : null ,
264
+ "base64EncodeKeys" : null ,
265
+ "configuration" : {
266
+ "indexedFileNameExtensions" : " .pdf,.docx" ,
267
+ "excludedFileNameExtensions" : " .png,.jpeg" ,
268
+ "dataToExtract" : " contentAndMetadata" ,
269
+ "parsingMode" : " default"
270
+ }
271
+ },
272
+ "schedule" : { },
273
+ "fieldMappings" : [ ]
274
+ }
275
+ ```
276
276
Second indexer definition that runs in parallel example:
277
277
278
- ```http
279
- POST https://[service name].search.windows.net/indexers?api-version=2023-11-01
280
- {
281
- "name" : " my-blob-indexer2" ,
282
- "dataSourceName" : " my-blob-datasource2" ,
283
- "targetIndexName" : " my-search-index" ,
284
- "parameters" : {
285
- "batchSize" : null ,
286
- "maxFailedItems" : null ,
287
- "maxFailedItemsPerBatch" : null ,
288
- "base64EncodeKeys" : null ,
289
- "configuration" : {
290
- "indexedFileNameExtensions" : " .pdf,.docx" ,
291
- "excludedFileNameExtensions" : " .png,.jpeg" ,
292
- "dataToExtract" : " contentAndMetadata" ,
293
- "parsingMode" : " default"
294
- }
295
- },
296
- "schedule" : { },
297
- "fieldMappings" : [ ]
298
- }
299
- ```
278
+ ``` http
279
+ POST https://[service name].search.windows.net/indexers?api-version=2023-11-01
280
+ {
281
+ "name" : "my-blob-indexer2",
282
+ "dataSourceName" : "my-blob-datasource2",
283
+ "targetIndexName" : "my-search-index",
284
+ "parameters": {
285
+ "batchSize": null,
286
+ "maxFailedItems": null,
287
+ "maxFailedItemsPerBatch": null,
288
+ "base64EncodeKeys": null,
289
+ "configuration": {
290
+ "indexedFileNameExtensions" : ".pdf,.docx",
291
+ "excludedFileNameExtensions" : ".png,.jpeg",
292
+ "dataToExtract": "contentAndMetadata",
293
+ "parsingMode": "default"
294
+ }
295
+ },
296
+ "schedule" : { },
297
+ "fieldMappings" : [ ]
298
+ }
299
+ ```
300
300
301
301
## Check indexer status
302
302
0 commit comments