removing duplicated parenthese open (#17975)

removing duplicated parenthese open
This commit is contained in:
Jihun No 2016-04-27 03:13:08 +09:00 committed by Clinton Gormley
parent afacc18dcc
commit bb3c5ac355
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ SearchResponse sr = node.client().prepareSearch()
AggregationBuilders.terms("by_country").field("country") AggregationBuilders.terms("by_country").field("country")
.subAggregation(AggregationBuilders.dateHistogram("by_year") .subAggregation(AggregationBuilders.dateHistogram("by_year")
.field("dateOfBirth") .field("dateOfBirth")
.dateHistogramInterval((DateHistogramInterval.YEAR) .dateHistogramInterval(DateHistogramInterval.YEAR)
.subAggregation(AggregationBuilders.avg("avg_children").field("children")) .subAggregation(AggregationBuilders.avg("avg_children").field("children"))
) )
) )