Using a query with has_child, the Elastic Search input plugin, does not produce inner_hits.
The same query in Elastic Search 1.5 works fine.
The query looks like:
{
"query": {
"bool": {
"should": [
{
"has_child": {
"type": "A",
"query": {
"match_all": {}
},
"inner_hits": {}
}
},
{
"has_child": {
"type": "B",
"query": {
"match_all": {}
},
"inner_hits": {}
}
}
]
}
}
}