Document `must_not` context and scoring (#22532)

Document that `must_not` uses filter context and returns a score of `0`.
This commit is contained in:
Jake 2017-01-10 08:26:14 -08:00 committed by Clinton Gormley
parent 8be28aa58a
commit d7cc6e28e7
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@ be set using the
parameter.
|`must_not` |The clause (query) must not appear in the matching
documents.
documents. Clauses are executed in <<query-filter-context,filter context>> meaning
that scoring is ignored and clauses are considered for caching. Because scoring is
ignored, a score of `0` for all documents is returned.
|=======================================================================
[IMPORTANT]