Query and mapping to search for notifications
{
id:"comment1",
user:"user1",
reply:null
}
{
id:"comment2",
user:"user2",
reply:"comment1"
}
{
id:"comment3",
user:"user3",
reply:"comment2"
}
{
id:"comment4",
user:"user3",
reply:"comment1"
}
{
id:"comment5",
user:"user1",
reply:null
}
I would like to search "user1 notifications
"comment2"/"comment4"