Skip to content

Enable early termination for HNSW by default #130564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tteofili
Copy link
Contributor

@tteofili tteofili commented Jul 3, 2025

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

@elasticsearchmachine
Copy link
Collaborator

Hi @tteofili, I've created a changelog YAML for you.

@tteofili
Copy link
Contributor Author

tteofili commented Jul 3, 2025

openai_vector comparison:
4886... is with early_termination enabled
4718... is with early termination disabled (current default)

Screenshot 2025-07-03 at 15 54 42
Screenshot 2025-07-03 at 15 54 51

Copy link
Contributor

github-actions bot commented Jul 3, 2025

🔍 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.

Copy link
Contributor

github-actions bot commented Jul 3, 2025

🔍 Preview links for changed docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants