Skip to main content
PUT
PUT /v1/searchIndexes

Update a Search Index

Create a search index or update it if it already exists, using PUT /v1/searchIndexes with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use PATCH with a JSON Patch array and the application/json-patch+json content type, as shown in the PATCH examples below.

Body Parameters

string
required
Name of the search index. Must be unique within the parent search service.
string
required
Fully qualified name of the parent SearchService, for example elasticsearch_sample.
array
required
Array of field objects defining the index schema.
string
Human-readable display name for the search index.
string
Description of the search index in Markdown format.
array
Array of owner references (users or teams) to assign to the search index.
array
Fully qualified names of the domains to assign for governance purposes.
array
Array of classification tags to apply to the search index.
object
Custom property values defined by your organization’s metadata schema.
PUT /v1/searchIndexes

Returns

Returns the updated search index object with the new version number.

Response

string
Unique identifier for the search index (UUID format).
string
Search index name.
string
Fully qualified name in format service.indexName.
string
Updated description.
number
Incremented version number.

Error Handling