I want to understand both the queries how they are different
"query": {
"nested": {
"path": "addresses",
"query": {
"bool": {
"must_not": [
{
"exists": {
"field": "addresses"
}
}
]
}
}
}
}
"query": {
"bool": {
"must_not": [
{
"nested": {
"path": "addresses",
"query": {
"exists": {
"field": "addresses"
}
}
}
}
]
}
}