Qdrant Query

Qdrant Query

Certified

Query points in a Qdrant collection

Searches for nearest neighbors in a Qdrant collection using a vector or the vector of an existing point ID. Supports filters and score threshold.

yaml
type: io.kestra.plugin.qdrant.Query

Search for nearest vectors and return inline rows

yaml
id: qdrant_query
namespace: company.team

tasks:
  - id: search_points
    type: io.kestra.plugin.qdrant.Query
    host: "{{ secret('QDRANT_HOST') }}"
    apiKey: "{{ secret('QDRANT_API_KEY') }}"
    tlsEnabled: true
    collectionName: docs
    vector: [0.05, 0.61, 0.76, 0.74]
    topK: 5
    withPayload: true
    fetchType: FETCH

Search using an existing point ID and store results to Kestra storage

yaml
id: qdrant_query_by_id
namespace: company.team

tasks:
  - id: search_by_id
    type: io.kestra.plugin.qdrant.Query
    host: "{{ secret('QDRANT_HOST') }}"
    apiKey: "{{ secret('QDRANT_API_KEY') }}"
    tlsEnabled: true
    collectionName: docs
    vectorId: 1
    topK: 10
    fetchType: STORE
Properties

Collection name

The name of the collection to search in.

The host of the Qdrant instance

The hostname or IP address of the Qdrant gRPC endpoint.

API key

The API key for authentication with Qdrant.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
DefaultSTORE
Possible Values
STOREFETCHFETCH_ONENONE

Select fetch behavior

Output mode for query results: FETCH returns all rows inline, FETCH_ONE returns the first row, and STORE writes all rows to Kestra storage as an ION file and returns the URI (default: STORE).

Filter criteria

Filter map to restrict the search space before ranking.

Limit results

Maximum number of nearest points to return (default: 10, min: 1, max: 1000). Takes precedence if 'topK' is also set.

Default6334

The port of the Qdrant instance

The gRPC port of the Qdrant instance (default 6334).

Score threshold

Optional minimal similarity score threshold for returning points.

Defaultfalse

Enable TLS

Whether to use TLS/SSL for secure gRPC connection.

Top K results

Maximum number of nearest points to return (default: 10, min: 1, max: 1000). Alias for 'limit'; overridden if 'limit' is also specified.

Query vector

Dense vector to search for nearest neighbors. Mutually exclusive with 'vectorId'.

Point ID to use as query vector

Existing point ID whose vector should be used for searching. Mutually exclusive with 'vector'.

Vector name

Name of the vector space to target when querying a collection configured with named vectors.

Defaulttrue

Include payload

Whether to include point payload metadata in the result (default: true).

Defaultfalse

Include vectors

Whether to include vector embeddings in the result (default: false).

Map containing the first row of fetched data.

Only populated if using fetchType=FETCH_ONE.

List containing the fetched data.

Only populated if using fetchType=FETCH.

The number of fetched rows.

Formaturi

Kestra's internal storage URI of the stored data.

Only populated if using fetchType=STORE.