File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/linear Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -930,7 +930,7 @@ setup:
930930
931931
932932---
933- " linear retriever with custom sort and score for nested retrievers " :
933+ " linear retriever with custom sort for nested retrievers " :
934934 - do :
935935 search :
936936 index : test
@@ -949,17 +949,18 @@ setup:
949949 {
950950 term : {
951951 keyword : {
952- value : " one" # this will give doc 1 a normalized score of 10 because min == max
952+ value : " one"
953953 }
954954 }
955955 },
956956 {
957957 term : {
958958 keyword : {
959- value : " two" # this will give doc 2 a normalized score of 10 because min == max
959+ value : " two"
960960 }
961961 }
962- } ]
962+ }
963+ ]
963964 }
964965 },
965966 boost : 10.0
@@ -1058,11 +1059,11 @@ setup:
10581059 size : 2
10591060
10601061 - match : { hits.total.value: 3 }
1061- - length : {hits.hits: 2}
1062+ - length : { hits.hits: 2 }
10621063 - match : { hits.hits.0._id: "2" }
1063- - close_to : { hits.hits.0._score: { value: 10 .5, error: 0.001 } }
1064+ - close_to : { hits.hits.0._score: { value: 1 .5, error: 0.001 } }
10641065 - match : { hits.hits.1._id: "1" }
1065- - match : { hits.hits.1._score: 10 }
1066+ - match : { hits.hits.1._score: 1 }
10661067
10671068---
10681069" should throw when rank_window_size is negative " :
You can’t perform that action at this time.
0 commit comments