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 <>