From 62021147ea7c29f47bca6f25ee562b266d1bdeab 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 cd185212da3..dfc27675202 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 <>