Quellcode durchsuchen

State default sort order on missing values

Closes #19099
maciejkula vor 9 Jahren
Ursprung
Commit
b4c8c21553
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      docs/reference/search/request/sort.asciidoc

+ 4 - 1
docs/reference/search/request/sort.asciidoc

@@ -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]
 --------------------------------------------------