lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1830) tests should be able to use RAMDirectory
Date Fri, 19 Mar 2010 20:28:28 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847557#action_12847557
] 

Yonik Seeley commented on SOLR-1830:
------------------------------------

So... I went and coded up a quick class to switch factories based on a system property...
and then realized that it was silly since we can just do this:

{code}
  <!--  solr.StandardDirectoryFactory is filesystem based, the default.
        solr.RAMDirectoryFactory is memory based and not persistent. -->
  <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
{code}

> tests should be able to use RAMDirectory
> ----------------------------------------
>
>                 Key: SOLR-1830
>                 URL: https://issues.apache.org/jira/browse/SOLR-1830
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Priority: Minor
>
> Tests should be able to use RAMDirectoryFactory.
> We probably want the ability to have ant switch between FS and RAM so both can be tested
(RAM normally, FS for nightly?)
> Some tests will need FS regardless, and those could use the same control mechanism as
ant, presumably a system property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message