If `track_total_hits=true` is used, the exact value of the number of hits is returned - i.e. the value is effectively limitless, and not the default value of 10,000 Co-authored-by: AndyHunt66 <andrew.hunt@elastic.co>
This commit is contained in:
parent
00ce1d7e4b
commit
20630b0088
|
@ -288,7 +288,7 @@ the scores are not used for sorting. Defaults to `false`.
|
||||||
(Optional, integer or boolean)
|
(Optional, integer or boolean)
|
||||||
Number of hits matching the query to count accurately. Defaults to `10000`.
|
Number of hits matching the query to count accurately. Defaults to `10000`.
|
||||||
+
|
+
|
||||||
If `true`, the default value is used. If `false`, the response does not
|
If `true`, the exact number of hits is returned. If `false`, the response does not
|
||||||
include the total number of hits matching the query.
|
include the total number of hits matching the query.
|
||||||
|
|
||||||
`typed_keys`::
|
`typed_keys`::
|
||||||
|
|
Loading…
Reference in New Issue