lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: IndexSearcher and multi-threaded performance
Date Wed, 12 Nov 2008 09:50:38 GMT

I think we really should open up a non-static way to choose a  
different FSDirectory impl?  EG maybe add optional Class to  
FSDirectory.getDirectory?  Or maybe give NIOFSDirectory a public  
ctor?  Or something?

Mike

Mark Miller wrote:

> Mark Miller wrote:
>> Thats a good point, and points out a bug in solr trunk for me.  
>> Frankly I don't see how its done. There is no code I can see/find  
>> to use it rather than FSDirectory. Still assuming there must be a  
>> way, but I don't see it...
>>
> Ah - brain freeze. What else is new :) You have to set the system  
> property to change implementations:  
> org.apache.lucene.FSDirectory.class is the property, set it to the  
> class. Been a long time...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message