On Sun, Nov 30, 2008 at 10:43 PM, Jon Baer <[EMAIL PROTECTED]> wrote:
> Sorry missed that (and probably dumb question), does that -D flag work for
> setting as a RAMDirectory as well?

Nope... that's implemented only in FSDirectory to specify a specific
subclass implementation (which RAMDirectory is not).

> - Jon
>
> On Nov 30, 2008, at 8:42 PM, Yonik Seeley wrote:
>
>> OK, the development version of Solr should now be fixed (i.e. NIO
>> should be the default for non-Windows platforms).  The next nightly
>> build (Dec-01-2008) should have the changes.
>>
>> -Yonik
>>
>> On Wed, Nov 12, 2008 at 2:59 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote:
>>>
>>> NIO support in the latest Solr development versions does not work yet
>>> (I previously advised that some people with possible lock contention
>>> problems try it out).  We'll let you know when it's fixed, but in the
>>> meantime you can always set the system property
>>> "org.apache.lucene.FSDirectory.class" to
>>> "org.apache.lucene.store.NIOFSDirectory" to try it out.
>>>
>>> for example:
>>>
>>> java
>>> -Dorg.apache.lucene.FSDirectory.class=org.apache.lucene.store.NIOFSDirectory
>>> -jar start.jar
>>>
>>> -Yonik
>
>

Reply via email to