OpenSearch/docs/reference/search
Jim Ferenczi e38cf1d0dc
Add the ability to set the number of hits to track accurately (#36357)
In Lucene 8 searches can skip non-competitive hits if the total hit count is not requested.
It is also possible to track the number of hits up to a certain threshold. This is a trade off to speed up searches while still being able to know a lower bound of the total hit count. This change adds the ability to set this threshold directly in the track_total_hits search option. A boolean value (true, false) indicates whether the total hit count should be tracked in the response. When set as an integer this option allows to compute a lower bound of the total hits while preserving the ability to skip non-competitive hits when enough matches have been collected.

Relates #33028
2019-01-04 20:36:49 +01:00
..
request Add the ability to set the number of hits to track accurately (#36357) 2019-01-04 20:36:49 +01:00
suggesters Make hits.total an object in the search response (#35849) 2018-12-05 19:49:06 +01:00
count.asciidoc Deprecate types in count and msearch. (#35421) 2018-11-16 13:04:43 -08:00
explain.asciidoc Deprecate types in explain requests. (#35611) 2018-12-10 19:45:13 -08:00
field-caps.asciidoc In the field capabilities API, remove support for providing fields in the request body. (#30185) 2018-04-27 16:14:11 -07:00
multi-search.asciidoc Fix typo in multi-search.asciidoc (#37060) 2019-01-02 10:32:42 +01:00
profile.asciidoc [DOCS] Adds missing anchors for profile API 2018-12-18 15:20:19 -08:00
rank-eval.asciidoc Add ERR to ranking evaluation documentation (#32314) 2018-07-24 19:58:34 +02:00
request-body.asciidoc Add the ability to set the number of hits to track accurately (#36357) 2019-01-04 20:36:49 +01:00
search-shards.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
search-template.asciidoc Remove references to multiple types in the search documentation. (#34625) 2018-10-19 09:47:34 -07:00
search.asciidoc Remove references to multiple types in the search documentation. (#34625) 2018-10-19 09:47:34 -07:00
suggesters.asciidoc [Docs] Emphazise suggest behaviour with missing query part (#35393) 2018-11-28 12:01:27 +01:00
uri-request.asciidoc Add the ability to set the number of hits to track accurately (#36357) 2019-01-04 20:36:49 +01:00
validate.asciidoc Deprecate types in validate query requests. (#35575) 2018-11-16 08:59:04 -08:00