FlutterFlow Docs
Search…
Adding Indexes
Deploying indexes is necessary in order to perform certain queries from your Firestore database. Firestore automatically adds indexes for the most basic queries. However, when you apply both filtering and ordering while querying a collection, an index is necessary and FlutterFlow will generate a warning to add it.
FlutterFlow creates indexes for you. The only thing you have to do is deploy them to your Firestore database.

Deploy Indexes

Here are the steps to deploy indexes.
  • Click on the Firestore from the Navigation Menu (left side of your screen).
  • Switch to the Settings tab.
  • Scroll down to the Firestore Indexes section.
  • Click on Deploy.
If you add a filtering/ordering on the query or change the existing filtering/ordering settings, you should deploy the Firestore Indexes again.
Deploying Firestore Indexes
To successfully deploy the Firestore Indexes, make sure FlutterFlow has access to your Firebase project.
Copy link