-
Aivaras Gotovskis authoredAivaras Gotovskis authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
MatchAll.md 501 B
Match All Filter
More info about match all filter is in the official elasticsearch docs
A filter that matches on all documents.
Simple example
{
"filter" : {
"match_all" : { }
}
}
And now the query via DSL:
$matchAllFilter = new MatchAllFilter();
$search = new Search();
$search->addFilter($matchAllFilter);
$queryArray = $search->toArray();