Table of Contents

Class QdrantOptions

Namespace
Mythosia.VectorDb.Qdrant
Assembly
Mythosia.VectorDb.Qdrant.dll

Configuration options for QdrantStore.

public class QdrantOptions
Inheritance
QdrantOptions
Inherited Members

Properties

AdditionalPayloadIndexes

Additional payload fields to index when the collection is ensured.

public IList<QdrantIndexOption> AdditionalPayloadIndexes { get; set; }

Property Value

IList<QdrantIndexOption>

ApiKey

Optional API key for authentication.

public string? ApiKey { get; set; }

Property Value

string

AutoCreateCollection

When true (default), the collection is automatically created on first upsert if it does not already exist. When false, the collection must already exist or an exception is thrown.

public bool AutoCreateCollection { get; set; }

Property Value

bool

CollectionName

Qdrant collection name. This is the physical container for all vector data. For logical isolation use metadata filtering via VectorFilter.Where(). Required.

public string CollectionName { get; set; }

Property Value

string

Dimension

Embedding vector dimension. Must match the dimension used by the embedding provider. Required (must be greater than 0).

public int Dimension { get; set; }

Property Value

int

DistanceStrategy

Distance function for similarity search. Default: Cosine.

public QdrantDistanceStrategy DistanceStrategy { get; set; }

Property Value

QdrantDistanceStrategy

Host

Qdrant server host. Default: "localhost".

public string Host { get; set; }

Property Value

string

HybridFusionStrategy

Native server-side fusion strategy for hybrid search queries. Default: Rrf.

public QdrantHybridFusionStrategy HybridFusionStrategy { get; set; }

Property Value

QdrantHybridFusionStrategy

Port

Qdrant gRPC port. Default: 6334.

public int Port { get; set; }

Property Value

int

UseTls

Whether to use TLS for the gRPC connection. Default: false.

public bool UseTls { get; set; }

Property Value

bool

Methods

Validate()

Validates the options and throws ArgumentException if invalid.

public void Validate()