Remove index settings

How does someone remove index setting ? Because i put
"index.cache.filter.type" : "soft" and I have classNotfound exception :
soft when trying the reopen the index...

first is it normal ? and then how do i remove this setting from my index ?

--

I am also trying to put max_size to -1 (not set) and I get; Caused by:
java.lang.IllegalArgumentException: maximum size must not be negative

On Tuesday, December 18, 2012 10:07:47 AM UTC-5, Jérôme Gagnon wrote:

How does someone remove index setting ? Because i put
"index.cache.filter.type" : "soft" and I have classNotfound exception :
soft when trying the reopen the index...

first is it normal ? and then how do i remove this setting from my index ?

--

Ok I figured out that in the document cache for filter is saying soft, weak
or resident but in reality there is two type; none or weighted... updated
that. But still cannot delete index setting as I wanted...

On Tuesday, December 18, 2012 10:07:47 AM UTC-5, Jérôme Gagnon wrote:

How does someone remove index setting ? Because i put
"index.cache.filter.type" : "soft" and I have classNotfound exception :
soft when trying the reopen the index...

first is it normal ? and then how do i remove this setting from my index ?

--

Only dynamic settings can be modified on an index. Only properties defined
in IndexMetaData.dynamicSettings can be updated. They should work on closed
indices, but I never had any luck.

Also, setting the max_size to -1 will not work since it is a limitation of
Guava, the caching library used. IIRC, setting it to 0 will remove it
completely.

--
Ivan

On Tue, Dec 18, 2012 at 7:59 AM, Jérôme Gagnon jerome.gagnon.1@gmail.comwrote:

Ok I figured out that in the document cache for filter is saying soft,
weak or resident but in reality there is two type; none or weighted...
updated that. But still cannot delete index setting as I wanted...

On Tuesday, December 18, 2012 10:07:47 AM UTC-5, Jérôme Gagnon wrote:

How does someone remove index setting ? Because i put
"index.cache.filter.type" : "soft" and I have classNotfound exception :
soft when trying the reopen the index...

first is it normal ? and then how do i remove this setting from my index ?

--

--