Search documents having multiple values of a field

Yes. You have to run a script on every document matching the query.