Found "Unknown store type [memory]" with 2.0.0-beta


(padang) #1

Hi,

This code works fine with 1.7.0 but not 2.0.0-beta. Is it expected ?

    builder.settings().put("index.store.type","memory");

Error is:

java.lang.IllegalArgumentException: Unknown store type [memory]
at org.elasticsearch.index.store.IndexStoreModule.configure(IndexStoreMo
dule.java:82)
at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModu
le.java:61)
at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(

You can reproduce with https://github.com/ltregan/esregression (uncomment the settings.put line).

Thanks for your help,

padang


(David Pilato) #2

Yes. Expected. See https://www.elastic.co/guide/en/elasticsearch/reference/2.0/_setting_changes.html#_in_memory_indices


(David Tejedor) #3

The provided link is not working any more. Is this information located in any other place?

I researched about this but I did not find anywhere an explanation why this storage type has been removed.

I would like to know if there is any option to have transient indeces, so the data is never persisted in the disk, as it was with "memory" type.

I tried with "mmapfs" but is does not seems to have exactly the same behaviour.

Thank you for your time.

David


(Wil W) #4

Here is the corrected link at least: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_setting_changes.html#_in_memory_indices


(system) #5