# Kibanan 4 Terms & Facets

**URL:** <https://discuss.elastic.co/t/kibanan-4-terms-facets/22208>\
**Category:** Elasticsearch\
**Created:** [February 17, 2015, 2:42pm UTC](https://discuss.elastic.co/t/kibanan-4-terms-facets/22208 "2015-02-17T14:42:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drew\_Town](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drew_town/32/44829_2.png) [@Drew\_Town](https://discuss.elastic.co/u/Drew_Town)\
**Post date:** [February 17, 2015, 2:42pm UTC](https://discuss.elastic.co/t/kibanan-4-terms-facets/22208/1 "2015-02-17T14:42:07Z")

</div>

In Kibana 3 we heavily rely on terms panel. This worked well because it  
was fast and didn't fill up our field data cache.

With Kibana 4 RC1 I haven't been able to find a way to do this. The  
horizontal bar chart seems to utilize a simple filtered query rather than a  
facet query. This is very slow compared to the facet query and takes up a  
huge amount of heap memory. Are there plans to add facet queries (terms  
panels)? Or is there a way to do this already that I am missing?

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/7a294ab7-f4de-4fd0-a1b6-fb5a15a12325%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a294ab7-f4de-4fd0-a1b6-fb5a15a12325%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Drew\_Town](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drew_town/32/44829_2.png) [@Drew\_Town](https://discuss.elastic.co/u/Drew_Town)\
**Post date:** [February 20, 2015, 4:32pm UTC](https://discuss.elastic.co/t/kibanan-4-terms-facets/22208/2 "2015-02-20T16:32:15Z")

</div>

A follow up with my results in case anyone runs into the same "issue".

Facets are depreciated and aggs are what you should be using. The reason  
we were seeing huge field data cache is because we were not using daily  
indices in Kibana. Once we switched to a daily index we no longer saw the  
huge fielddata cache usage.

Drew

On Tuesday, February 17, 2015 at 8:42:07 AM UTC-6, Drew Town wrote:

> In Kibana 3 we heavily rely on terms panel. This worked well because it  
> was fast and didn't fill up our field data cache.
> 
> With Kibana 4 RC1 I haven't been able to find a way to do this. The  
> horizontal bar chart seems to utilize a simple filtered query rather than a  
> facet query. This is very slow compared to the facet query and takes up a  
> huge amount of heap memory. Are there plans to add facet queries (terms  
> panels)? Or is there a way to do this already that I am missing?
> 
> 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/959da9b6-4b97-4c14-bd7d-658c397475b0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/959da9b6-4b97-4c14-bd7d-658c397475b0%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, 12:31am UTC](https://discuss.elastic.co/t/kibanan-4-terms-facets/22208/3 "2017-07-06T00:31:11Z")

</div>


