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 the Firestore database from the Database tab.
Here are the steps to deploy indexes.
  • Click on the Database tab from the Navigation Menu (left side of your screen).
  • Click on the Settings panel (on the left side of your screen).
  • Scroll down to the Firestore Indexes section.
  • Click on Deploy.
If you changed the existing filtering/ordering settings or added a new one, you should deploy the Firestore Indexes again.
To successfully deploy the Firestore Indexes, make sure FlutterFlow has access to your Firebase project.
​
Last modified 1mo ago
Copy link