This post was most recently updated on October 19th, 2022
Indexers use a predefined data source and index to establish an indexing pipeline that extracts and serializes source data, passing it to a search service for data ingestion.
- Method: POST
- URL: https://[name of the search service].search.windows.net/indexers?api-version=[api version]
- Authorization:
Type – API Key
Vale- [Value of the Primary Key]
Add to- Header - Headers:
Content-Type- “application/json”
API-Key – [value of the api key] - Body:
{
“name”: [name of the indexer] (required for POST),
“description”: null,
“dataSourceName”: [name of the datasource being used],
“targetIndexName”: [index refered to],
“disabled”: null,
“skillsetName” : (required for AI enrichment) “Name of an existing skillset”,
“schedule” : (optional but runs once immediately if unspecified) { … },
“parameters”: {
“batchSize”: null,
“maxFailedItems”: null,
“maxFailedItemsPerBatch”: null,
“base64EncodeKeys”: null,
“configuration”: {}
},
“fieldMappings”: [],
“outputFieldMappings”: [],
“encryptionKey”: null
}
- Response: 201 Created