mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
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")
|
||||
.setQuery(matchAllQuery())
|
||||
.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();
|
||||
|
||||
assertThat(searchResponse.getHits().getTotalHits(), equalTo(2L));
|
||||
|
Loading…
x
Reference in New Issue
Block a user