Sparse vectors store mostly non-zero weighted dimensions in a high-dimensional space
A sparse vector represents an item in a very high-dimensional feature space where most dimensions are zero and only a relatively small set of dimensions have explicit weights. In information retrieval, those dimensions often correspond to terms or learned token features, with the non-zero values representing their relevance. A dense embedding is different: it usually has a fixed, much smaller dimensionality such as 384, 768, or 1536 and nearly every component contains a value. Structurally, Qdrant represents sparse vectors as indexed values paired with their non-zero weights rather than a full array of mostly-zero numbers. Sparse retrieval is especially good at exact lexical signals such as product names, IDs, rare terms, and technical terminology, while dense vectors capture semantic similarity. A common misconception is that sparse means low-dimensional; sparse vectors are typically high-dimensional but contain few non-zero entries.
Dense example: [0.12, -0.31, 0.44, ...] where most dimensions have values.
Sparse example: indices [12, 41, 9001] with weights [2.1, 0.7, 4.3], leaving the remaining dimensions at zero.
Trade-off: sparse retrieval preserves lexical precision but generally does not provide the same semantic generalization as dense embeddings.
Qdrant supports sparse vectors as a separate vector type. The exact client model names and API syntax can vary by client version, so production code should be checked against the installed Qdrant client/server version.
0-2 years experience
2-5 years experience
5-8 years experience
8+ years experience