It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
MatchQuery
editMatchQuery
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
(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.
Example
edit{ "analyzer" : "string", "minimum_should_match" : 0, "operator" : "string", "query" : "string" }