From 972b4d189ae8557e801b5b2e00881ff4e4f1f8ff Mon Sep 17 00:00:00 2001 From: Jihoon Son Date: Wed, 10 Jan 2018 13:10:13 +0900 Subject: [PATCH] Fix topN doc (#5240) --- docs/content/querying/topnquery.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/querying/topnquery.md b/docs/content/querying/topnquery.md index 99f8771a8dd..51dd6d9782f 100644 --- a/docs/content/querying/topnquery.md +++ b/docs/content/querying/topnquery.md @@ -79,8 +79,8 @@ There are 11 parts to a topN query. |intervals|A JSON Object representing ISO-8601 Intervals. This defines the time ranges to run the query over.|yes| |granularity|Defines the granularity to bucket query results. See [Granularities](../querying/granularities.html)|yes| |filter|See [Filters](../querying/filters.html)|no| -|aggregations|See [Aggregations](../querying/aggregations.html)|no| -|postAggregations|See [Post Aggregations](../querying/post-aggregations.html)|no| +|aggregations|See [Aggregations](../querying/aggregations.html)|for numeric metricSpec, aggregations or postAggregations should be specified. Otherwise no.| +|postAggregations|See [Post Aggregations](../querying/post-aggregations.html)|for numeric metricSpec, aggregations or postAggregations should be specified. Otherwise no.| |dimension|A String or JSON object defining the dimension that you want the top taken for. For more info, see [DimensionSpecs](../querying/dimensionspecs.html)|yes| |threshold|An integer defining the N in the topN (i.e. how many results you want in the top list)|yes| |metric|A String or JSON object specifying the metric to sort by for the top list. For more info, see [TopNMetricSpec](../querying/topnmetricspec.html).|yes|