lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Commit data to disk ...
Date Thu, 05 Jan 2012 13:32:48 GMT
Lucene 2.0? I don't even know how to find the docs any more, I really
suggest you upgrade to something more recent.

In the 2.9 both IndexReader and IndexWriter have commit() methods.


On Tue, Jan 3, 2012 at 8:35 AM, Dragon Fly <> wrote:
> Hi, I'm using Lucene 2.0 and was wondering how to flush/commit index data to disk.  It
doesn't look like there is a flush() or commit() method in the 2.0 IndexWriter.  Is there
a way to flush the data without calling close()? Thank you.

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

View raw message