A newer version is available. For the latest information, see the
current release documentation.
MatchQuery
edit
Consumes and analyzes text, numbers, and dates, then constructs a query.
Propertiesedit
-
analyzer
(string
) - The analyzer that will be used to perform the analysis process on the text. Defaults to the analyzer that was used to index the field.
-
minimum_should_match
(integer
asint32
) - The minimum number of optional should clauses to match.
-
operator
(string
) - The operator flag can be set to or or and to control the boolean clauses (defaults to or).
-
query
(string
, required) - The text/numeric/date to query for.
Exampleedit
{ "analyzer" : "string", "minimum_should_match" : 0, "operator" : "string", "query" : "string" }