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-fly...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to