Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Aug 28, 2025

When a sparse_vector is excluded from _source, retrieval of empty values was incorrect. We now return an empty map when rehydrating from _source instead of omitting the value.

Closes #133184
Closes #133508
Closes #133508

When a sparse_vector is excluded from _source, retrieval of empty values was incorrect.
We now return an empty map when rehydrating from _source instead of omitting the value.

Closes elastic#133184
Closes elastic#133508
Closes elastic#133508
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Aug 28, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@iverase iverase left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Jim for the quick fix

@jimczi jimczi merged commit f5fc999 into elastic:main Aug 29, 2025
33 checks passed
@jimczi jimczi deleted the sparse_vector_exclude_source_empty_map branch August 29, 2025 11:31
JeremyDahlgren pushed a commit to JeremyDahlgren/elasticsearch that referenced this pull request Aug 29, 2025
…3736)

When a sparse_vector is excluded from _source, retrieval of empty values was incorrect.
We now return an empty map when rehydrating from _source instead of omitting the value.

Closes elastic#133184
Closes elastic#133508
Closes elastic#133508
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.2.0

Projects

None yet

3 participants