Browse Source

Update bool-query.asciidoc

Emphasise section about using bool query in filter context
Clinton Gormley 10 years ago
parent
commit
6e71f60b82
1 changed files with 5 additions and 1 deletions
  1. 5 1
      docs/reference/query-dsl/bool-query.asciidoc

+ 5 - 1
docs/reference/query-dsl/bool-query.asciidoc

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