Răsfoiți Sursa

[CI] Use a single shard for synonym REST tests, to ensure score ordering
is stable

Alan Woodward 7 ani în urmă
părinte
comite
d25e3ef065

+ 2 - 0
modules/analysis-common/src/test/resources/rest-api-spec/test/search.query/60_synonym_graph.yml

@@ -4,6 +4,8 @@ setup:
         index: test
         body:
           settings:
+            index:
+              number_of_shards: 1     # keep scoring stable
             analysis:
               filter:
                 syns: