File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ pr : 138644
2+ summary : " Fix: add missing `vector_similarity_support` in InferenceFeatures"
3+ area : Search
4+ type : bug
5+ issues : []
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ public class InferenceFeatures implements FeatureSpecification {
4242 private static final NodeFeature SEMANTIC_TEXT_HIGHLIGHTER_DISKBBQ_SIMILARITY_SUPPORT = new NodeFeature (
4343 "semantic_text.highlighter.bbq_and_similarity_support"
4444 );
45+ private static final NodeFeature SEMANTIC_TEXT_HIGHLIGHTER_VECTOR_SIMILARITY_SUPPORT = new NodeFeature (
46+ "semantic_text.highlighter.vector_similarity_support"
47+ );
4548 private static final NodeFeature TEST_RERANKING_SERVICE_PARSE_TEXT_AS_SCORE = new NodeFeature (
4649 "test_reranking_service.parse_text_as_score"
4750 );
@@ -102,6 +105,7 @@ public Set<NodeFeature> getTestFeatures() {
102105 SEMANTIC_TEXT_FIELDS_CHUNKS_FORMAT ,
103106 SEMANTIC_TEXT_UPDATABLE_INFERENCE_ID ,
104107 SEMANTIC_TEXT_HIGHLIGHTER_DISKBBQ_SIMILARITY_SUPPORT ,
108+ SEMANTIC_TEXT_HIGHLIGHTER_VECTOR_SIMILARITY_SUPPORT ,
105109 SemanticQueryBuilder .SEMANTIC_QUERY_MULTIPLE_INFERENCE_IDS ,
106110 SemanticQueryBuilder .SEMANTIC_QUERY_FILTER_FIELD_CAPS_FIX ,
107111 InterceptedInferenceQueryBuilder .NEW_SEMANTIC_QUERY_INTERCEPTORS ,
You can’t perform that action at this time.
0 commit comments