Skip to content

Conversation

@mayya-sharipova
Copy link
Contributor

Backports the following commits to 9.2:

- For flush, vectors are now reordered according to sortMap before building the GPU index,
 ensuring that HNSW graph node ordinals match the sorted document order.
 - Merge on the other hand doesn't require explicit sortMap handling since Lucene's MergedVecto
 utilities apply docMaps internally.
 - Enhanced tests with both approximate and exact KNN searches to validate sorting correctness.
@mayya-sharipova mayya-sharipova added :Search Relevance/Vectors Vector search >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Nov 18, 2025
@mayya-sharipova
Copy link
Contributor Author

@elasticsearchmachine test this please

@mayya-sharipova
Copy link
Contributor Author

@elasticsearchmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit 645864b into elastic:9.2 Nov 19, 2025
34 checks passed
@mayya-sharipova mayya-sharipova deleted the backport/9.2/pr-138138 branch November 19, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.2.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants