Add note about min_score filtering efficiency (#23109)

* Add note about min_score filtering efficiency

* Reword to mention 'HAVING'

* Remove reference to HAVING
This commit is contained in:
Giuseppe 2017-02-13 12:15:01 +01:00 committed by Clinton Gormley
parent f3509b8003
commit ecbeffcb1e
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ query. The parameter `boost_mode` defines how:
By default, modifying the score does not change which documents match. To exclude
documents that do not meet a certain score threshold the `min_score` parameter can be set to the desired score threshold.
NOTE: For `min_score` to work, **all** documents returned by the query need to be scored and then filtered out one by one.
[[score-functions]]
The `function_score` query provides several types of score functions.