<BUG>.setQuery(boolQuery().should(rangeQuery("number").lte(2).queryName("test1")).should(rangeQuery("number").gt(2).queryName("test2"))).execute().actionGet();</BUG><CONTEXT>} else {fail("Unexpected document returned with id " + hit.id());}}searchResponse = client().prepareSearch()<extra_id_0>assertHitCount(searchResponse, 3l);for (SearchHit hit : searchResponse.getHits()) {</CONTEXT>
.setQuery(boolQuery().should(rangeQuery("number").lte(2).queryName("test1")).should(rangeQuery("number").gt(2).queryName("test2"))).get();