Enable early termination for HNSW by default#130564
Conversation
|
Hi @tteofili, I've created a changelog YAML for you. |
…into patience_default
|
🔍 Preview links for changed docs: 🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes. |
🔍 Preview links for changed docs |
ℹ️ Important: Docs version tagging👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version. We use applies_to tags to mark version-specific features and changes. Expand for a quick overviewWhen to use applies_to tags:✅ At the page level to indicate which products/deployments the content applies to (mandatory) What NOT to do:❌ Don't remove or replace information that applies to an older version 🤔 Need help?
|
|
Buildkite benchmark this with so-vector please |
|
Buildkite benchmark this with so-vector please |
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
|
Buildkite benchmark this with so-vector please |
💚 Build Succeeded
This build ran two so-vector benchmarks to evaluate performance impact of this PR. History |
server/src/main/java/org/elasticsearch/search/vectors/PatienceCollectorManager.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java
Outdated
Show resolved
Hide resolved
|
This really helps when there are many segments! |
benwtrent
left a comment
There was a problem hiding this comment.
Verified with the new adaptive based on k, recall is stable.
once you have this PR updated from main to use the adaptive collector :)


This enables early termination for KNN queries running on HNSW by default.
See #127223