From 702a0c4948bfd1696108c6fe002aa34be37e110f Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Sun, 23 Mar 2014 15:58:48 +0100 Subject: [PATCH] [TEST] Disable wildcard query in testFixAOBEIfTopChildrenIsWrappedInMusNotClause for now --- .../search/child/SimpleChildQuerySearchTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/search/child/SimpleChildQuerySearchTests.java b/src/test/java/org/elasticsearch/search/child/SimpleChildQuerySearchTests.java index ec62efd47d8..0badde6e1fd 100644 --- a/src/test/java/org/elasticsearch/search/child/SimpleChildQuerySearchTests.java +++ b/src/test/java/org/elasticsearch/search/child/SimpleChildQuerySearchTests.java @@ -626,7 +626,9 @@ public class SimpleChildQuerySearchTests extends ElasticsearchIntegrationTest { refresh(); SearchResponse searchResponse = client().prepareSearch("test").setSearchType(SearchType.QUERY_THEN_FETCH) - .setQuery(boolQuery().mustNot(topChildrenQuery("child", boolQuery().should(queryString("c_field:*"))))).execute() + // Enable this again when upgraded to Lucene 4.7.1 +// .setQuery(boolQuery().mustNot(topChildrenQuery("child", boolQuery().should(queryString("c_field:*"))))).execute() + .setQuery(boolQuery().mustNot(topChildrenQuery("child", boolQuery().should(queryString("c_field:(red OR yellow OR blue)"))))).execute() .actionGet(); assertNoFailures(searchResponse); }