On 1/23/2015 2:40 AM, Toke Eskildsen wrote: > If you have a single index on a box with enough memory to fully cache > the index data, I would recommend just using MMapDirectory without > involving tmpfs.
If it's Solr 4.x, I have pretty much the same advice, with one small change. I would actually use the default directory in Solr, which is NRTCachingDirectoryFactory. This is a wrapper directory implementation that provides a small amount of memory-based caching on top of another implementation. On 64-bit Java, the wrapped implementation will be MMapDirectory. Turning on updateLog is highly recommended with the NRT implementation. Thanks, shawn