Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr >> mail # user >> Help with MMapDirectoryFactory in 3.5

Copy link to this message
Re: Help with MMapDirectoryFactory in 3.5

: 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 :  
: org.apache.lucene.store.MMapDirectory@C:\solr\jetty\example\solr\providersea
: rch\data\index

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.