# Significant Terms - Memory Issues Redux

**URL:** https://discuss.elastic.co/t/significant-terms-memory-issues-redux/23139
**Category:** Elasticsearch
**Created:** [April 7, 2015, 9:33pm UTC](https://discuss.elastic.co/t/significant-terms-memory-issues-redux/23139 "2015-04-07T21:33:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wedamija](https://avatars.discourse-cdn.com/v4/letter/w/22d042/32.png) [@wedamija](https://discuss.elastic.co/u/wedamija)
#### Post date: [April 7, 2015, 9:33pm UTC](https://discuss.elastic.co/t/significant-terms-memory-issues-redux/23139/1 "2015-04-07T21:33:13Z")

</div>

In a previous discussion of Significant Terms  
([Redirecting to Google Groups](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/elasticsearch/EQ1ysXVC5TU/rloTy6ZrHusJ)),  
one of the recommendations to reduce memory usage was:

Use "Doc Values" in your index mappings to hit disk instead of using es

> FieldData caches that cause the CircuitBreakingException (you are then more  
> reliant on OS file-system caches for speed)

I tried this, but I think I'm missing some important step. It seems that  
since significant terms needs the field to to be indexed, and we can't  
index doc\_values fields. Is there some work around here that I've missed?

--  
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/15b36f4a-5c2b-4996-a4b1-3104d50e5626%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/15b36f4a-5c2b-4996-a4b1-3104d50e5626%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 8, 2015, 6:44am UTC](https://discuss.elastic.co/t/significant-terms-memory-issues-redux/23139/2 "2015-04-08T06:44:28Z")

</div>

Nope, you can only doc values not analysed values.

On 8 April 2015 at 07:33, Dan Fuller [wedamija@gmail.com](mailto:wedamija@gmail.com) wrote:

> In a previous discussion of Significant Terms (  
> [Redirecting to Google Groups](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/elasticsearch/EQ1ysXVC5TU/rloTy6ZrHusJ)),  
> one of the recommendations to reduce memory usage was:
> 
> Use "Doc Values" in your index mappings to hit disk instead of using es
> 
> > FieldData caches that cause the CircuitBreakingException (you are then more  
> > reliant on OS file-system caches for speed)
> 
> I tried this, but I think I'm missing some important step. It seems that  
> since significant terms needs the field to to be indexed, and we can't  
> index doc\_values fields. Is there some work around here that I've missed?
> 
> --  
> 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/15b36f4a-5c2b-4996-a4b1-3104d50e5626%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/15b36f4a-5c2b-4996-a4b1-3104d50e5626%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/15b36f4a-5c2b-4996-a4b1-3104d50e5626%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/15b36f4a-5c2b-4996-a4b1-3104d50e5626%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEYi1X-ct9JEZU1Dw7YO9iBKch%2BEs3TQkxJDWsWHta2nZ\_8oyA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-ct9JEZU1Dw7YO9iBKch%2BEs3TQkxJDWsWHta2nZ_8oyA%40mail.gmail.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:20am UTC](https://discuss.elastic.co/t/significant-terms-memory-issues-redux/23139/3 "2017-07-06T00:20:59Z")

</div>


