Home > Azure > Azure API > AZURE COGNITIVE SEARCH: Create Indexer through POSTMAN

AZURE COGNITIVE SEARCH: Create Indexer through POSTMAN

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
This Article is TAGGED in , , . BOOKMARK THE permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">