add search masks

Searching masks for elements in db.collection