OpenSearch/docs/reference/query-dsl/queries/match-all-query.asciidoc
2013-08-29 01:24:34 +02:00

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