Browse Source

Add documentation for lenient in multimatch

`lenient` option is documented for `match` query but not for `multi_match` query.
David Pilato 9 years ago
parent
commit
c946094d5b
1 changed files with 7 additions and 0 deletions
  1. 7 0
      docs/reference/query-dsl/multi-match-query.asciidoc

+ 7 - 0
docs/reference/query-dsl/multi-match-query.asciidoc

@@ -506,3 +506,10 @@ per-term `blended` queries. It accepts:
 ===================================================
 The `fuzziness` parameter cannot be used with the `cross_fields` type.
 ===================================================
+
+[[multimatch-leniency]]
+==== Leniency
+
+The `lenient` parameter can be set to `true` to ignore exceptions caused by
+data-type mismatches,  such as trying to query a numeric field with a text
+query string. Defaults to `false`.