wrap line at 140chars
This commit is contained in:
parent
ececff357b
commit
4826782b37
|
@ -439,7 +439,8 @@ public class FiltersIT extends ESIntegTestCase {
|
||||||
SearchResponse searchResponse = client().prepareSearch("empty_bucket_idx")
|
SearchResponse searchResponse = client().prepareSearch("empty_bucket_idx")
|
||||||
.setQuery(matchAllQuery())
|
.setQuery(matchAllQuery())
|
||||||
.addAggregation(histogram("histo").field("value").interval(1L).minDocCount(0)
|
.addAggregation(histogram("histo").field("value").interval(1L).minDocCount(0)
|
||||||
.subAggregation(filters("filters", new KeyedFilter("foo", matchAllQuery())).otherBucket(true).otherBucketKey("bar")))
|
.subAggregation(filters("filters", new KeyedFilter("foo", matchAllQuery()))
|
||||||
|
.otherBucket(true).otherBucketKey("bar")))
|
||||||
.execute().actionGet();
|
.execute().actionGet();
|
||||||
|
|
||||||
assertThat(searchResponse.getHits().getTotalHits(), equalTo(2L));
|
assertThat(searchResponse.getHits().getTotalHits(), equalTo(2L));
|
||||||
|
|
Loading…
Reference in New Issue