[child] has childFilter param. Also, mind about [subquery]

On Wed, Jun 6, 2018 at 9:33 AM, Ryan Yacyshyn <ryan.yacys...@gmail.com>
wrote:

> Hi all,
>
> I'm looking for a way to query nested documents that would return the
> parent documents along with its child documents nested under it, but only
> the child documents that match the query. The [child] doc transformer comes
> close, but it returns all child docs.
>
> I'm looking for something similar to ES' inner hits (
> https://www.elastic.co/guide/en/elasticsearch/reference/
> current/search-request-inner-hits.html
> ).
>
> Is this possible?
>
> Thanks,
> Ryan
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to