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: IndexWriter.flush performance
Date Mon, 08 Dec 2008 17:45:46 GMT

IndexWriter.close() does a commit.

Otherwise you will (in 3.0) need to do it by hand.

Mike

Laurent Mimoun wrote:

>
>
> Michael McCandless-2 wrote:
>>
>>
>> So you should use commit sparingly, and, open your IndexWriter with
>> autoCommit=false.
>>
>
> Thank you for your respsonse.
>
> But I would be estonished that no code is provided in lucene API to  
> do the
> job of committing regularly modifications : do I really have to code  
> this by
> hand ?
>
> -- 
> View this message in context: http://www.nabble.com/IndexWriter.flush-performance-tp20880541p20899987.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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