@@ -407,7 +407,7 @@ setup:
407407---
408408" Apply boost and query name on single index " :
409409 - requires :
410- cluster_features : " semantic_text.query_rewrite.boost_and_query_name_fix "
410+ cluster_features : " semantic_query_rewrite_interceptors.propagate_boost_and_query_name_fix "
411411 reason : fix boosting and query name for semantic text knn queries.
412412
413413 - skip :
@@ -475,13 +475,13 @@ setup:
475475
476476 - match : { hits.total.value: 1 }
477477 - match : { hits.hits.0._id: "doc_1" }
478- - close_to : { hits.hits.0._score: { value: 4.9907494, error: 1e15 } }
478+ - close_to : { hits.hits.0._score: { value: 4.9907494, error: 1e-7 } }
479479 - match : { hits.hits.0.matched_queries: [ "i-like-naming-my-queries" ] }
480480
481481---
482482" Apply boost and query name on multiple indices " :
483483 - requires :
484- cluster_features : " semantic_text.query_rewrite.boost_and_query_name_fix "
484+ cluster_features : " semantic_query_rewrite_interceptors.propagate_boost_and_query_name_fix "
485485 reason : fix boosting and query name for semantic text knn queries.
486486
487487 - skip :
@@ -522,7 +522,7 @@ setup:
522522 - do :
523523 index :
524524 index : index-with-dense-field
525- id : doc_1
525+ id : doc_2
526526 body :
527527 inference_field : [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
528528 refresh : true
@@ -546,10 +546,10 @@ setup:
546546
547547 - match : { hits.total.value: 2 }
548548 - match : { hits.hits.0._id: "doc_1" }
549- - match : { hits.hits.1._id: "doc_1 " }
550- - close_to : { hits.hits.0._score: { value: 0.9984111 , error: 1e15 } }
549+ - match : { hits.hits.1._id: "doc_2 " }
550+ - close_to : { hits.hits.0._score: { value: 0.9981499 , error: 1e-7 } }
551551 - not_exists : hits.hits.0.matched_queries
552- - close_to : { hits.hits.1._score: { value: 0.9984111 , error: 1e15 } }
552+ - close_to : { hits.hits.1._score: { value: 0.9428395 , error: 1e-7 } }
553553 - not_exists : hits.hits.1.matched_queries
554554
555555 - do :
@@ -573,8 +573,8 @@ setup:
573573
574574 - match : { hits.total.value: 2 }
575575 - match : { hits.hits.0._id: "doc_1" }
576- - match : { hits.hits.1._id: "doc_1 " }
577- - close_to : { hits.hits.0._score: { value: 4.9907494, error: 1e15 } }
576+ - match : { hits.hits.1._id: "doc_2 " }
577+ - close_to : { hits.hits.0._score: { value: 4.9907494, error: 1e-7 } }
578578 - match : { hits.hits.0.matched_queries: [ "i-like-naming-my-queries" ] }
579- - close_to : { hits.hits.1._score: { value: 4.9907494 , error: 1e15 } }
579+ - close_to : { hits.hits.1._score: { value: 4.7141976 , error: 1e-7 } }
580580 - match : { hits.hits.1.matched_queries: [ "i-like-naming-my-queries" ] }
0 commit comments