@@ -33,33 +33,35 @@ teardown:
3333---
3434" Test max score with sorting on score firstly " :
3535 - skip :
36- version : " - 3.2.0 "
36+ version : " - 3.1.99 "
3737 reason : Fixed in 3.2.0
3838
3939 - do :
4040 search :
41+ rest_total_hits_as_int : true
4142 index : test_1
4243 body :
4344 query : { term: { foo: bar} }
4445 sort : [{ _score: desc }, { _doc: desc }]
4546 - match : { hits.total: 2 }
4647 - length : { hits.hits: 2 }
47- - match : { max_score: 1.0 }
48+ - match : { hits. max_score: 1.0 }
4849
4950 - do :
5051 search :
52+ rest_total_hits_as_int : true
5153 index : test_1
5254 body :
5355 query : { term: { foo: bar} }
5456 sort : [{ _score: asc }, { _doc: desc }]
5557 - match : { hits.total: 2 }
5658 - length : { hits.hits: 2 }
57- - match : { max_score: null }
59+ - match : { hits. max_score: null }
5860
5961---
6062" Test max score with sorting on score firstly with concurrent segment search enabled " :
6163 - skip :
62- version : " - 3.2.0 "
64+ version : " - 3.1.99 "
6365 reason : Fixed in 3.2.0
6466
6567 - do :
@@ -70,20 +72,22 @@ teardown:
7072
7173 - do :
7274 search :
75+ rest_total_hits_as_int : true
7376 index : test_1
7477 body :
7578 query : { term: { foo: bar} }
7679 sort : [{ _score: desc }, { _doc: desc }]
7780 - match : { hits.total: 2 }
7881 - length : { hits.hits: 2 }
79- - match : { max_score: 1.0 }
82+ - match : { hits. max_score: 1.0 }
8083
8184 - do :
8285 search :
86+ rest_total_hits_as_int : true
8387 index : test_1
8488 body :
8589 query : { term: { foo: bar} }
8690 sort : [{ _score: asc }, { _doc: desc }]
8791 - match : { hits.total: 2 }
8892 - length : { hits.hits: 2 }
89- - match : { max_score: null }
93+ - match : { hits. max_score: null }
0 commit comments