# Terms Facet broken in 0.9RC1. Reproduceable example attached

**URL:** <https://discuss.elastic.co/t/terms-facet-broken-in-0-9rc1-reproduceable-example-attached/11248>\
**Category:** Elasticsearch\
**Created:** [March 21, 2013, 6:36pm UTC](https://discuss.elastic.co/t/terms-facet-broken-in-0-9rc1-reproduceable-example-attached/11248 "2013-03-21T18:36:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roytmana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roytmana/32/44855_2.png) [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Post date:** [March 21, 2013, 6:36pm UTC](https://discuss.elastic.co/t/terms-facet-broken-in-0-9rc1-reproduceable-example-attached/11248/1 "2013-03-21T18:36:48Z")

</div>

0.9 fails to count missing values when faceting on a numeric field. If some  
records are missing the value, they will not be accounted for in facet's  
"missing" field. faceting on string field seems to work fine  
It worked fine in 0.2.x

> <https://gist.github.com/roytmana/5215441>

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![roytmana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roytmana/32/44855_2.png) [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Post date:** [March 21, 2013, 7:16pm UTC](https://discuss.elastic.co/t/terms-facet-broken-in-0-9rc1-reproduceable-example-attached/11248/2 "2013-03-21T19:16:56Z")

</div>

Another issue is that setting facet size to 0 returns no facets rather than  
all of them

On Thursday, March 21, 2013 2:36:48 PM UTC-4, AlexR wrote:

> 0.9 fails to count missing values when faceting on a numeric field. If  
> some records are missing the value, they will not be accounted for in  
> facet's "missing" field. faceting on string field seems to work fine  
> It worked fine in 0.2.x
> 
> [ES 0.9RC1 Facet Broken · GitHub](https://gist.github.com/roytmana/5215441)

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![roytmana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roytmana/32/44855_2.png) [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Post date:** [March 21, 2013, 7:32pm UTC](https://discuss.elastic.co/t/terms-facet-broken-in-0-9rc1-reproduceable-example-attached/11248/3 "2013-03-21T19:32:47Z")

</div>

I created issue on  
github [When faceting on integer field using TERMS , 0.9 fails to count records where the facet field is missing · Issue #2807 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2807)

On Thursday, March 21, 2013 2:36:48 PM UTC-4, AlexR wrote:

> 0.9 fails to count missing values when faceting on a numeric field. If  
> some records are missing the value, they will not be accounted for in  
> facet's "missing" field. faceting on string field seems to work fine  
> It worked fine in 0.2.x
> 
> [ES 0.9RC1 Facet Broken · GitHub](https://gist.github.com/roytmana/5215441)

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:45am UTC](https://discuss.elastic.co/t/terms-facet-broken-in-0-9rc1-reproduceable-example-attached/11248/4 "2017-07-06T02:45:14Z")

</div>


