siom
siom

Reputation: 1817

How to keep complete Solr index in memory?

I am running a Solr cluster with 6 nodes. Currently I evaluate the performance of the cluster. Articles about Solr tuning (like Solr Cache Tuning or High Performance Solr or Solr Caching) speak about caches and JVM tuning. But what I am interested in is how I can configure Solr to hold the complete index in memory (like an in-memory database). As I am not using the HDFSDirectory which has a parameter for block caches, I wonder if there is something similar for the "normal" Directory implementation?

Upvotes: 1

Views: 849

Answers (1)

fatih
fatih

Reputation: 1395

You can use the RAMDirectory which will store and query everything from the memory.

Upvotes: 1

Related Questions