I would like to use MMapDirectory at the data indexing phase (in a batch). And then switch to index to in-memory and read only at time of serving real user queries to optimize the search latency. I used to achieve that when directly deal with Lucene by using RAMDirectory and read-only Searcher. Is -Des.index.store.type=memory the ElasticSearch equivalent of ensure RAMDirectory is used underline?
$ curl -XPUT http://localhost:9200/myindex/ -d \ ' index : store: type: memory ' Thanks, -Mark -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/53b8cd87-237c-4990-80b5-25572a14a286%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
