Hi There,
I'm looking for a way to search for documents where the join field specifies that they are a parent, that way I can still search for parents without children?
Here's my very crude attempt which fails...
POST /families/_search
{
"query": {
"term": {
"family": { # this is the join field
"name": "father"
}
}
}
}
Any help would be much appreciated, thanks!