Skip to content

Conversation

@DonalEvans
Copy link
Contributor

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…ngs (elastic#137055)

When creating an inference endpoint, if the inference ID is used in
incompatible semantic_text mappings, prevent the endpoint from
being created.

Closes elastic#124272

- Check if existing semantic text fields have compatible model settings
- Update and expand test coverage for the new behaviour
- Improve existing test InferenceServiceExtension implementations
- Move SemanticTextInfoExtractor from xpack.core.ml.utils to
  xpack.inference.common

(cherry picked from commit 635fda1)

# Conflicts:
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/utils/SemanticTextInfoExtractor.java
#	x-pack/plugin/inference/qa/test-service-plugin/src/main/java/org/elasticsearch/xpack/inference/mock/TestDenseInferenceServiceExtension.java
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/action/TransportDeleteInferenceEndpointAction.java
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/action/TransportPutInferenceModelAction.java
#	x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/LocalStateInferencePlugin.java
@DonalEvans DonalEvans merged commit cbea187 into elastic:8.19 Nov 5, 2025
23 checks passed
@DonalEvans DonalEvans deleted the backport/8.19/pr-137055 branch November 5, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants