-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hi all,
how to make nested query filtering parent based on nested child object, also filter the child to,
something query like this?
{
"query": {
"bool": {
"must": [
{
"range": {
"date": {
"lt": "2018-07-05T10:00:00.000Z"
}
}
},
{
"nested": {
"path": "child",
"query": {
"bool": {
"must_not": {
"term": {
"child.foo": 0
}
}
}
}
}
}
]
}
}
}
thank in advice
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels