Mongodb query

A document with the following structure needs to match the value under property according to the search criteria. As long as one is matched, the result set is calculated

.
:db.coll.find({"property":{"test1_field_1":/a/}}) 

property 



{
    "_id" : ObjectId("5aaf36743e178f2e540cb6e9"),
    "property" : {
        "test1_field_1" : "acd",
        "test1_field_2" : "3",
        "xxx_field" : "hell",
        "field_unknown" : "hello world"
    }
}
Mar.02,2021

if changing the document structure is an acceptable solution, consider changing property to an array:

  official documentation-multikey indexes  

Menu