Docs: Update extendedstats-aggregation.asciidoc

code snippet should show ExtendedStats, not Stats

Closes #10683
This commit is contained in:
Adam Mollenkopf 2015-04-20 10:45:23 -07:00 committed by Clinton Gormley
parent 2579cc31b1
commit 86c2c202fe
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import org.elasticsearch.search.aggregations.metrics.stats.extended.ExtendedStat
[source,java] [source,java]
-------------------------------------------------- --------------------------------------------------
// sr is here your SearchResponse object // sr is here your SearchResponse object
Stats agg = sr.getAggregations().get("agg"); ExtendedStats agg = sr.getAggregations().get("agg");
double min = agg.getMin(); double min = agg.getMin();
double max = agg.getMax(); double max = agg.getMax();
double avg = agg.getAvg(); double avg = agg.getAvg();