I have a collection group query for Posts subcollections (can be nested up to into 2 subcollections) ex.
firestore {
users: <Collection> {
posts: <subcollection> {... posts}
types : <subcollection> {
type1: <subcollection> : {
posts: <subcollection> {... posts}
}
}
}
For that i currently have a compound index and it is working well .
My question is, will be more performant to have 1 top level Collection Posts (denormalized with a cloud function) and query it instead?.