Filter on 2 child documents possible?

I'm trying to filter to 2 child documents. Is this possible?

{
"size" : 51,
"filter" : {
"and" : {
"filters" : [ {
"has_child" : {
"filter" : {
"terms" : {
"identifier_type" : [ "aaa", "bbb", "ccc", "ddd", "eee" ]
}
},
"child_type" : "source_patient_id"
}
}, {
"has_child" : {
"filter" : {
"query" : {
"wildcard" : {
"identifier_value" : "123456789"
}
}
},
"child_type" : "source_patient_id"
}
}, {
"has_child" : {
"filter" : {
"or" : {
"filters" : [ {
"term" : {
"providers" : 300
}
} ]
}
},
"child_type" : "providers"
}
} ]
}
}
}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.