I've had an issue creating a working composite index in Firestore and noticed a
post on stackoverflow yesterday expressing the same problem.
The docs seem clear and straightforward enough but when attempting to run this...checkinQuery = db.collection('places').doc('starbucks').collection('checkins')
checkinQuery.where('pref', 'array-contains', 'male').where('time', '<', Date.now()).get().then(docs=>{console.log(docs[0])})
I get the error (after creating the composite index manually for 'pref' and 'time') ...
"FirebaseError: [code=failed-precondition]: no matching index found."
With no link to automatically create the index either. Am i missing something simple here? or is there something happening on firebase end?
Thanks,
Jeff