I am facing some problem when use angular 2 to query data from Firestore.
Could anyone please help me by checking it and tell me where I have done wrong ?
My
Click on the link provided. If it doesn't take you to the correct page, if you get this error:
The project xxx either does not exist, or user doesn't have permission
sign out the current user, and login as your Firebase user.
You will get the index suggested for your query.
Composite indexes are required for queries that include specific values and a range or order.
When you run these queries, they would have bad performance and wouldn't scale well.
Every time you change your query with different fields, combining range, equal to or order by operators, you will have to create a new index. If you only use whereEqualTo operators you don't need to.
It might take a while to create the index depending on your data size.