OpenSearch/docs/reference/query-dsl/queries/match-all-query.asciidoc

21 lines
466 B
Plaintext

[[query-dsl-match-all-query]]
=== Match All Query
A query that matches all documents. Maps to Lucene `MatchAllDocsQuery`.
[source,js]
--------------------------------------------------
{
"match_all" : { }
}
--------------------------------------------------
Which can also have boost associated with it:
[source,js]
--------------------------------------------------
{
"match_all" : { "boost" : 1.2 }
}
--------------------------------------------------