Skip to content

Commit fc08349

Browse files
committed
[DOCS] correct async search note
The sort optimization kicks in whenever results are sorted by field.
1 parent 4a66397 commit fc08349

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/reference/search/async-search.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ available through the `keep_alive` parameter, which defaults to `5d` (five days)
9292
Ongoing async searches and any saved search results are deleted after this
9393
period.
9494

95-
NOTE: When results are sorted by a numeric field, shards get sorted based on
96-
minimum and maximum value that they hold for that field, hence partial
97-
results become available following the sort criteria that was requested.
95+
NOTE: When the primary sort of the results is an indexed field, shards get
96+
sorted based on minimum and maximum value that they hold for that field,
97+
hence partial results become available following the sort criteria that
98+
was requested.
9899

99100
The submit async search API supports the same <<search-search-api-query-params,parameters>>
100101
as the search API, though some have different default values:

0 commit comments

Comments
 (0)