Actions27
- Collection Actions
- Payload Actions
- Point Actions
- Search Actions
- Vector Actions
Collection → Update Collection
AI-generatedOverview
This node operation updates an existing collection in Qdrant, a vector search engine. It allows users to modify various parameters of a collection such as vectors, optimizers configuration, base parameters, HNSW index configuration, quantization settings, sparse vectors, and strict mode configuration. This operation is useful for maintaining and tuning collections to optimize search performance or adapt to new data requirements without recreating the collection from scratch.
Use Case Examples
- Updating the vector parameters of a collection to improve search accuracy.
- Modifying the HNSW index configuration to optimize indexing speed and search latency.
- Adjusting quantization parameters to balance between storage size and search precision.
Properties
| Name | Meaning |
|---|---|
| Collection Name | Specifies the collection to update, selectable from a list or by entering the name directly. |
| Vectors | JSON object defining vector parameters to update for each named vector in the collection. |
| Optimizers Config | JSON object with custom parameters for optimizers; if not provided, existing settings remain unchanged. |
| Params | Base parameters of the collection to update; if not provided, existing settings remain unchanged. |
| HNSW Config | JSON object with HNSW index parameters to update; if not provided, existing settings remain unchanged. |
| Quantization Config | JSON object with quantization parameters to update; if not provided, existing settings remain unchanged. |
| Sparse Vectors | JSON object defining sparse vector parameters to update for each sparse vector in the collection. |
| Strict Mode Config | JSON object with strict mode configuration parameters to update. |
| Request Options | Settings for request behavior including batching, SSL certificate validation, proxy configuration, and timeout duration. |
Output
JSON
collectionName- The name of the updated collection.vectors- Updated vector parameters of the collection.optimizersConfig- Updated optimizers configuration parameters.params- Updated base parameters of the collection.hnswConfig- Updated HNSW index configuration parameters.quantizationConfig- Updated quantization parameters.sparseVectors- Updated sparse vector parameters.strictModeConfig- Updated strict mode configuration parameters.
Dependencies
- An API key credential for Qdrant REST API access
Troubleshooting
- Ensure the collection name specified exists; otherwise, the update will fail.
- Validate JSON input for vector parameters and configurations to avoid malformed requests.
- Check network settings if using proxy or custom SSL options to prevent connection issues.
- Timeout errors may occur if the server is slow to respond; consider increasing the timeout setting.
Links
- Qdrant Official Documentation - Comprehensive resource for understanding Qdrant collections and configuration options.