QueryStringQuery
editQueryStringQuery
editA query that uses the strict query string syntax for parsing. Will return an error for invalid syntax.
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" }