Skip to content

Commit 20630b0

Browse files
jrodewigAndyHunt66
and
AndyHunt66
authored
[DOCS] Correct the documented behaviour of track_total_hits (#62837) (#62867)
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 <[email protected]>
1 parent 00ce1d7 commit 20630b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/search/search.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ the scores are not used for sorting. Defaults to `false`.
288288
(Optional, integer or boolean)
289289
Number of hits matching the query to count accurately. Defaults to `10000`.
290290
+
291-
If `true`, the default value is used. If `false`, the response does not
291+
If `true`, the exact number of hits is returned. If `false`, the response does not
292292
include the total number of hits matching the query.
293293

294294
`typed_keys`::

0 commit comments

Comments
 (0)