ネストされた配列を検索するためのクエリは次のとおりです。
"_id" : "123",
"Array1" : [
    {
        "field1" : {
            "nestedArray1" : [
                {
                    "content" : "This string inside %nestedArray%",
                }
            ]
        },
    }
],
次の正規表現 Array1.field1.nestedArray1.content を使用してみました
Document doc = new Document();
doc.append("Array1.field1.nestedArray1.content", new Document("$regex", ".*" + "%nestedArray%" + ".*"));
しかし、私は適切な結果を得ることができません..上記のクエリは正しい形式ですか?