Browse Source

Add note about min_score filtering efficiency (#23109)

* Add note about min_score filtering efficiency

* Reword to mention 'HAVING'

* Remove reference to HAVING
Giuseppe 8 years ago
parent
commit
ecbeffcb1e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/reference/query-dsl/function-score-query.asciidoc

+ 2 - 0
docs/reference/query-dsl/function-score-query.asciidoc

@@ -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.