lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mimounl <>
Subject IndexWriter.flush performance
Date Sun, 07 Dec 2008 12:27:23 GMT


In my application, I need to flush data each time a modification is made. So
each time an entry is added in the lucene index we call IndexWriter.flush
this way all data are secured on file system.

We noticed that this operation is more and more time consuming while the
size of the index raises.

How can I tune the index to have a duration constant for the flush operation

Before changing our logic for example flushing each "n" entries, I'd like to
be sure that there isn't something I miss.

I saw that the IndexWriter API changed in last version but our version is
2.3.1 that don't have for example the commit operation (and the flush method
is deprecated).

Thank you for your suggestions.
View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message