Skip to content

Commit 095bb28

Browse files
committed
explicitly set # of shards for indices for test
1 parent fcf682f commit 095bb28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/ml/sparse_vector_search.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,8 @@ teardown:
765765
pruning_config:
766766
tokens_freq_ratio_threshold: 1
767767
tokens_weight_threshold: 1.0
768+
settings:
769+
number_of_shards: 1
768770

769771
- match: { acknowledged: true }
770772

@@ -781,6 +783,8 @@ teardown:
781783
type: sparse_vector
782784
index_options:
783785
prune: false
786+
settings:
787+
number_of_shards: 1
784788

785789
- match: { acknowledged: true }
786790

0 commit comments

Comments
 (0)