summaryrefslogtreecommitdiff
path: root/docs/reference/query-dsl/filters/match-all-filter.asciidoc
blob: 97adbd1fb2a42b4cf47cf7c88f8c221fb35c8bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[query-dsl-match-all-filter]]
=== Match All Filter

A filter that matches on all documents:

[source,js]
--------------------------------------------------
{
    "constant_score" : {
        "filter" : {
            "match_all" : { }
        }
    }
}
--------------------------------------------------