Search has_child with multiple types

I have a parent which has multiple different types of children. Is it possible to preform a has_child search over multiple types of children?

something like

{
    "has_child" : {
        "type" : "*",
        "score_mode" : "sum",
        "query" : {
            "term" : {
                "tag" : "something"
            }
        }
    }
}
1 Like

Hi, I have the same problem. any solution?