File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
x-pack/plugin/inference/src
main/java/org/elasticsearch/xpack/inference
yamlRestTest/resources/rest-api-spec/test/inference Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ public Set<NodeFeature> getTestFeatures() {
59
59
SemanticTextFieldMapper .SEMANTIC_TEXT_DELETE_FIX ,
60
60
SemanticTextFieldMapper .SEMANTIC_TEXT_ZERO_SIZE_FIX ,
61
61
SemanticTextFieldMapper .SEMANTIC_TEXT_ALWAYS_EMIT_INFERENCE_ID_FIX ,
62
- SemanticTextFieldMapper .SEMANTIC_TEXT_FILTER_FIELD_CAPS_FIX ,
63
62
SemanticTextFieldMapper .SEMANTIC_TEXT_SKIP_INFERENCE_FIELDS ,
64
63
SEMANTIC_TEXT_HIGHLIGHTER ,
65
64
SEMANTIC_MATCH_QUERY_REWRITE_INTERCEPTION_SUPPORTED ,
@@ -85,7 +84,8 @@ public Set<NodeFeature> getTestFeatures() {
85
84
SEMANTIC_TEXT_HIGHLIGHTING_FLAT ,
86
85
SEMANTIC_TEXT_SPARSE_VECTOR_INDEX_OPTIONS ,
87
86
SEMANTIC_TEXT_FIELDS_CHUNKS_FORMAT ,
88
- SemanticQueryBuilder .SEMANTIC_QUERY_MULTIPLE_INFERENCE_IDS
87
+ SemanticQueryBuilder .SEMANTIC_QUERY_MULTIPLE_INFERENCE_IDS ,
88
+ SemanticQueryBuilder .SEMANTIC_QUERY_FILTER_FIELD_CAPS_FIX
89
89
)
90
90
);
91
91
if (RERANK_SNIPPETS .isEnabled ()) {
Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ public class SemanticTextFieldMapper extends FieldMapper implements InferenceFie
136
136
public static final NodeFeature SEMANTIC_TEXT_ALWAYS_EMIT_INFERENCE_ID_FIX = new NodeFeature (
137
137
"semantic_text.always_emit_inference_id_fix"
138
138
);
139
- public static final NodeFeature SEMANTIC_TEXT_FILTER_FIELD_CAPS_FIX = new NodeFeature ("semantic_text.filter_field_caps_fix" );
140
139
public static final NodeFeature SEMANTIC_TEXT_HANDLE_EMPTY_INPUT = new NodeFeature ("semantic_text.handle_empty_input" );
141
140
public static final NodeFeature SEMANTIC_TEXT_SKIP_INFERENCE_FIELDS = new NodeFeature ("semantic_text.skip_inference_fields" );
142
141
public static final NodeFeature SEMANTIC_TEXT_BIT_VECTOR_SUPPORT = new NodeFeature ("semantic_text.bit_vector_support" );
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ public class SemanticQueryBuilder extends AbstractQueryBuilder<SemanticQueryBuil
56
56
public static final String NAME = "semantic" ;
57
57
58
58
public static final NodeFeature SEMANTIC_QUERY_MULTIPLE_INFERENCE_IDS = new NodeFeature ("semantic_query.multiple_inference_ids" );
59
+ public static final NodeFeature SEMANTIC_QUERY_FILTER_FIELD_CAPS_FIX = new NodeFeature ("semantic_query.filter_field_caps_fix" );
59
60
60
61
// Use a placeholder inference ID that will never overlap with a real inference endpoint (user-created or internal)
61
62
private static final String PLACEHOLDER_INFERENCE_ID = "$PLACEHOLDER" ;
Original file line number Diff line number Diff line change 1
1
setup :
2
2
- requires :
3
- cluster_features : " semantic_text .filter_field_caps_fix"
3
+ cluster_features : " semantic_query .filter_field_caps_fix"
4
4
reason : " fixed bug with semantic query filtering in field_caps (#116106)"
5
5
6
6
- do :
You can’t perform that action at this time.
0 commit comments