From 57b2d4514288ef93b6a544c1e6ed04a98acda372 Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Wed, 16 Oct 2013 10:53:25 +0200 Subject: [PATCH] [Docs] added document for the lenient option in match queries --- docs/reference/query-dsl/queries/match-query.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/query-dsl/queries/match-query.asciidoc b/docs/reference/query-dsl/queries/match-query.asciidoc index eb9a5a96e11..5460cbff1e4 100644 --- a/docs/reference/query-dsl/queries/match-query.asciidoc +++ b/docs/reference/query-dsl/queries/match-query.asciidoc @@ -225,3 +225,9 @@ comes to just analyze and run that text as a query behavior (which is usually what a text search box does). Also, the `phrase_prefix` type can provide a great "as you type" behavior to automatically load search results. + +[float] +==== Other options + +* `lenient` - If set to true will cause format based failures (like +providing text to a numeric field) to be ignored. Defaults to false.