Skip to content

Conversation

thecoop
Copy link
Member

@thecoop thecoop commented Oct 3, 2025

Create a version of bbq_hnsw that supports direct IO rescoring, via a generic quantized flat vectors layer.

The HNSW layer is not generic (yet), it still uses a top-level hard-coded ES93Hnsw format, but the raw format used by the quantization layer is generic.

@elasticsearchmachine
Copy link
Collaborator

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

@thecoop
Copy link
Member Author

thecoop commented Oct 3, 2025

HNSW format is not generic because I didn't want to make the formats completely generic - I still wanted top-level named formats in this version. A generic flat format still gives us lots of flexibility, and I think we should explore how far this gets us before introducing extra complexity of multiple generic layers.

@thecoop thecoop force-pushed the bbq_hnsw-disk-rescoring branch from 8545008 to 84e5fc3 Compare October 3, 2025 15:32
@thecoop thecoop requested a review from benwtrent October 3, 2025 15:32
@thecoop thecoop force-pushed the bbq_hnsw-disk-rescoring branch from 84e5fc3 to 207475c Compare October 3, 2025 15:33
@thecoop thecoop marked this pull request as ready for review October 3, 2025 15:33
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Oct 3, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@thecoop thecoop changed the title Add support for direct IO to bbq_hnsw Create a version of bbq_hnsw that supports on_disk_rescoring Oct 3, 2025
@thecoop thecoop changed the title Create a version of bbq_hnsw that supports on_disk_rescoring Create a version of bbq_hnsw that supports on_disk_rescore Oct 8, 2025
Copy link
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good! Some minor comments.

@thecoop thecoop requested a review from benwtrent October 9, 2025 09:32
@thecoop thecoop merged commit 89c58cf into elastic:main Oct 10, 2025
34 checks passed
@thecoop thecoop deleted the bbq_hnsw-disk-rescoring branch October 10, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants