Re: Use of NRTCachingDirectoryFactory

2020-08-18 Thread Erick Erickson
In a word, “yes”. NRTCachingDirectory almost always “does the right thing” without any modifications based on your environment. Second, since Lucene uses MMapDirectory, the relevant portions of your index will already be in the OS’s RAM, which is why it’s a mistake to try to force it. All

Use of NRTCachingDirectoryFactory

2020-08-18 Thread Tushar Arora
Hi, One of our indexes has a size of around 1GB. And the production server has RAM of 16GB. And this is a slave server. Data replicates from the master server to it every 5 minutes. Is it a good practice to keep this index in RAM? I checked the solr.RAMDirectoryFactory. But, it does not work