-Re: Help with MMapDirectoryFactory in 3.5
Chris Hostetter 2012-02-22, 02:46
: How do I see the setting in the log or in stats.jsp ? I cannot find a place
: that indicates it is set or not.
I don't think the DirectoryFactory plugin hook was ever setup so that it
can report it's info/stats ... it doesn't look like it implements
SOlrInfoMBean, so it can't really report anything about itself.
: I would assume StandardDirectoryFactory is being used but I do see (when I
: set it or NOT set it)
: readerDir :
this is because StandardDirectoryFactory uses FSDirectory .. if you check
out those docs you'll see...
>> Currently this returns MMapDirectory for most Solaris and Windows
>> 64-bit JREs, NIOFSDirectory for other non-Windows JREs, and
>> SimpleFSDirectory for other JREs on Windows.