# Include parent or some parent attributes in children hits

**URL:** <https://discuss.elastic.co/t/include-parent-or-some-parent-attributes-in-children-hits/16390>\
**Category:** Elasticsearch\
**Created:** [March 15, 2014, 9:03pm UTC](https://discuss.elastic.co/t/include-parent-or-some-parent-attributes-in-children-hits/16390 "2014-03-15T21:03:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Boutros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_boutros/32/1727_2.png) [@Robin\_Boutros](https://discuss.elastic.co/u/Robin_Boutros)\
**Post date:** [March 15, 2014, 9:03pm UTC](https://discuss.elastic.co/t/include-parent-or-some-parent-attributes-in-children-hits/16390/1 "2014-03-15T21:03:45Z")

</div>

A quite simple question: I'm making a search request with an has\_parent  
filter. Is it possible to include the parent or some of its attributes to  
the result hits?

Thanks.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b2127c5b-593b-469a-9dcf-bc35e04cae46%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2127c5b-593b-469a-9dcf-bc35e04cae46%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Robin\_Boutros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_boutros/32/1727_2.png) [@Robin\_Boutros](https://discuss.elastic.co/u/Robin_Boutros)\
**Post date:** [March 15, 2014, 9:09pm UTC](https://discuss.elastic.co/t/include-parent-or-some-parent-attributes-in-children-hits/16390/2 "2014-03-15T21:09:46Z")

</div>

I would guess that it's not possible, because children are just filtered by  
parents \_id?

On Saturday, March 15, 2014 5:03:45 PM UTC-4, Robin Boutros wrote:

> A quite simple question: I'm making a search request with an has\_parent  
> filter. Is it possible to include the parent or some of its attributes to  
> the result hits?
> 
> Thanks.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ba2a3272-b280-47db-848d-8e25e9a21e27%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ba2a3272-b280-47db-848d-8e25e9a21e27%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:42am UTC](https://discuss.elastic.co/t/include-parent-or-some-parent-attributes-in-children-hits/16390/3 "2017-07-06T01:42:59Z")

</div>

Closed on July 6, 2017, 1:42am UTC


