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:
hanbj 2017-08-15 02:49:13 +08:00 committed by Ryan Ernst
parent 0c76d17fe1
commit 62021147ea
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ SearchResponse sr = client.prepareSearch()
// Get your facet results
Terms agg1 = sr.getAggregations().get("agg1");
DateHistogram agg2 = sr.getAggregations().get("agg2");
Histogram agg2 = sr.getAggregations().get("agg2");
--------------------------------------------------
See <<java-aggs,Aggregations Java API>>