Search has_child with multiple types


(Tim Richardson) #1

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"
            }
        }
    }
}

(Hogly Rubio) #2

Hi, I have the same problem. any solution?


(system) #3