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 862fe61 commit 1e90b29Copy full SHA for 1e90b29
docs/reference/search/request/sort.asciidoc
@@ -82,6 +82,10 @@ to. The `mode` option can have the following values:
82
`median`:: Use the median of all values as sort value. Only applicable
83
for number based array fields.
84
85
+The default sort mode in the ascending sort order is `min` -- the lowest value
86
+is picked. The default sort mode in the descending order is `max` --
87
+the highest value is picked.
88
+
89
===== Sort mode example usage
90
91
In the example below the field price has multiple prices per document.
0 commit comments