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