A Quarkus extension for Qdrant, the open-source vector database. It wraps the Qdrant REST API as a lightweight alternative to the official Java gRPC-based client.
Add the dependency to your project:
<dependency>
<groupId>io.quarkiverse.qdrant</groupId>
<artifactId>quarkus-qdrant</artifactId>
<version>${quarkus-qdrant.version}</version>
</dependency>Inject the client and start using it:
@Inject
QdrantClient qdrant;
qdrant.createCollection("docs").vectorSize(384).distance("Cosine").execute();
qdrant.upsert("docs").point(new PointStruct(id, vector, payload)).execute();
List<ScoredPoint> results = qdrant.search("docs").vector(queryVec).limit(10).execute();In dev mode, a Qdrant container starts automatically via Dev Services.
The documentation for this extension is available at https://docs.quarkiverse.io/quarkus-qdrant/dev/index.html.
Contributions are welcome. Check the Contributing Guide to get started.