Please don't. At least not until you prove that this is where your bottleneck is. You haven't described what you're trying to fix by making such a change.
Solr/Lucene already works a _lot_ to keep the relevant bits of the index in memory. Additionally, the defaults use MMapDirectory, which makes use of the OS cache to hold yet more of the index in memory, see: http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html This feels like an "XY" problem, what is the reason you're interested? Best, Erick On Tue, Jun 24, 2014 at 1:25 AM, Lee Chunki <lck7...@coupang.com> wrote: > Hi Guys, > > As I know RAMDirectoryFactory setting does not work with replication. > ( > https://cwiki.apache.org/confluence/display/solr/DataDir+and+DirectoryFactory+in+SolrConfig > ) > > By the way, can I use it for replication slave nodes ( not master ) > or for SolrCloud ? > > Thanks, > Chunki. >