3.3 Database Index Setup
Last updated
Last updated
From the Firestore Database, Click on the Indexes tab and click on the Add Index. You have to create two indexes for the database.
Enter places as Collection ID, state into the first field and set Ascending, Enter loves in the second field and set Descending and then select Collection as query scope.
Enter places as Collection ID, state into the first field and set Ascending, Enter timestamp in the second field and set Descending and then select Collection as query scope.
This may take 3-5 minutes to activate. After completing this, your index page should look like this