lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya <findbestopensou...@gmail.com>
Subject Re: Auto commit when flush
Date Thu, 28 Jun 2012 06:42:35 GMT
Hi Ram,

I guess IndexWriter.SetMaxBufferedDocs will help...

Regards
Aditya
www.findbestopensource.com


On Wed, Jun 27, 2012 at 11:25 AM, Ramprakash Ramamoorthy <
youngestachiever@gmail.com> wrote:

> Dear,
>
>        I am using Lucene for my log search tool. Is there a way I can
> automatically perform a commit operation on my IndexWriter when a
> particular set of docs is flushed from memory to the disk. My RamBufferSize
> is 24Mb and MergeFactor is 10.
>
>        Or is calling commit in manually calculated frequent intervals
> irrespective of the flushes the only way? I wish the autocommit  feature
> was not deprecated.
>
> --
> With Thanks and Regards,
> Ramprakash Ramamoorthy,
> Engineer Trainee,
> Zoho Corporation.
> +91 9626975420
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message