Getting index.cache.field.* settings

Hi,

How to get current index.cache.field.type/max_size/expire settings for an
index? Can these properties be set via HTTP API like this:
curl -XPUT localhost:9200/users/_settings -d '{
"index" : {
"cache.field.type" : "soft",
"cache.field.expire" : "10m"
}
}'
?

Thank you
Best regards.
Marcin Dojwa.

--

AFAIK, if you do not see a property using
http://localhost:9200/users/_settings,
then the index is using the default. There really should be a verbose flag.

Only certain properties can be set while the cluster is running, and they
are set using IndexMetaData.addDynamicSettings(). From what I can see,
those settings are not dynamic and therefore cannot be changed.

Ivan

On Tue, Dec 11, 2012 at 6:08 AM, Marcin Dojwa m.dojwa@livechatinc.comwrote:

Hi,

How to get current index.cache.field.type/max_size/expire settings for an
index? Can these properties be set via HTTP API like this:
curl -XPUT localhost:9200/users/_settings -d '{
"index" : {
"cache.field.type" : "soft",
"cache.field.expire" : "10m"
}
}'
?

Thank you
Best regards.
Marcin Dojwa.

--

--

As I checked these properties can be set while index is closed. They are
presented while getting index _settings then too.

2012/12/11 Ivan Brusic ivan@brusic.com

AFAIK, if you do not see a property using http://localhost:9200/users/_settings,
then the index is using the default. There really should be a verbose flag.

Only certain properties can be set while the cluster is running, and they
are set using IndexMetaData.addDynamicSettings(). From what I can see,
those settings are not dynamic and therefore cannot be changed.

Ivan

On Tue, Dec 11, 2012 at 6:08 AM, Marcin Dojwa m.dojwa@livechatinc.comwrote:

Hi,

How to get current index.cache.field.type/max_size/expire settings for an
index? Can these properties be set via HTTP API like this:
curl -XPUT localhost:9200/users/_settings -d '{
"index" : {
"cache.field.type" : "soft",
"cache.field.expire" : "10m"
}
}'
?

Thank you
Best regards.
Marcin Dojwa.

--

--

--