Match all query

Match all query #

Matches every document. This is the default query used when no query is sent in a search request.

Examples #

POST /my-collection/_search
{
  "query": {
    "match_all": {}
  }
}

Parameters for match_all #

  • boost
    (Optional, float, default: 1.0) Applied to every matched document’s score.

Match none query #

The counterpart match_none matches no document at all:

POST /my-collection/_search
{
  "query": {
    "match_none": {}
  }
}
Calendar September 26, 2026
Edit Edit this page