Browse Source

Docs: add description of the analyze_wildcard parameter to the simple query string query docs

Igor Motov 10 years ago
parent
commit
d32443bfb5
1 changed files with 7 additions and 2 deletions
  1. 7 2
      docs/reference/query-dsl/simple-query-string-query.asciidoc

+ 7 - 2
docs/reference/query-dsl/simple-query-string-query.asciidoc

@@ -40,9 +40,14 @@ creating composite queries.
 |`flags` |Flags specifying which features of the `simple_query_string` to
 enable. Defaults to `ALL`.
 
-|`lowercase_expanded_terms` | Whether terms of prefix and fuzzy queries are to
+|`lowercase_expanded_terms` | Whether terms of prefix and fuzzy queries should
 be automatically lower-cased or not (since they are not analyzed). Defaults to
-true.
+`true`.
+
+|`analyze_wildcard` | Whether terms of prefix queries should be automatically
+analyzed or not. If `true` a best effort will be made to analyze the prefix. However,
+some analyzers will be not able to provide a meaningful results
+based just on the prefix of a term. Defaults to `false`.
 
 |`locale` | Locale that should be used for string conversions.
 Defaults to `ROOT`.