[TEST] Disable wildcard query in testFixAOBEIfTopChildrenIsWrappedInMusNotClause for now

This commit is contained in:
Simon Willnauer 2014-03-23 15:58:48 +01:00
parent c74f1de3a6
commit 702a0c4948
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}