Skip to main content

Remove a distance index

DELETE 

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

Removes the distance index of one distance strategy from a vector index. The removal is concurrent, so searches and document processing continue. From the next request, a search with that distance strategy returns HTTP 400. A vector index without any distance index cannot be searched, so the last distance index of a vector index that searches use is replaced before it is removed.

Permissions. Write on the pipeline.

Distance index shows the request.

Request​

Responses​

The distance index was removed. The response has no body.