Skip to content

[8.15] Speed up dense/sparse vector stats (#111729) #111787

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

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Aug 12, 2024

Backports the following commits to 8.15:

This change ensures that we don't try to compute stats on mappings that don't have dense or sparse vector fields. We don't need to go through all the fields on every segment, instead we can extract the vector fields upfront and limit the work to only indices that define these types.

Closes elastic#111715
@jimczi jimczi 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 Aug 12, 2024
@elasticsearchmachine elasticsearchmachine merged commit 7a31a4d into elastic:8.15 Aug 12, 2024
15 checks passed
@jimczi jimczi deleted the backport/8.15/pr-111729 branch August 12, 2024 00:58
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 v8.15.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants