Change index.cache.field.type on live index

I have a large index with around 70M documents and in the mapping is
specified that the index cache type is soft. Is there a way to change to
index.cache.field.type setting from soft to resident without to reindex the
index?

--

I'm not sure, but I think you should be able to update this setting
via the update indices settings api and then restart the nodes.
When the index is being loaded on a node during startup, the updated
settings should be picked up.

Another approach which might be easier, is after you have changed the
settings to close and then open the index. This way
you don't need to restart any node.

Unfortunately this setting can can't be changed during the time an
index is live.

Martijn

On 11 December 2012 15:03, bohemer bohemer@gmail.com wrote:

I have a large index with around 70M documents and in the mapping is
specified that the index cache type is soft. Is there a way to change to
index.cache.field.type setting from soft to resident without to reindex the
index?

--

--
Met vriendelijke groet,

Martijn van Groningen

--

Hi,

Thank you Martijn for the quick response,

I have updated the index settings on a development instance to
index.cache.field.type = resident. the response was {"ok":true} so it
should work. Then i closed and then opened the index , but the get index
setting api call tells me that the cach type is still soft :frowning:

Any idea how should i change the index cache type without to reindex all
the data ?

Thank You.

On Tuesday, December 11, 2012 4:16:06 PM UTC+2, Martijn v Groningen wrote:

I'm not sure, but I think you should be able to update this setting
via the update indices settings api and then restart the nodes.
When the index is being loaded on a node during startup, the updated
settings should be picked up.

Another approach which might be easier, is after you have changed the
settings to close and then open the index. This way
you don't need to restart any node.

Unfortunately this setting can can't be changed during the time an
index is live.

Martijn

On 11 December 2012 15:03, bohemer <boh...@gmail.com <javascript:>>
wrote:

I have a large index with around 70M documents and in the mapping is
specified that the index cache type is soft. Is there a way to change to
index.cache.field.type setting from soft to resident without to reindex
the
index?

--

--
Met vriendelijke groet,

Martijn van Groningen

--

Non dynamic index properties can be updated, but the index needs to be
closed before updating the property. Like this:

On 11 December 2012 15:16, Martijn v Groningen
martijn.v.groningen@gmail.com wrote:

I'm not sure, but I think you should be able to update this setting
via the update indices settings api and then restart the nodes.
When the index is being loaded on a node during startup, the updated
settings should be picked up.

Another approach which might be easier, is after you have changed the
settings to close and then open the index. This way
you don't need to restart any node.

Unfortunately this setting can can't be changed during the time an
index is live.

Martijn

On 11 December 2012 15:03, bohemer bohemer@gmail.com wrote:

I have a large index with around 70M documents and in the mapping is
specified that the index cache type is soft. Is there a way to change to
index.cache.field.type setting from soft to resident without to reindex the
index?

--

--
Met vriendelijke groet,

Martijn van Groningen

--
Met vriendelijke groet,

Martijn van Groningen

--