Skip to content

Commit

Permalink
Update reference from DateHistogram to Histogram (#26169)
Browse files Browse the repository at this point in the history
DateHistogram was renamed, but java api docs were not updated. This commit updates a reference to DateHistogram to the new general Histogram class.
  • Loading branch information
hanbj authored and rjernst committed Aug 14, 2017
1 parent 0c76d17 commit 6202114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java-api/search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>>
Expand Down

0 comments on commit 6202114

Please sign in to comment.