moonrag 0.1

vector store ยท qdrant

moonqdrant

A Qdrant vector store for moonrag, over Qdrant's REST API. It is a module of its own, so a project that does not use Qdrant does not build it.

moon add moonbitstack/moonqdrant

Native only: it opens sockets, so it is built for native and skipped for js and wasm.

One line, like the other stores

It implements the same VectorStore contract as the in-memory store, so a retriever does not know which store it is reading:

let store = @moonqdrant.QdrantStore::new("http://127.0.0.1:6333", embedder, dimension=256)
let store : &@moonrag.VectorStore = store

create builds the collection or class the server needs and is safe on every start; the standard cases run against a live Qdrant server in CI.

The score is the same cosine

Like SQLite and MySQL, this store reads the vectors back and recomputes the cosine in this process with the same cosine_similarity and the same Filter::matches every other backend uses โ€” so all backends agree on what a match is and how a result ranks, rather than each trusting its server.