i\'m having documents with a multivalued field \"sharedTo\" which contains the groups that the document is shared to. Now I want to find all documents that are shared to at
if your default operator is OR, then you can just give the query as
sharedTo:('foo' 'bar')
If your default operator is AND, then you'll have to do it like this: sharedTo:(foo OR bar)