mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Docs: Added link from bool and constant score query to filter context
Closes #22353
This commit is contained in:
parent
6e6d9eb255
commit
3999e5ba6b
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user