# Term size in memory does not decrease on index:false

**URL:** <https://discuss.elastic.co/t/term-size-in-memory-does-not-decrease-on-index-false/198047>\
**Category:** Elasticsearch\
**Created:** [September 4, 2019, 12:54pm UTC](https://discuss.elastic.co/t/term-size-in-memory-does-not-decrease-on-index-false/198047 "2019-09-04T12:54:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pokaleshrey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pokaleshrey/32/48680_2.png) [@pokaleshrey](https://discuss.elastic.co/u/pokaleshrey)\
**Post date:** [September 4, 2019, 12:54pm UTC](https://discuss.elastic.co/t/term-size-in-memory-does-not-decrease-on-index-false/198047/1 "2019-09-04T12:54:59Z")

</div>

I have indexed about 10k docs indexed on a data node

**Case A.** I have about 140 fields in my document, all analyzed (index: true). Did a \_forcemerge.  
/\_cluster/stats API returns "terms\_memory\_in\_bytes: 'x' bytes"

**Case B** I have same 140 fields in my document, and the same number of documents used above. But this time none of the fields are not analyzed (index: false). Did a \_forcemerge.  
/\_cluster/stats API returns "terms\_memory\_in\_bytes: 'x' bytes"

**Query:**  
I expect no terms to be generated after i make index:false, hence the "terms\_memory\_in\_bytes" should show a very very low size that it is occupying in the memory. Any reasons that i am missing here ?

---

<div class="post-metadata">

**Author:** ![pokaleshrey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pokaleshrey/32/48680_2.png) [@pokaleshrey](https://discuss.elastic.co/u/pokaleshrey)\
**Post date:** [September 10, 2019, 9:07am UTC](https://discuss.elastic.co/t/term-size-in-memory-does-not-decrease-on-index-false/198047/2 "2019-09-10T09:07:12Z")

</div>

Any inputs here from ? Looks weird to me...

---

<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:** [October 8, 2019, 9:07am UTC](https://discuss.elastic.co/t/term-size-in-memory-does-not-decrease-on-index-false/198047/3 "2019-10-08T09:07:21Z")

</div>

Closed on October 8, 2019, 9:07am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
