ld.← ALL FIELD NOTESTHE RELATED CASE STUDY ↗
FIELD NOTES / 09COLLECTIONS   ·   THE QDRANT SERIES

A collection starts with a contract.

Before indexing a single paper, a collection needs a vector configuration that matches the embedding model.

Size and distance

A dense vector field has a configured size and distance function. The vectors written to that field must match its dimensions. Cosine compares direction; dot product also reflects magnitude; Euclidean measures distance between points.

Which metric makes sense depends on the embedding model and its intended use. We used cosine with our Voyage embeddings and checked the model guidance rather than assuming one distance works for every dataset.

Plan model migrations

We once changed embedding models without updating the collection configuration and had to rebuild and re-upload. That experience made vector schema part of the migration plan.

Current Qdrant versions also support adding named vectors to an eligible existing collection, then backfilling the new embeddings. A blue-green collection migration is another option. Either way, the new representation needs compatible data and evaluation.

ANATOMY OF A POINT
IDIdentifier
VECTORLearned representation
PAYLOADMetadata & filters

What lives in a point

A point combines an ID, one or more vectors, and optional payload: the metadata needed to display and filter results.

Continue the conversation

Further reading

KEEP READING / 08When exact words aren’t enough.

Another note from the notebook.