lucene-solr-dev mailing list archives

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


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:

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

> tests should be able to use RAMDirectory
> ----------------------------------------
>                 Key: SOLR-1830
>                 URL:
>             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.

View raw message