Dne 29.10.2012 12:18, Michael McCandless napsal(a):
With Lucene 4.0, FSDirectory now supports merge bytes/sec throttling
(FSDirectory.setMaxMergeWriteMBPerSec): it rate limits that max
bytes/sec load on the IO system due to merging.

Not sure if it's been exposed in Solr / ElasticSearch yet ...
its not available in solr. Also solr class hierarchy for directory providers is bit different from lucene. In solr, MMAP DF and NIOFSDF needs to be subclass of StandardDF. then add write limit property to standardDF and it will be inherited by others like in lucene.

solr
http://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/core/CachingDirectoryFactory.html
lucene
http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/store/FSDirectory.html

Reply via email to