A newer version of this documentation is available.

View Latest

Match All Query

    March 23, 2025
    + 12

    Matches all documents in an index, irrespective of terms. For example, if an index is created on the travel-sample bucket for documents of type zucchini, the match all query returns all document IDs from the travel-sample bucket, even though the bucket contains no documents of type zucchini.

    json
    { "match_all": {} }