Skip to main content

Set the default search index

PUT 

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

Makes a ready search index the default index of its kind: a vector index becomes the default vector index, and a full-text or BM25 index becomes the default text index. Searches and agent placeholders that name no index use the new default from the next request. The previous default stays in the pipeline and can then be deleted. The request has no body.

Permissions. Read and write on the pipeline.

Default indexes describes the defaults.

Request​

Responses​

The index is the default of its kind. The body is the pipeline, with the index's identifier in default_vector_embedding_index_id or default_text_search_index_id.