Only use one document to test empty shards
This commit is contained in:
parent
a5bf8824d2
commit
d7b3ed7e8b
|
@ -774,8 +774,6 @@ public class SuggestSearchTests extends AbstractSharedClusterTest {
|
|||
index("text", "type2", "1", "foo", "bar");
|
||||
index("text", "type2", "2", "foo", "bar");
|
||||
index("text", "type1", "1", "name", "Just testing the suggestions api");
|
||||
index("text", "type1", "2", "name", "An other title about equal length");
|
||||
// Note that the last document has to have about the same length as the other or cutoff rechecking will remove the useful suggestion.
|
||||
refresh();
|
||||
|
||||
SearchResponse searchResponse = client().prepareSearch()
|
||||
|
|
Loading…
Reference in New Issue