I have a document -
{\"_id\" : ObjectId(\"51385d2308d427ce306f0100\"), \"aid\" : \"1\", \"studyId\" : \"study-1\", \"mediaType\" : \"mic
u could search via db.foo.find({ 'status.algo1' : 'required' }) or db.foo.find({ 'status.algo2' : 'required' }), but it's probably not possible to filter by regex keys, see also this post: https://stackoverflow.com/a/7290728/654952
db.foo.find({ 'status.algo1' : 'required' })
db.foo.find({ 'status.algo2' : 'required' })
keys