Qdrant icon

Qdrant

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

Search → Query Batch Points

AI-generated

Overview

This node operation allows users to perform batch search queries on a specified collection within Qdrant, a vector search engine. It supports executing multiple search requests in a single batch, which can include vector searches, ID searches, or complex queries. This is useful for scenarios where multiple search queries need to be processed efficiently in one go, such as retrieving multiple sets of points from a collection based on different criteria.

Use Case Examples

  1. A user wants to query multiple vectors in a collection to find the nearest points for each vector simultaneously.
  2. Performing a batch of ID-based searches to retrieve specific points from a collection.
  3. Executing complex queries in batch to filter points based on payload conditions and vector similarity.

Properties

Name Meaning
Collection Name Specifies the target collection in Qdrant where the batch search queries will be executed. It can be selected from a list of existing collections or entered by name.
Searches A JSON array containing multiple search requests to be performed in batch. Each request can be a vector search, ID search, or a complex query.
Consistency Defines the read consistency guarantees for the batch query operation. Options include Majority, Quorum, and All, which determine how many replicas must respond for the read to be considered successful.
Timeout Overrides the global timeout for this batch query request, specified in seconds.
Request Options Additional settings for the request such as batching controls (items per batch and batch interval), SSL certificate validation bypass, HTTP proxy configuration, and HTTP request timeout in milliseconds.

Output

JSON

  • results - Array containing the results of each individual search request in the batch.
  • status - Status of the batch query operation, indicating success or failure.
  • metadata - Additional metadata related to the batch query response, such as timing or consistency details.

Dependencies

  • Qdrant REST API
  • An API key credential for Qdrant authentication

Troubleshooting

  • Ensure the collection name is correct and exists in Qdrant to avoid errors related to missing collections.
  • Validate the JSON format of the 'Searches' input to prevent parsing errors.
  • Check network connectivity and proxy settings if requests fail to reach the Qdrant server.
  • If SSL certificate validation is failing, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Timeout errors can occur if the server takes too long to respond; adjust the timeout settings accordingly.

Links

  • Qdrant Documentation - Official documentation for Qdrant vector search engine, useful for understanding query formats and API usage.

Discussion