# Include specific terms that don't exist on a particular field when applying terms aggregations

**URL:** <https://discuss.elastic.co/t/include-specific-terms-that-dont-exist-on-a-particular-field-when-applying-terms-aggregations/18224>\
**Category:** Elasticsearch\
**Created:** [June 20, 2014, 4:17am UTC](https://discuss.elastic.co/t/include-specific-terms-that-dont-exist-on-a-particular-field-when-applying-terms-aggregations/18224 "2014-06-20T04:17:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raghav\_Jalan](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@Raghav\_Jalan](https://discuss.elastic.co/u/Raghav_Jalan)\
**Post date:** [June 20, 2014, 4:17am UTC](https://discuss.elastic.co/t/include-specific-terms-that-dont-exist-on-a-particular-field-when-applying-terms-aggregations/18224/1 "2014-06-20T04:17:27Z")

</div>

Hey,

We all know that terms aggregator groups the count of specific fields and  
give it to us. But, suppose I want to display an extra field that doesn't  
exist in the field counts and display  
it as 0 count. Do we have anything for that provision

-Raghav

--  
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/db3cd801-294d-41f7-9167-f245bf111ef0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/db3cd801-294d-41f7-9167-f245bf111ef0%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:21am UTC](https://discuss.elastic.co/t/include-specific-terms-that-dont-exist-on-a-particular-field-when-applying-terms-aggregations/18224/2 "2017-07-06T01:21:02Z")

</div>


