Skip to content

[8.15] Fix NPE in dense_vector stats (#112720)#112722

Merged
elasticsearchmachine merged 1 commit intoelastic:8.15from
dnhatn:backport/8.15/pr-112720
Sep 10, 2024
Merged

[8.15] Fix NPE in dense_vector stats (#112720)#112722
elasticsearchmachine merged 1 commit intoelastic:8.15from
dnhatn:backport/8.15/pr-112720

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented Sep 10, 2024

Backports the following commits to 8.15:

If a segment doesn't contain any documents with a dense_vector field, 
but the mapping defines it, an NPE can occur when retrieving the
dense_vector stats.

Relates elastic#111729
@dnhatn dnhatn 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 Sep 10, 2024
@elasticsearchmachine elasticsearchmachine merged commit 8080aac into elastic:8.15 Sep 10, 2024
@dnhatn dnhatn deleted the backport/8.15/pr-112720 branch September 10, 2024 23:41
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.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants