firebase deploy creates Firestore search indexes
Introduced 2026-05-07 · score 0.96
HOW TO USE IT
When the repository has Firestore search index configuration to deploy, run `firebase deploy --only firestore` from the project directory.
firebase deploy --only firestoreWHY THIS HELPS
Deploy a repository's Firestore search index configuration.
REQUIREMENTS AND LIMITATIONS
- Version: v15.17.0
- --only firestore (required): Scopes deployment to Cloud Firestore Security Rules and indexes for configured databases.
- Prerequisite: Run from a Firebase project directory containing `firebase.json`; Firebase CLI docs say to set up a Firebase project before using the CLI.
- Prerequisite: Configure the index file in `firebase.json`; the CLI’s default index filename is `firestore.indexes.json`.
FIRST-PARTY EVIDENCE
- https://github.com/firebase/firebase-tools/releases/tag/v15.17.0
- https://github.com/firebase/firebase-tools/pull/10431
- https://firebase.google.com/docs/cli
- https://github.com/firebase/firebase-tools/blob/v15.17.0/src/firestore/README.md
Check the installed version and the source before using it. Entry JSON