is there a way of producing following query?
{
"user": {
"name": "john",
"tags": ["one", "two", "three"]
}
}
now given an array of tags
["one","two","five"]
I want to select all users (distinct if possible) who have at least one tag in common with incoming tag array.