ElasticsearchDSL icon indicating copy to clipboard operation
ElasticsearchDSL copied to clipboard

Ability to use Nested Child Query with parent child inner hits

Open dashford opened this issue 8 years ago • 1 comments

Hi,

I'm currently using the HasChildQuery class to include additional documents within my result set. I need to include the inner_hits part of the query in order to get the right results but it looks like this ability isn't part of the HasChildQuery implementation when dealing with parent/child documents (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-inner-hits.html#parent-child-inner-hits).

Do you know if this is planned to be included in later versions? I saw that inner_hits support was added for other queries but not for parent child ones.

dashford avatar Nov 14 '16 15:11 dashford

Yes, it is in the plans. inner_hits is quite complex, that's why it's not there yet.

saimaz avatar Dec 13 '16 15:12 saimaz