Skip to content

Commit 292a2c5

Browse files
authored
Fix broken yml test for combined_fields. (opensearch-project#18971)
This test breaks with a repeatable seed because we randomly set shard count above 1 which will impact scoring. Fixing it by setting shard count to 1 instead of using dfs query then fetch. Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
1 parent 7db7a5a commit 292a2c5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rest-api-spec/src/main/resources/rest-api-spec/test/search/400_combined_fields.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ setup:
33
indices.create:
44
index: cf_test
55
body:
6+
settings:
7+
number_of_shards: 1
68
mappings:
79
properties:
810
headline:

0 commit comments

Comments
 (0)