UPDATEqdrant v1.20.3
Qdrant v1.20.3: sparse search 1.7–4.9x faster, WAL fixes
Sparse vector search is 1.7–4.9x faster, and BM25 scans are also sped up. Filters now run the condition that rejects the most points first. The release also fixes WAL delta top-ups, shard transfers and snapshot restores that could leave a replica silently stale.
What changed in this release
30 checkpoints in 6 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.
Sparse and full-text search
- The sparse batch scan compares each score with the top-k threshold before the zero check, measured at 1.7–4.9x (#11678)
- BM25 scans are also sped up, so full-text queries get faster too (#11736)
- A full-text filter with words that are not in the index no longer scans every point (#11603)
- Full-text filters on cold on-disk indexes run faster and hold less memory (#11575)
Filter order
- must_not conditions are sorted most-likely-first and a point stops at the first one it matches (#11737)
- The two sides of a filter are checked in the order that rejects the larger share of points (#11739)
- A condition on an unindexed payload field parses only the field being checked, measured at about 2x (#11481)
Writes and segment loading
- Overwriting a point in an optimized segment no longer reads the old point from disk (#11675)
- Opening a segment loads only the part of the flag files it uses (#11416)
- A payload index that already exists skips consensus, so the request no longer fails when consensus is unavailable (#11761)
WAL and shard recovery
- A WAL delta transfer no longer hands a replica an operation the other replicas never received (#11634, #11691)
- An update cancelled before its WAL write is no longer skipped during delta recovery (#11588)
- The WAL is no longer truncated past operations a snapshot or shard transfer still needs (#11707)
- Deleted points no longer come back after a shard snapshot transfer (#11612)
- A shard restored from a snapshot runs its optimizers right away instead of waiting for the next write (#11755)
- Collection snapshots taken while creating a shard key or starting resharding can be restored (#11705)
- Persisted proxy segments, announced in 1.19.2, are actually enabled in this release (#11613)
Cluster and consensus
- A removed peer learns that it was removed and stops starting elections (#11595)
- A peer rejects Raft messages meant for a previous peer at its own address (#11562)
- Collection data is no longer deleted after moving a standalone node into a cluster (#11557)
- Collection info warns when the replication factor is higher than the number of peers (#11488)
- Starting resharding on a single-node cluster is rejected (#11631)
Query correctness and security edges
- Filters that combine should with min_should no longer return points outside min_should (#11606)
- Ordered queries no longer drop rows when the order_by field holds several values (#11742)
- Grouped queries no longer panic when groups are spread unevenly over segments (#11735)
- Writes no longer hang when an optimization is stopped during product quantization (#11752)
- The memory regression in broad filters on cold on-disk payload indexes is fixed (#11560)
- Payloads nested deeper than 100 levels are rejected (#11706, #11710)
- Snapshot restores validate sparse indexes and product quantization centroid counts (#11818, #11689)
- HTTPS snapshot restores with a private certificate now need tls.ca_cert configured (#11713)
On this page
ContextSparse scans and silently stale replicas are the two bottlenecks here
On hybrid search that pairs keywords with vectors, slow queries sit on the sparse side: a sparse query walks its candidates and runs a test on each one before the top-k comparison starts. Rewriting the query rarely helps, and changing the model means recomputing every vector.
Multi-replica clusters fail more quietly. After an upgrade, a migration or a node swap one replica falls behind, searches still return, and only a later diff shows the rows disagree. Nothing errors or alerts, so the recovery path itself must stop dropping operations.
This release works two paths. Search: the scan order for sparse and BM25 lookups, the order filters are checked in, and the memory cold on-disk full-text indexes hold. Write and recovery: upserts, segment opens, WAL delta top-ups, shard transfers, snapshot restores, and validation at the restore entry point.
The inventory groups the changes by the path you touch: sparse and full-text search, filter order, writes and segment loading, WAL and shard recovery, cluster and consensus, query and security edges. The chart below spreads them over those 6 groups, so the longest bar shows where the fixes went; the sections below take search and recovery one by one, then the two tables.
Sparse search runs 1.7–4.9x faster and BM25 scans change with it
- Threshold first: each score is compared with the top-k threshold before the zero check, measured at 1.7–4.9x with unchanged results (#11678).
- BM25 scans are also sped up (#11736); measure that path separately from sparse search during acceptance.
- Replay a fixed top-k set on your own sparse model and compare P99 and rows. Our view, not independently tested: 4.9x is the ceiling, not the average.
Filters run the conditions that reject the most points first
- must_not conditions now run most-likely-first instead of least-likely-first, so a point stops at the first condition it matches (#11737).
- Both filter sides are checked in the order that rejects more points, using the estimates the optimizer already keeps (#11739).
- Conditions on unindexed payload fields parse only the key being checked, about 2x faster, with the input still validated (#11481).
Overwrites stop reading the old point and segment opens read only what they need
- Overwrites in optimized segments skip the disk read of the old point, one read less per point when you rebuild vectors in bulk (#11675).
- Segment opens load only the flag file parts they use, which matters most when many segments return at once (#11416).
- A payload index that already exists skips consensus, so the request no longer fails while consensus is down (#11761).
WAL delta top-ups and shard transfers stop leaving replicas stale
- A delta transfer no longer hands a replica an operation the others never received, so sequences match after the top-up (#11634, #11691).
- Ack pins are read under the WAL lock, so the WAL is not truncated past operations a snapshot or transfer needs (#11707).
- An update cancelled before its WAL write is no longer skipped in delta recovery, which used to leave a replica on an old value (#11588).
Membership changes no longer spin into endless elections
- A removed peer learns about its removal from consensus and stops starting elections that keep the cluster busy (#11595).
- A peer rejects Raft messages meant for a previous peer at its address instead of panicking consensus (#11562).
- Collection info warns when the replication factor is higher than the peer count, visible while you create it (#11488).
Query results and restores reject a few edges that failed quietly
- should with min_should stops returning points outside min_should, and ordered queries stop dropping rows (#11606, #11742).
- Payloads nested deeper than 100 levels are rejected instead of becoming unreadable and crash-looping a node (#11706, #11710).
- Restores validate sparse indexes and PQ centroid counts, and private-certificate HTTPS snapshot URLs need tls.ca_cert (#11818, #11689, #11713).
All three are working on filters and WAL, from different ends
All three vendors move these pieces this round, each differently. Put the six directions next to comparable tools and the question gets concrete: sparse search gets faster by testing less or later, filters by touching fewer points or reordering checks, replicas by making the ack point, the truncation point and the delta start agree.
Multiples are only comparable within one vendor and one query set. Qdrant gives a sparse-search range on public models, so the table has no three-way number. For a speed conclusion, run your own data.
Bottom line: if sparse search or filter latency is the bottleneck, take the upgrade and measure it on your own model; if replicas or restores are the pain, all three fixed related paths, so find which one you hit first.
| Direction | Qdrant v1.20.3 | Weaviate v1.41.0 | Milvus v3.0.7 |
|---|---|---|---|
| Sparse and keyword search | Top-k threshold first, measured at 1.7–4.9x; BM25 scans too (#11678, #11736) | BM25F scoring; hybrid rerank and paging fixed (#13404, #13405) | BM25 via a built-in function; MATCH pushed to element filters (#55543) |
| Filter order | Both must_not and the two sides ordered by rejection; unindexed fields about 2x (#11737, #11739, #11481) | Contains keys built once per value; roaring keys hashed once per segment (#13554, #13541) | Regex filters build candidates with an FMINDEX, then RE2 verifies (#55608) |
| Cold data and memory | Cold full-text filters leaner; v1.20.1 broad-condition regression fixed (#11575, #11560) | Slow-query records bounded; filter leaves that never log stop paying for timing (#13553, #13769) | Filter parse cache bounded by total and per-entry size (#55846) |
| Writes and segment loading | Overwrites skip the old point; segment opens load only needed flags (#11675, #11416) | Shards walked once for all startup rebuilds (#13612, #13400) | Index build pipelined under one memory budget (#55503) |
| WAL and replica catch-up | Delta top-ups, ack pins and truncation fixed (#11634, #11707, #11588) | Damaged RoaringSet WAL lengths error out (#13873, #13869) | Woodpecker v0.1.49 fixes a replay stall (#55722, #55824) |
| Snapshots and restores | Restores validate sparse indexes and PQ centroids (#11818, #11689, #11557) | Backups carry role assignments; pre-v1.34 snapshots discarded (#13481, #13545) | Import validates target schema; StorageV2 segments accepted (#55591, #55499) |
v1.20.2 spent its changes on batch search and graph defaults; this one moves to sparse and recovery
v1.20.3 shifts the focus from v1.20.2's batch search to sparse scans and replica recovery. If you are still on v1.20.2, v1.20.2 shipped three improvements and one fix: batch searches repeating one filter on one vector, a return to the classic HNSW build so ef_construct tunes graph quality, and config loading that keeps a downgrade from 1.21 working.
Read the table along three lines you will cross: queries, cluster membership, and upgrade edges. Each column comes from that version's own release note, and a row answers only what that release did on that line.
Bottom line: going straight from v1.20.2 to v1.20.3, the third row needs work first. If your snapshot URLs are HTTPS with a private certificate, set tls.ca_cert before you start; the first two rows need no configuration change.
| Feature | v1.20.2 | v1.20.3 |
|---|---|---|
| Batch and filtered queries | Batch searches with one filter on one vector are faster (#11533) | Sparse search 1.7–4.9x, filters ordered by rejection, unindexed fields about 2x (#11678, #11737, #11481) |
| Cluster membership | A peer joining right after a leader election no longer fails (#11408) | Removed peers stop electing; misdelivered Raft messages rejected (#11595, #11562) |
| Upgrade and downgrade edges | Configs without ef_construct load, so a downgrade from 1.21 works (#11555) | Private-certificate HTTPS restores need tls.ca_cert; payloads past 100 levels rejected (#11713, #11706) |
Release analysisWho gains immediately, who can wait, and what to do first
Teams whose main query path is sparse search or BM25 gain most: the change is to scan order, identical queries return identical rows, and the difference shows up right after the upgrade. Teams that have seen replicas disagree rank second, because those fixes only surface at the next snapshot, migration or membership change. Single-node clusters on dense vectors without full-text indexes can wait a window.
Across vendors, Weaviate v1.41.0 spends its round on filter operators and backup reliability, Milvus v3.0.7 on regex filtering, WAL replay and snapshot import validation, and only Qdrant publishes a sparse-search multiple in the notes quoted here. The forms differ: Milvus builds sparse vectors in a built-in function, Qdrant indexes them directly, Weaviate scores with BM25F. Our view, not independently benchmarked: do not pick a product by counting filled cells.
Our view, not independently benchmarked: upgrade one query replica first, replay the same top-k queries with the same model, compare returned rows and P99 latency, then roll the rest. For the recovery fixes a clean error log is not acceptance; wait until a real shard transfer or snapshot restore has run.
Two facts for whoever takes over: the gain depends on the model and lands inside the 1.7–4.9x range, so keep the ceiling out of your SLA; and two edges can break old requests, a private-certificate HTTPS restore needs tls.ca_cert, and payloads nested past 100 levels are rejected.
Coming from v1.20.1 rather than v1.20.2, you can skip v1.20.2, but count the broad-condition memory regression that this release fixes (#11560) in the move.
AIGenLab views
Not independently testedThe sparse speedup depends on the model and the query shape; 4.9x is the top of a range and does not belong in a latency promise.
The release note states a 1.7–4.9x range and the PR describes tests on public sparse models (our view, not independently benchmarked).
Upgrading one query replica first and replaying the same queries shows the real effect of the scan-order change better than a straight rolling upgrade.
Our view: a fixed query set can compare returned rows and P99 latency on the search side, while the recovery fixes only appear during a snapshot or migration (our view, not independently benchmarked).
The three vendors work on the same paths but not in the same form, so a filled cell should not decide a product choice.
Each vendor's own release note and docs; Milvus builds sparse vectors with a built-in function while Qdrant indexes sparse vectors directly (our view, not independently benchmarked).
Questions
Does Qdrant v1.20.3 need configuration changes for the sparse search speedup?
Which requests can fail right after the upgrade?
Is this release worth it on a single-node cluster?
How do I verify the replica fixes after upgrading?
Official sources and scope
- Qdrant v1.20.3 release notes The version number, release date, every improvement and fix in this release, and the security-boundary wording
- qdrant/qdrant PR #11678 The sparse batch scan testing the top-k threshold before the zero check, and how the 1.7–4.9x figure was measured
- qdrant/qdrant PR #11737 Per-point filter checks switching must_not conditions from least-likely-first to most-likely-first
- qdrant/qdrant PR #11707 WAL ack pins being read under the WAL lock so operations needed by a snapshot or shard transfer are not truncated
- Qdrant v1.20.2 release notes The v1.20.2 side of the vertical comparison: three improvements and one fix
- Weaviate v1.41.0 release notes Weaviate v1.41.0 entries on filter operators, WAL record validation, backups and snapshots
- Weaviate keyword (BM25) search docs Weaviate treating keyword search, BM25 and sparse vector search as one path scored by BM25F
- Milvus v3.0.7 release notes Milvus v3.0.7 entries on FMINDEX regex filtering, WAL replay, snapshot import validation and index building
- Milvus full text search docs Milvus running BM25 through a built-in function that turns text into sparse vectors before scoring
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.