Update bool-query.asciidoc

Emphasise section about using bool query in filter context
This commit is contained in:
Clinton Gormley 2015-06-10 21:46:23 +02:00
parent 657d6dd9cf
commit 6e71f60b82
1 changed files with 5 additions and 1 deletions

View File

@ -26,8 +26,12 @@ parameter.
documents.
|=======================================================================
IMPORTANT: If this query is used in a filter context and it has `should`
[IMPORTANT]
.Bool query in filter context
========================================================================
If this query is used in a filter context and it has `should`
clauses then at least one `should` clause is required to match.
========================================================================
The bool query also supports `disable_coord` parameter (defaults to
`false`). Basically the coord similarity computes a score factor based