From eed885eeab202fe598a87a68c061e836b28a606a Mon Sep 17 00:00:00 2001 From: Britta Weber Date: Wed, 30 Mar 2016 11:45:47 +0200 Subject: [PATCH] [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. --- .../java/org/elasticsearch/search/query/MultiMatchQueryIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/search/query/MultiMatchQueryIT.java b/core/src/test/java/org/elasticsearch/search/query/MultiMatchQueryIT.java index be190b547ea..8b3df394479 100644 --- a/core/src/test/java/org/elasticsearch/search/query/MultiMatchQueryIT.java +++ b/core/src/test/java/org/elasticsearch/search/query/MultiMatchQueryIT.java @@ -654,7 +654,7 @@ public class MultiMatchQueryIT extends ESIntegTestCase { public List fillRandom(List list, int times) { for (int i = 0; i < times; i++) { - list.add(randomRealisticUnicodeOfCodepointLengthBetween(1, 5)); + list.add(randomAsciiOfLengthBetween(1, 5)); } return list; }