MatchQuery

edit

Match queries accept text/numerics/dates, analyzes them, and 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 as int32)
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"
}