Qdrant icon

Qdrant

Official n8n node to interface with Qdrant - https://qdrant.tech

Vector → Update Vectors

AI-generated

Overview

This node operation updates vectors in a specified collection within the Qdrant vector search engine. It allows users to modify existing points by providing their IDs and new vector values. This is useful for maintaining and refining vector data in applications such as recommendation systems, similarity searches, or machine learning models that rely on vector embeddings.

Use Case Examples

  1. Updating user preference vectors in a recommendation system to reflect recent behavior changes.
  2. Modifying image feature vectors in a collection to improve search accuracy after reprocessing images.

Properties

Name Meaning
Collection Name Specifies the target collection where vectors will be updated. Can be selected from a list or entered by name.
Points A JSON array of points to update, each containing an ID and the new vector values.
Shard Key Optional JSON to specify which shards to search for the points; if omitted, all shards are searched.
Wait Boolean flag indicating whether to wait for the update operation to complete before proceeding.
Ordering Defines the ordering guarantees for the update operation, affecting consistency and performance.

Output

JSON

  • success - Indicates whether the update operation was successful.
  • updatedPoints - Details of the points that were updated, including their IDs and new vector data.

Dependencies

  • Requires Qdrant REST API credentials for authentication and access.

Troubleshooting

  • Ensure the collection name exists and is accessible; otherwise, the update will fail.
  • Validate the points JSON format to include valid IDs and vectors; malformed input will cause errors.
  • Check network connectivity and API credentials if requests time out or are unauthorized.
  • If using shard keys, verify they are correct to avoid missing points during update.

Links

  • Qdrant Documentation - Official documentation for Qdrant vector search engine, including API references and usage guides.

Discussion