Docs: Added link from bool and constant score query to filter context

Closes #22353
This commit is contained in:
Clinton Gormley 2016-12-29 11:05:28 +01:00
parent 6e6d9eb255
commit 3999e5ba6b
2 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,9 @@ occurrence types are:
contribute to the score.
|`filter` |The clause (query) must appear in matching documents. However unlike
`must` the score of the query will be ignored.
`must` the score of the query will be ignored. Filter clauses are executed
in <<query-filter-context,filter context>>, meaning that scoring is ignored
and clauses are considered for caching.
|`should` |The clause (query) should appear in the matching document. In
a boolean query with no `must` or `filter` clauses, one or more `should` clauses

View File

@ -20,3 +20,6 @@ GET /_search
}
--------------------------------------------------
// CONSOLE
Filter clauses are executed in <<query-filter-context,filter context>>,
meaning that scoring is ignored and clauses are considered for caching.