Match all queries
The match_all
query returns all documents. This query can be useful in testing large document sets if you need to return the entire set.
GET _search
{
"query": {
"match_all": {}
}
}
copy
The match_all
query has a match_none
counterpart, which is rarely useful:
GET _search
{
"query": {
"match_none": {}
}
}
copy
当前内容版权归 OpenSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 OpenSearch .