We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e39dc commit 08678adCopy full SHA for 08678ad
aggregations/metrics-aggregations.md
@@ -62,7 +62,7 @@ import org.elasticsearch.search.aggregations.metrics.max.Max;
62
63
```
64
// sr is here your SearchResponse object
65
-Min agg = sr.getAggregations().get("agg");
+Max agg = sr.getAggregations().get("agg");
66
double value = agg.getValue();
67
68
0 commit comments