From c946094d5b7899a37faaba542b3e5b3f26e26656 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Wed, 16 Nov 2016 16:15:28 +0100 Subject: [PATCH] Add documentation for lenient in multimatch `lenient` option is documented for `match` query but not for `multi_match` query. --- docs/reference/query-dsl/multi-match-query.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/reference/query-dsl/multi-match-query.asciidoc b/docs/reference/query-dsl/multi-match-query.asciidoc index 068156ff70f..44467cfd528 100644 --- a/docs/reference/query-dsl/multi-match-query.asciidoc +++ b/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`.