Add information about the default sort mode (#40657)
This commit is contained in:
parent
862fe612e0
commit
1e90b29c00
|
@ -82,6 +82,10 @@ to. The `mode` option can have the following values:
|
|||
`median`:: Use the median of all values as sort value. Only applicable
|
||||
for number based array fields.
|
||||
|
||||
The default sort mode in the ascending sort order is `min` -- the lowest value
|
||||
is picked. The default sort mode in the descending order is `max` --
|
||||
the highest value is picked.
|
||||
|
||||
===== Sort mode example usage
|
||||
|
||||
In the example below the field price has multiple prices per document.
|
||||
|
|
Loading…
Reference in New Issue