State default sort order on missing values

Closes #19099
This commit is contained in:
maciejkula 2016-06-27 17:05:03 +01:00 committed by Clinton Gormley
parent 4c1ee018f6
commit b4c8c21553
1 changed files with 4 additions and 1 deletions

View File

@ -165,7 +165,10 @@ scripts and sorting by geo distance.
The `missing` parameter specifies how docs which are missing
the field should be treated: The `missing` value can be
set to `_last`, `_first`, or a custom value (that
will be used for missing docs as the sort value). For example:
will be used for missing docs as the sort value).
The default is `_last`.
For example:
[source,js]
--------------------------------------------------