From 47461ca74c13d25f5b50705329ab0a71e1f43ea6 Mon Sep 17 00:00:00 2001 From: hanbj Date: Tue, 15 Aug 2017 02:49:13 +0800 Subject: [PATCH] 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. --- docs/java-api/search.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/java-api/search.asciidoc b/docs/java-api/search.asciidoc index cd185212da3c8..dfc2767520237 100644 --- a/docs/java-api/search.asciidoc +++ b/docs/java-api/search.asciidoc @@ -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 <>