Re: When not to use NRTCachingDirectory and what to use instead.

2014-04-30 Thread Jeff Wartes
On 4/19/14, 6:51 AM, Ken Krugler kkrugler_li...@transpac.com wrote: The code I see seems to be using an FSDirectory, or is there another layer of wrapping going on here? return new NRTCachingDirectory(FSDirectory.open(new File(path)), maxMergeSizeMB, maxCachedMB); I was also curious

Re: When not to use NRTCachingDirectory and what to use instead.

2014-04-21 Thread Tom Burton-West
Hi Ken, Given the comments which seemed to describe using NRT for the opposite of our use case, I just set our Solr 4 to use the solr.MMapDirectoryFactory. Didn't bother to test whether NRT would be better for our use case, mostly because it didn't sound like there was an advantage and I've

Re: When not to use NRTCachingDirectory and what to use instead.

2014-04-19 Thread Ken Krugler
On Jul 10, 2013, at 9:16am, Shawn Heisey s...@elyograg.org wrote: On 7/10/2013 9:59 AM, Tom Burton-West wrote: The Javadoc for NRTCachingDirectoy ( http://lucene.apache.org/core/4_3_1/core/org/apache/lucene/store/NRTCachingDirectory.html?is-external=true) says: This class is likely only

When not to use NRTCachingDirectory and what to use instead.

2013-07-10 Thread Tom Burton-West
Hello all, The default directory implementation in Solr 4 is the NRTCachingDirectory (in the example solrconfig.xml file , see below). The Javadoc for NRTCachingDirectoy ( http://lucene.apache.org/core/4_3_1/core/org/apache/lucene/store/NRTCachingDirectory.html?is-external=true) says: This

Re: When not to use NRTCachingDirectory and what to use instead.

2013-07-10 Thread Shawn Heisey
On 7/10/2013 9:59 AM, Tom Burton-West wrote: The Javadoc for NRTCachingDirectoy ( http://lucene.apache.org/core/4_3_1/core/org/apache/lucene/store/NRTCachingDirectory.html?is-external=true) says: This class is likely only useful in a near real-time context, where indexing rate is lowish but