I think I'll have to upgrade then, thanks.
> Date: Thu, 5 Jan 2012 08:32:48 -0500
> Subject: Re: Commit data to disk ...
> From: erickerick...@gmail.com
> To: java-user@lucene.apache.org
>
> Lucene 2.0? I don't even know how to find the docs any more, I really
> s
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 wrote:
>
> Hi, I'm using Lucene 2.0 and was wondering how
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.