Here you can see a small part of document at ES. At array of details may be a lot of different objects with different id's and values. I have to create a query that finds all documents that don't have an object with id "SR_Middle_Name" or "SR_Middle_Name" and value "Aron" :
"details":[
{
"id":"SR_Name",
"value":"Elvis"
},
{
"id":"SR_Middle_Name",
"value":"Aron"
}
]