# One Facet not working others are working fine

**URL:** https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640
**Category:** Elasticsearch
**Created:** [April 19, 2013, 10:45am UTC](https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640 "2013-04-19T10:45:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kevin\_van\_Cleef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_van_cleef/32/2382_2.png) [@Kevin\_van\_Cleef](https://discuss.elastic.co/u/Kevin_van_Cleef)
#### Post date: [April 19, 2013, 10:45am UTC](https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640/1 "2013-04-19T10:45:16Z")

</div>

I am busy with making a bunch of e-mail searchable with facets in ES.  
Currently all facets are working fine except one. The '_To_' facet on the  
field _'to'_.  
Other facets like 'From', 'Cc' and 'Bcc' are working fine.

I have created a gist with the json request and the json response which can  
be find here [https://gist.github.com/anonymous/5419539](https://gist.github.com/anonymous/5419539)

Someone sees where the problem is?

Thanks in advance,  
Kevin

--  
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: ![sslhj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sslhj/32/119856_2.png) [@sslhj](https://discuss.elastic.co/u/sslhj)
#### Post date: [April 20, 2013, 5:20am UTC](https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640/2 "2013-04-20T05:20:54Z")

</div>

hi, first, you can set some query or filters to reduce the result, it is too large to know what happens

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [April 20, 2013, 8:37am UTC](https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640/3 "2013-04-20T08:37:59Z")

</div>

Hey,

the response is saying that the field "to" zou requested to facet on does  
not exist in any of your documents. I guess there is a name mismatch, maybe  
to\_email instead if it should be like all other fields...

--Alex

On Fri, Apr 19, 2013 at 12:45 PM, Kevin van Cleef  
[kevinvancleef@gmail.com](mailto:kevinvancleef@gmail.com)wrote:

> I am busy with making a bunch of e-mail searchable with facets in ES.  
> Currently all facets are working fine except one. The '_To_' facet on the  
> field _'to'_.  
> Other facets like 'From', 'Cc' and 'Bcc' are working fine.
> 
> I have created a gist with the json request and the json response which  
> can be find here [I am busy with making a bunch of e-mail searchable with facets. All facets work fine but only the 'To' facet on the 'to' field do not work. The 'From', 'Cc' and 'BCc' facets are the same and working fine except the 'To' facet. Someone sees what is going wrong? · GitHub](https://gist.github.com/anonymous/5419539)
> 
> Someone sees where the problem is?
> 
> Thanks in advance,  
> Kevin
> 
> --  
> 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).

--  
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: ![Kevin\_van\_Cleef](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_van_cleef/32/2382_2.png) [@Kevin\_van\_Cleef](https://discuss.elastic.co/u/Kevin_van_Cleef)
#### Post date: [April 22, 2013, 10:24pm UTC](https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640/4 "2013-04-22T22:24:39Z")

</div>

Thank you, I have checked the mappings and indeed to\_email is the name of  
the field instead of to.

Op zaterdag 20 april 2013 10:37:59 UTC+2 schreef Alexander Reelsen het  
volgende:

> Hey,
> 
> the response is saying that the field "to" zou requested to facet on does  
> not exist in any of your documents. I guess there is a name mismatch, maybe  
> to\_email instead if it should be like all other fields...
> 
> --Alex
> 
> On Fri, Apr 19, 2013 at 12:45 PM, Kevin van Cleef \<[kevinv...@gmail.com](mailto:kevinv...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > I am busy with making a bunch of e-mail searchable with facets in ES.  
> > Currently all facets are working fine except one. The '_To_' facet on  
> > the field _'to'_.  
> > Other facets like 'From', 'Cc' and 'Bcc' are working fine.
> > 
> > I have created a gist with the json request and the json response which  
> > can be find here [I am busy with making a bunch of e-mail searchable with facets. All facets work fine but only the 'To' facet on the 'to' field do not work. The 'From', 'Cc' and 'BCc' facets are the same and working fine except the 'To' facet. Someone sees what is going wrong? · GitHub](https://gist.github.com/anonymous/5419539)
> > 
> > Someone sees where the problem is?
> > 
> > Thanks in advance,  
> > Kevin
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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:40am UTC](https://discuss.elastic.co/t/one-facet-not-working-others-are-working-fine/11640/5 "2017-07-06T02:40:01Z")

</div>


