mirror of https://github.com/apache/druid.git
Merge pull request #1911 from himanshug/fix_topn_doc
since topN is descending by default, inversion makes it ascending
This commit is contained in:
commit
af12c44880
|
@ -63,7 +63,7 @@ The algorithm is based on [https://github.com/amjjd/java-alphanum](https://githu
|
||||||
|
|
||||||
## Inverted TopNMetricSpec
|
## Inverted TopNMetricSpec
|
||||||
|
|
||||||
Sort dimension values in inverted order, i.e inverts the order of the delegate metric spec. It can be used to sort the values in descending order.
|
Sort dimension values in inverted order, i.e inverts the order of the delegate metric spec. It can be used to sort the values in ascending order.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"metric": {
|
"metric": {
|
||||||
|
|
Loading…
Reference in New Issue