Instead of copy&paste solution I’ll give you advice how you can solve it on your own.
Use query inspector, so you will see how is Lucene query generated.
- Make sure that
Allvalue will generate valid Lucene syntax, which will select all documents - you can customize thatall valueand you can use wildchar (lucene*) there - make sure that multivalue will generate correct Lucene syntax, so learn how you can write it in Lucene and then use correct variable format