Browse Source

[Docs] added document for the lenient option in match queries

Boaz Leskes 12 years ago
parent
commit
57b2d45142
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/reference/query-dsl/queries/match-query.asciidoc

+ 6 - 0
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.