Skip to content

Semantic text with legacy format cannot store term vectors#119690

Merged
jimczi merged 2 commits intoelastic:mainfrom
jimczi:semantic_text_stored_legacy
Jan 7, 2025
Merged

Semantic text with legacy format cannot store term vectors#119690
jimczi merged 2 commits intoelastic:mainfrom
jimczi:semantic_text_stored_legacy

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Jan 7, 2025

This change fixes the store option of the underlying sparse vector field for semantic text. For legacy indices, the store option should remain false since changing this option on an existing index is not allowed and that term vectors are already stored in _source.

This change fixes the store option of the underlying sparse vector field for semantic text.
For legacy indices, the store option should remain false since changing this option on an existing index is not allowed and that term vectors are already stored in _source.
@jimczi jimczi added >non-issue :SearchOrg/Relevance Label for the Search (solution/org) Relevance team v9.0.0 v8.18.0 labels Jan 7, 2025
@jimczi jimczi requested a review from Mikep86 January 7, 2025 17:59
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-eng (Team:SearchOrg)

@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@Mikep86 Mikep86 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this, oversight on my part 🤦

@jimczi jimczi added the auto-backport Automatically create backport pull requests when merged label Jan 7, 2025
@jimczi jimczi merged commit 393ea61 into elastic:main Jan 7, 2025
@jimczi jimczi deleted the semantic_text_stored_legacy branch January 7, 2025 19:27
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

jimczi added a commit to jimczi/elasticsearch that referenced this pull request Jan 7, 2025
…19690)

This change fixes the store option of the underlying sparse vector field for semantic text.
For legacy indices, the store option should remain false since changing this option on an existing index is not allowed and that term vectors are already stored in _source.
elasticsearchmachine pushed a commit that referenced this pull request Jan 8, 2025
…119695)

This change fixes the store option of the underlying sparse vector field for semantic text.
For legacy indices, the store option should remain false since changing this option on an existing index is not allowed and that term vectors are already stored in _source.
thekofimensah pushed a commit to thekofimensah/elasticsearch that referenced this pull request Jan 14, 2025
…19690)

This change fixes the store option of the underlying sparse vector field for semantic text.
For legacy indices, the store option should remain false since changing this option on an existing index is not allowed and that term vectors are already stored in _source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >non-issue :SearchOrg/Relevance Label for the Search (solution/org) Relevance team v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants