[ https://issues.apache.org/jira/browse/SOLR-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Baranov updated SOLR-1379: ------------------------------- Attachment: SOLR-1379.patch Attached new patch. It eliminates the previously mentioned constraint. I managed not to change the existing classes, just new ones were added. But I think that we should look closer at using DirectoryFactory for accessing the Directory instance for the index. I believe re-opening Directory is overused in the current code. It didn't cause any problem because before introducing RAMDirectoryFactory only filesystem-based directories were used, but still it may affect the performance and lead to unwanted defects similar to the mentioned in the previous comment. > Add RAMDirectoryFactory > ----------------------- > > Key: SOLR-1379 > URL: https://issues.apache.org/jira/browse/SOLR-1379 > Project: Solr > Issue Type: New Feature > Affects Versions: 1.3 > Reporter: Alex Baranov > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-1379.patch, SOLR-1379.patch > > > Implement class RAMDirectoryFactory to make possible using RAMDirectory by > adding the next configuration in solrconfig.xml: > {code}<directoryFactory > class="org.apache.solr.core.RAMDirectoryFactory"/>{code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.