Anyone knows how I can create an index where the term is a ref and is searchable through a nested object in an array?
In the collection "conversations" I have saved the following example data:
{
"created": Time("2019-09-29T22:11:01.493034Z"),
"updated": Time("2019-09-29T22:11:01.493034Z"),
"participants": [
{
"ref": Ref(Collection("users"), "244754936642929163"),
"firstname": "John",
"creator": true
},
{
"ref": Ref(Collection("users"), "244517629884105216"),
"firstname": "Max"
}
]
}
It would be great to have an index, where I can search if a ref is included in the participants array.