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

Reply via email to