Skip to content

Commit 187daf5

Browse files
Adjust score margin
1 parent e58970a commit 187daf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search/620_rescore_script.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ setup:
169169
params:
170170
factor: 10
171171
- match: { hits.hits.0._id: "2" }
172-
- close_to: { hits.hits.0._score: { value: 25005.989, error: 0.001 } } # rescored by 1st and 2nd scripts
172+
- close_to: { hits.hits.0._score: { value: 25005.989, error: 0.005 } } # rescored by 1st and 2nd scripts
173173
- match: { hits.hits.1._id: "4" }
174-
- close_to: { hits.hits.1._score: { value: 18007.0039, error: 0.001 } } # rescored by 1st and 2nd scripts
174+
- close_to: { hits.hits.1._score: { value: 18007.0039, error: 0.005 } } # rescored by 1st and 2nd scripts
175175
- match: { hits.hits.2._id: "1" }
176-
- close_to: { hits.hits.2._score: { value: 1501.3032, error: 0.0001 } } # rescored by 1st script
176+
- close_to: { hits.hits.2._score: { value: 1501.3032, error: 0.0005 } } # rescored by 1st script
177177
- match: { hits.hits.3._id: "3" }
178178
- close_to: { hits.hits.3._score: { value: 0.59879, error: 0.0001 } } # not rescored
179179
- match: { hits.hits.4._id: "5" }

0 commit comments

Comments
 (0)