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 we will generate a warning to add it.

we create 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.

  1. Click on the Firestore from the Navigation Menu (left side of your screen).

  2. Switch to the Settings tab.

  3. Scroll down to the Firestore Indexes section.

  4. 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.

  • To successfully deploy the Firestore Indexes, make sure FlutterFlow has access to your Firebase project.


Last Updated Date: September 27, 2023

Last updated