Skip to main content

Assign an existing index config to an existing collection.

PUT 

/collections/:namespace/:collection/indexes/:index

Assigns an index config that exists in the same namespace as the collection to the collection. All current and future documents of the collection will asynchronously be added to the index and will eventually be available for search through the index specific search endpoint /collections/{namespace}/{collection}/indexes/{index}/search.

Request

Responses

Index successfully assigned.