[TEST] use random ascii instead of random unicode

Otherwise fields might not have values after analysis and the docCount
and hence the score will be unpredictable.
This commit is contained in:
Britta Weber 2016-03-30 11:45:47 +02:00
parent f27399dc0e
commit eed885eeab
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ public class MultiMatchQueryIT extends ESIntegTestCase {
public List<String> fillRandom(List<String> list, int times) { public List<String> fillRandom(List<String> list, int times) {
for (int i = 0; i < times; i++) { for (int i = 0; i < times; i++) {
list.add(randomRealisticUnicodeOfCodepointLengthBetween(1, 5)); list.add(randomAsciiOfLengthBetween(1, 5));
} }
return list; return list;
} }