Index level settings in elasticsearch v5.0


(new to Es) #1

Hi all,

I noticed that index level settings can't be set in elasticsearch.yml.

I just wonder how I can set indices.fielddata.cache.size ?

and other index memory cache settings like this one.


(David Pilato) #2
DELETE index
PUT index
{
  "settings": {
    // Settings here
  }
}

(new to Es) #3

Thanks for you reply.

I still have some confusion:

  1. If I want to set the whole cluster index, I have to set this in each index one by one?

  2. Once a index is created, can I still dynamically change the settings like indices.fielddata.cache.size?


(David Pilato) #4

One by one for existing indices yes. That was the same when those settings where available in elasticsearch.yml BTW.

You can change dynamically some settings. See https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-update-settings.html


(new to Es) #5

Oh,
I found that settings like indices.xx still work while index.xx may result in errors.

referring to

https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-fielddata.html


(system) #6

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