File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.highlight
server/src/main/java/org/elasticsearch/rest/action/search Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ setup:
150150 capabilities :
151151 - method : GET
152152 path : /_search
153- capabilities : [ max_analyzed_offset_default ]
153+ capabilities : [ highlight_max_analyzed_offset_default ]
154154 reason : Behavior of max_analyzed_offset query param changed in 8.18.
155155
156156 - do :
@@ -168,7 +168,7 @@ setup:
168168 capabilities :
169169 - method : GET
170170 path : /_search
171- capabilities : [ max_analyzed_offset_default ]
171+ capabilities : [ highlight_max_analyzed_offset_default ]
172172 reason : Behavior of max_analyzed_offset query param changed in 8.18.
173173
174174 - do :
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ private SearchCapabilities() {}
4949 private static final String OPTIMIZED_SCALAR_QUANTIZATION_BBQ = "optimized_scalar_quantization_bbq" ;
5050 private static final String KNN_QUANTIZED_VECTOR_RESCORE = "knn_quantized_vector_rescore" ;
5151
52- private static final String MAX_ANALYZED_OFFSET_DEFAULT = "max_analyzed_offset_default " ;
52+ private static final String HIGHLIGHT_MAX_ANALYZED_OFFSET_DEFAULT = "highlight_max_analyzed_offset_default " ;
5353
5454 public static final Set <String > CAPABILITIES ;
5555 static {
@@ -72,7 +72,7 @@ private SearchCapabilities() {}
7272 if (Build .current ().isSnapshot ()) {
7373 capabilities .add (KQL_QUERY_SUPPORTED );
7474 }
75- capabilities .add (MAX_ANALYZED_OFFSET_DEFAULT );
75+ capabilities .add (HIGHLIGHT_MAX_ANALYZED_OFFSET_DEFAULT );
7676 CAPABILITIES = Set .copyOf (capabilities );
7777 }
7878}
You can’t perform that action at this time.
0 commit comments