Complete newbie here.
I have some documents stored in ES, where each document looks like:
{
"_index": "index1",
"_type": "type1",
"_id": "1_1",
"_score": 2,
"_source": {
"agencyid": 1,
"documentId": 1,
"entityType": "entityType1",
"documents": [
{
"DocumentId": 1,
"DocumentType": "Dt1",
"text": "This is DT1"
}
],
"minutesEntity": {
"minutesID": 15,
"CancelNotice": "CancelNotice1a",
"FormalName": "FormalName1a",
"TypeName": "TypeName1a"
},
}
Using DSL and ultimately NEST, I would like to return all documents where the following nested fields are matched:
- DocumentId
- FormalName
Thank you.