You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Alex Baranov (JIRA)" <ji...@apache.org> on 2009/08/22 22:35:14 UTC

[jira] Updated: (SOLR-1379) Add RAMDirectoryFactory

     [ 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 patch with the implemented class.

However, the next constraint is present: RAMDirectoryFactory can be used only when the index already present on disk. For example, first, we can start Solr using StandardDirectoryFactory (default) so that Solr creates needed files in dataDir.

If this constraint is quite normal, please, let me know. To avoid it some changes need to be done in SolrCore and in DirectoryFactory API. 

Anyway I'm going to provide an alternative patch later to eliminate the constraint.

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