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

21 lines
465 B
Plaintext
Raw Normal View History

[[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 }
}
--------------------------------------------------