Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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...

http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/org/apache/lucene/store/FSDirectory.html#open%28java.io.File%29

>> 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.

-Hoss
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB