We’re attempting to use the Lucene query syntax to filter users returned from Auth0 API. Is there an example of how to iterate over a subcollections elements using a contains search?
Example app_metadata structure:
{
"list": [
{
"id": 1,
},
{
"id": 15
}
]
}
I’ve been able to query top level items and lists, by using a structure such as:
{
"ids": [1,15]
}
using this syntax: api/v2/users?q=app_metadata.ids:(1 15)
However, this doesn’t support querying a subcollection.