Qdrant icon

Qdrant

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

Vector → Delete Vectors

AI-generated

Overview

This node operation deletes vectors from a specified collection in Qdrant, a vector search engine. It is useful for managing and cleaning up vector data by removing unwanted or obsolete vectors based on vector names, point IDs, or filters. For example, a user can delete specific vectors by providing their names or delete points that meet certain conditions using filters.

Use Case Examples

  1. Deleting vectors by specifying their names in a collection.
  2. Deleting points by their IDs from a collection.
  3. Using filters to delete only points that satisfy certain conditions in a collection.

Properties

Name Meaning
Collection Name Specifies the name of the collection from which vectors will be deleted. It can be selected from a list or entered by name.
Vector A JSON list of vector names to delete from the collection.
Point IDs A JSON list of point IDs to select for deletion.
Filter A JSON object defining conditions to select points for deletion.
Shard Key A JSON value specifying which shards to look for the points. If not specified, all shards are searched.
Wait Boolean flag indicating whether to wait for the deletion changes to complete before proceeding.
Ordering Defines the ordering guarantees for the delete operation, affecting consistency and performance.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates whether the delete operation was successful.
  • deletedCount - Number of vectors or points deleted.
  • details - Additional details about the delete operation result.

Dependencies

  • Qdrant REST API

Troubleshooting

  • Ensure the collection name is correct and exists in Qdrant.
  • Verify that the vector names or point IDs provided are valid and exist in the collection.
  • Check network connectivity and API credentials for accessing Qdrant.
  • If using filters, ensure the filter JSON is correctly formatted and valid.
  • Timeout errors may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.

Links

Discussion