Update collection parameters

PATCH

Updates the parameters of the specified collection.

Path parameters

collection_namestringRequired

Name of the collection to update

Query parameters

timeoutintegerOptional

Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.

Request

This endpoint expects an object.
vectorsmap from strings to objects or anyOptional

Map of vector data parameters to update for each named vector. To update parameters in a collection having a single unnamed vector, use an empty string as name.

optimizers_configobject or anyOptional

Custom params for Optimizers. If none - it is left unchanged. This operation is blocking, it will only proceed once all current optimizations are complete

paramsobject or anyOptional

Collection base params. If none - it is left unchanged.

hnsw_configobject or anyOptional

HNSW parameters to update for the collection index. If none - it is left unchanged.

quantization_configobject or "Disabled" or anyOptional

Quantization parameters to update. If none - it is left unchanged.

sparse_vectorsmap from strings to objects or anyOptional

Map of sparse vector data parameters to update for each sparse vector.

Response

successful operation

timedoubleOptional

Time spent to process this request

statusstringOptional
resultbooleanOptional