[TEST] move SuggestSearchTests to make use of default number of replicas randomization (based on number of data nodes)

This commit is contained in:
javanna 2014-03-31 18:08:21 +02:00 committed by Luca Cavanna
parent aac1374c76
commit 015c21c395
1 changed files with 0 additions and 1 deletions

View File

@ -941,7 +941,6 @@ public class SuggestSearchTests extends ElasticsearchIntegrationTest {
CreateIndexRequestBuilder builder = prepareCreate("test").setSettings(settingsBuilder() CreateIndexRequestBuilder builder = prepareCreate("test").setSettings(settingsBuilder()
.put(indexSettings()) .put(indexSettings())
.put(SETTING_NUMBER_OF_SHARDS, 1) // A single shard will help to keep the tests repeatable. .put(SETTING_NUMBER_OF_SHARDS, 1) // A single shard will help to keep the tests repeatable.
.put(SETTING_NUMBER_OF_REPLICAS, between(0, cluster().size() - 1))
.put("index.analysis.analyzer.text.tokenizer", "standard") .put("index.analysis.analyzer.text.tokenizer", "standard")
.putArray("index.analysis.analyzer.text.filter", "lowercase", "my_shingle") .putArray("index.analysis.analyzer.text.filter", "lowercase", "my_shingle")
.put("index.analysis.filter.my_shingle.type", "shingle") .put("index.analysis.filter.my_shingle.type", "shingle")