WARNING: Version 2.4 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.
Match All Query
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Match All Query
editThe most simple query, which matches all documents, giving them all a _score
of 1.0
.
{ "match_all": {} }
The _score
can be changed with the boost
parameter:
{ "match_all": { "boost" : 1.2 }}
Was this helpful?
Thank you for your feedback.