@@ -250,7 +250,7 @@ setup:
250250---
251251" Apply boost and query name on single index " :
252252 - requires :
253- cluster_features : " semantic_text.query_rewrite.boost_and_query_name_fix "
253+ cluster_features : " semantic_query_rewrite_interceptors.propagate_boost_and_query_name_fix "
254254 reason : fix boosting and query name for semantic text sparse vector queries.
255255
256256 - skip :
@@ -316,7 +316,7 @@ setup:
316316---
317317" Apply boost and query name on multiple indices " :
318318 - requires :
319- cluster_features : " semantic_text.query_rewrite.boost_and_query_name_fix "
319+ cluster_features : " semantic_query_rewrite_interceptors.propagate_boost_and_query_name_fix "
320320 reason : fix boosting and query name for semantic text sparse vector queries.
321321
322322 - skip :
@@ -355,7 +355,7 @@ setup:
355355 - do :
356356 index :
357357 index : index-with-sparse-field
358- id : doc_1
358+ id : doc_2
359359 body :
360360 inference_field : { "feature_0": 1, "feature_1": 2, "feature_2": 3, "feature_3": 4, "feature_4": 5 }
361361 refresh : true
@@ -375,10 +375,10 @@ setup:
375375
376376 - match : { hits.total.value: 2 }
377377 - match : { hits.hits.0._id: "doc_1" }
378- - match : { hits.hits.1._id: "doc_1 " }
378+ - match : { hits.hits.1._id: "doc_2 " }
379379 - close_to : { hits.hits.0._score: { value: 5.700229E18, error: 1e15 } }
380380 - not_exists : hits.hits.0.matched_queries
381- - close_to : { hits.hits.1._score: { value: 1.3455845E10, error: 1e15 } }
381+ - close_to : { hits.hits.1._score: { value: 1.3455845E10, error: 1e-7 } }
382382 - not_exists : hits.hits.1.matched_queries
383383
384384 - do :
@@ -398,8 +398,8 @@ setup:
398398
399399 - match : { hits.total.value: 2 }
400400 - match : { hits.hits.0._id: "doc_1" }
401- - match : { hits.hits.1._id: "doc_1 " }
401+ - match : { hits.hits.1._id: "doc_2 " }
402402 - close_to : { hits.hits.0._score: { value: 2.8501142E19, error: 1e15 } }
403403 - match : { hits.hits.0.matched_queries: [ "i-like-naming-my-queries" ] }
404- - close_to : { hits.hits.1._score: { value: 6.7279225E10, error: 1e15 } }
404+ - close_to : { hits.hits.1._score: { value: 6.7279225E10, error: 1e-7 } }
405405 - match : { hits.hits.1.matched_queries: [ "i-like-naming-my-queries" ] }
0 commit comments