A newer version is available. For the latest information, see the
current release documentation.
MatchQuery
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
MatchQuery
editConsumes and analyzes text, numbers, and dates, then constructs a query.
Properties
edit-
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(integerasint32) - 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.
Example
edit{
"analyzer" : "string",
"minimum_should_match" : 0,
"operator" : "string",
"query" : "string"
}