[TEST] prevent dummy documents from being indexed in testSimpleQueryString() since scores are compared
This commit is contained in:
parent
a6b0b80f3d
commit
03402c7ed8
|
@ -1961,7 +1961,7 @@ public class SimpleQueryTests extends ElasticsearchIntegrationTest {
|
|||
@Test
|
||||
public void testSimpleQueryString() throws ExecutionException, InterruptedException {
|
||||
createIndex("test");
|
||||
indexRandom(true,
|
||||
indexRandom(true, false,
|
||||
client().prepareIndex("test", "type1", "1").setSource("body", "foo"),
|
||||
client().prepareIndex("test", "type1", "2").setSource("body", "bar"),
|
||||
client().prepareIndex("test", "type1", "3").setSource("body", "foo bar"),
|
||||
|
|
Loading…
Reference in New Issue