collect SELECT count(id) as "count" FROM object WHERE class = '/matrix/test/collect' AND expr(object_lucene,'{"filter":{"type":"match","field":"map_varchar_varchar_24._key","value":"map1"}}') select count(*) as count from /matrix/test/collect where v_map = 'val2'