I have this data structure:
messages:
{
userId1:{
messageKey1:{
userKey: ...
text: ...
(...)
},
(...)
}
(...)
}
I would like to indexOn userKey. Is it possible to do so or should I denormalize my data?
Thank you for helping.