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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to