lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
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.

Best
Erick

On Tue, Jan 3, 2012 at 8:35 AM, Dragon Fly <dragon-fly999@hotmail.com> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message