OpenSearch/docs/reference/query-dsl/match-all-query.asciidoc
Adrien Grand a0af88e996 Query DSL: Remove filter parsers.
This commit makes queries and filters parsed the same way using the
QueryParser abstraction. This allowed to remove duplicate code that we had
for similar queries/filters such as `range`, `prefix` or `term`.
2015-05-07 20:14:34 +02:00

21 lines
465 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 }
}
--------------------------------------------------