Skip to content

Conversation

@ChrisHegarty
Copy link
Contributor

This commit specialises the wrapping of vector scorer iterator for KnnVectorValues.DocIndexIterator in ExitableDirectoryReader.

This change is necessary now since a new assert in Lucene catches this scenario, since DocIndexIterator is expected in several places which we were previously not exposing. DocIndexIterator can be optimized more than DocIdSetIterator.

closes #131610

@ChrisHegarty ChrisHegarty requested a review from thecoop July 21, 2025 13:19
@ChrisHegarty ChrisHegarty added >bug :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch lucene_10_3_dev Tracking issue that arise during the development of Lucene 10.3 v9.2.0 labels Jul 21, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@ChrisHegarty
Copy link
Contributor Author

While there are still many failures, this PR improves things quite a bit. And anyway those failures might be preexisting. Merging.

@ChrisHegarty ChrisHegarty merged commit 26402b2 into elastic:lucene_snapshot Jul 21, 2025
24 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug lucene_10_3_dev Tracking issue that arise during the development of Lucene 10.3 :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants