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 22:33:39 GMT

Also, by OS is the one reason we can think of now, but that doesn't  
mean there aren't other reasons.

EG, who knows -- maybe for small indexes NIO doesn't help but for  
large ones it does (just an example) and so you'd want non-static  
choice.

Mike

Yonik Seeley wrote:

> On Wed, Nov 12, 2008 at 5:00 PM, Chris Hostetter
> <hossman_lucene@fucit.org> wrote:
>> since the choice of FSDirectory varient is largly going to be based  
>> on OS,
>> I can't think of any reason why a static setter method wouldn't be  
>> good
>> enough in this particular case.
>
> https://issues.apache.org/jira/browse/LUCENE-1451
>
> A custom subclass of FSDirectory could perhaps do something
> interesting... and something that you would want for some indicies and
> not for others.  If it's not too painful to allow it, perhaps we
> should.
>
> -Yonik
>
> ---------------------------------------------------------------------
> 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