# Does index.cache.field.type no longer work in ES v0.90?

**URL:** <https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188>\
**Category:** Elasticsearch\
**Created:** [August 12, 2013, 11:32pm UTC](https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188 "2013-08-12T23:32:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Smith](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Joseph\_Smith](https://discuss.elastic.co/u/Joseph_Smith)\
**Post date:** [August 12, 2013, 11:32pm UTC](https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188/1 "2013-08-12T23:32:09Z")

</div>

The documentation  
at [http://www.elasticsearch.org/guide/reference/index-modules/fielddata/](http://www.elasticsearch.org/guide/reference/index-modules/fielddata/)  
seems to indicate that the index.cache.field\* settings are no longer  
supported in 0.90. Am I understanding this correct?

My primary interest is in using soft reference field caches. Is this  
possible in 0.90?

~joe!

--  
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:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [August 13, 2013, 4:46pm UTC](https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188/2 "2013-08-13T16:46:11Z")

</div>

I looked into this when I first migrated to 0.90.x. I think the correct  
setting is  
indices.fielddata.cache: soft

Ultimately, the memory usage is vastly improved in 0.90.x, that it was  
better to have the cache not be soft.

--  
Ivan

On Mon, Aug 12, 2013 at 4:32 PM, Joseph Smith [joseph.smith.tm@gmail.com](mailto:joseph.smith.tm@gmail.com)wrote:

> The documentation at  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/fielddata/seems) to indicate that the index.cache.field\* settings are no longer  
> supported in 0.90. Am I understanding this correct?
> 
> My primary interest is in using soft reference field caches. Is this  
> possible in 0.90?
> 
> ~joe!
> 
> --  
> 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:** ![Joseph\_Smith](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Joseph\_Smith](https://discuss.elastic.co/u/Joseph_Smith)\
**Post date:** [August 14, 2013, 6:49pm UTC](https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188/3 "2013-08-14T18:49:53Z")

</div>

Judging from what I've seen online, I think there is a lot of confusion  
around what can be set via the index.\* or via indices.\* (which I assume is  
set at in the yaml file).

It would be really great if the online documentation were more clear.

This is the most useful post I have found thus far: \*  
[0.90 facet memory issue? · Issue #2838 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2838)\* .

On Tuesday, August 13, 2013 12:46:11 PM UTC-4, Ivan Brusic wrote:

> I looked into this when I first migrated to 0.90.x. I think the correct  
> setting is  
> indices.fielddata.cache: soft
> 
> Ultimately, the memory usage is vastly improved in 0.90.x, that it was  
> better to have the cache not be soft.
> 
> --  
> Ivan
> 
> On Mon, Aug 12, 2013 at 4:32 PM, Joseph Smith \<[joseph....@gmail.com](mailto:joseph....@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > The documentation at  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/fielddata/seems) to indicate that the index.cache.field\* settings are no longer  
> > supported in 0.90. Am I understanding this correct?
> > 
> > My primary interest is in using soft reference field caches. Is this  
> > possible in 0.90?
> > 
> > ~joe!
> > 
> > --  
> > 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:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [August 14, 2013, 8:11pm UTC](https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188/4 "2013-08-14T20:11:17Z")

</div>

I haven't tested it, but perhaps both settings might be valid, with  
indices.fielddata having precedence:

[https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/index/fielddata/IndexFieldDataService.java#L145](https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/index/fielddata/IndexFieldDataService.java#L145)

On Wed, Aug 14, 2013 at 11:49 AM, Joseph Smith [joseph.smith.tm@gmail.com](mailto:joseph.smith.tm@gmail.com)wrote:

> Judging from what I've seen online, I think there is a lot of confusion  
> around what can be set via the index.\* or via indices.\* (which I assume is  
> set at in the yaml file).
> 
> It would be really great if the online documentation were more clear.
> 
> This is the most useful post I have found thus far: \*  
> [0.90 facet memory issue? · Issue #2838 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2838)\* .
> 
> On Tuesday, August 13, 2013 12:46:11 PM UTC-4, Ivan Brusic wrote:
> 
> > I looked into this when I first migrated to 0.90.x. I think the correct  
> > setting is  
> > indices.fielddata.cache: soft
> > 
> > Ultimately, the memory usage is vastly improved in 0.90.x, that it was  
> > better to have the cache not be soft.
> > 
> > --  
> > Ivan
> > 
> > On Mon, Aug 12, 2013 at 4:32 PM, Joseph Smith [joseph....@gmail.com](mailto:joseph....@gmail.com)wrote:
> > 
> > > The documentation at [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > org/guide/reference/index-\*_modules/fielddata/[http://www.elasticsearch.org/guide/reference/index-modules/fielddata/](http://www.elasticsearch.org/guide/reference/index-modules/fielddata/)seems to indicate that the index.cache.field_ settings are no longer  
> > > supported in 0.90. Am I understanding this correct?
> > > 
> > > My primary interest is in using soft reference field caches. Is this  
> > > possible in 0.90?
> > > 
> > > ~joe!
> > > 
> > > --  
> > > 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](http://googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[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).

--  
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:21am UTC](https://discuss.elastic.co/t/does-index-cache-field-type-no-longer-work-in-es-v0-90/13188/5 "2017-07-06T02:21:07Z")

</div>


