Update reference from DateHistogram to Histogram (#26169)
DateHistogram was renamed, but java api docs were not updated. This commit updates a reference to DateHistogram to the new general Histogram class.
This commit is contained in:
parent
0c76d17fe1
commit
62021147ea
|
@ -116,7 +116,7 @@ SearchResponse sr = client.prepareSearch()
|
||||||
|
|
||||||
// Get your facet results
|
// Get your facet results
|
||||||
Terms agg1 = sr.getAggregations().get("agg1");
|
Terms agg1 = sr.getAggregations().get("agg1");
|
||||||
DateHistogram agg2 = sr.getAggregations().get("agg2");
|
Histogram agg2 = sr.getAggregations().get("agg2");
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
See <<java-aggs,Aggregations Java API>>
|
See <<java-aggs,Aggregations Java API>>
|
||||||
|
|
Loading…
Reference in New Issue