Skip to main content

Delete a search index

DELETE 

/pipelines/:pipeline_id/search-indexers/:indexer_id

Deletes a search index of a pipeline with the index's table and, for a BM25 index, the stored tokenizer. The deletion is permanent, and a search that names the deleted index returns HTTP 400. A default index cannot be deleted: another index of the same kind becomes the default first. A failed index can be deleted.

The request waits up to 10 seconds for document processing on the pipeline to pause, and returns HTTP 409 when processing does not pause in that time.

Permissions. Write on the pipeline.

Default index shows the requests.

Request​

Responses​

The index was deleted. The response has no body.