IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
QueryStringQuery
editQueryStringQuery
editA query that uses the SimpleQueryParser
for parsing.
Properties
edit-
allow_leading_wildcard
(boolean
) - When set, * or ? are allowed as the first character. Defaults to false.
-
analyzer
(string
) - The analyzer used to analyze each term of the query when creating composite queries.
-
default_field
(string
) - The default field for query terms if no prefix field is specified.
-
default_operator
(string
) - The default operator used if no explicit operator is specified.
-
query
(string
, required) - The actual query to be parsed.
Example
edit{ "allow_leading_wildcard" : true, "analyzer" : "string", "default_field" : "string", "default_operator" : "string", "query" : "string" }