Indexes with a collection query scope specified allow queries
against a collection that is the child of a specific document, specified
at query time, and that has the collection id specified by the index.
CollectionGroup
Indexes with a collection group query scope specified allow queries
against all collections that has the collection id specified by the
index.
CollectionRecursive
Include all the collections's ancestor in the index. Only available for
Datastore Mode databases.
Unspecified
The query scope is unspecified. Not a valid option.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The content provides documentation for the `Index.Types.QueryScope` enum within the Firestore Admin v1 API, detailing various query scopes for Firestore indexes."],["Available query scopes include `Collection`, `CollectionGroup`, `CollectionRecursive`, and `Unspecified`, each serving a different purpose in defining the scope of queries."],["The `Collection` scope allows queries against a child collection of a specific document, while `CollectionGroup` targets all collections with a specified ID."],["`CollectionRecursive` is available for Datastore Mode databases, expanding queries to include a collections ancestors, and `Unspecified` is not valid."],["The documentation covers multiple versions of the API, from 2.2.0 up to the latest 3.12.0, allowing users to browse the reference material for their specific version."]]],[]]