Skip to content

[8.18] refactor(semantic_text): fail early in pre-8.11 indices (#133080)#133582

Merged
kderusso merged 3 commits intoelastic:8.18from
kderusso:backport/8.18/pr-133080
Aug 27, 2025
Merged

[8.18] refactor(semantic_text): fail early in pre-8.11 indices (#133080)#133582
kderusso merged 3 commits intoelastic:8.18from
kderusso:backport/8.18/pr-133080

Conversation

@kderusso
Copy link
Member

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

* fix(semantic_text): index underlying dense_vector field in older indices

* Update docs/changelog/133080.yaml

* [CI] Auto commit changes from spotless

* update msg, change versions, add ut

* indent

* remove todo

* [CI] Auto commit changes from spotless

* update msg

* [CI] Auto commit changes from spotless

* add densevectormapper indexed ut

* [CI] Auto commit changes from spotless

* fix ut

* undo accidental ut removal

* [CI] Auto commit changes from spotless

* Update docs/changelog/133080.yaml

Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>

* remove sparse_vector exception change

* [CI] Auto commit changes from spotless

* reverting most of the stuff

* removing unused import, rename test

* [CI] Auto commit changes from spotless

* syntax

* revisit changelog

* revisit changelog

* Update docs/changelog/133080.yaml

Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>

* Update x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapper.java

Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>

* changelog format

* fix UT

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
Co-authored-by: Kathleen DeRusso <kathleen.derusso@elastic.co>
(cherry picked from commit 8f41a4b)

# Conflicts:
#	server/src/test/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapperTests.java
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapper.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java
@kderusso kderusso enabled auto-merge (squash) August 26, 2025 19:48
@kderusso kderusso merged commit 1917851 into elastic:8.18 Aug 27, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants