WARNING: Version 1.7 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Terms Query
editTerms Query
editA query that match on any (configurable) of the provided terms. This is
a simpler syntax query for using a bool
query with several term
queries in the should
clauses. For example:
{ "terms" : { "tags" : [ "blue", "pill" ], "minimum_should_match" : 1 } }
The terms
query is also aliased with in
as the query name for
simpler usage.