Match All Query
Edit pageThe simplest query is _match_all, which matches all documents, returns all
documents in any given database giving them all a weight of 0.0:
Example
Section titled “Example”SEARCH /bank/
{ "_query": { "_match_all": {} }}Match None Query
Section titled “Match None Query”The query _match_none is the inverse of the _match_all query, and matches
no documents.
Example
Section titled “Example”SEARCH /bank/
{ "_query": { "_match_none": {} }}