I don't think autocommit is deprecated, it's just commented out of the config
and using commitWithin (assuming you're working from SolrJ) is preferred if
possible.

But what governs "a particular set of docs"? What are the criteria
that determine when
you want to commit? Flushes and commits are orthogonal. A segment is kept open
through multiple flushes. That is, there can be many flushes and the documents
still aren't searchable until the first commit (but it sounds like
you're aware of that).

Have you tried using autocommit? And what version of Solr are you using?

And finally, what is your use case for frequent commits? If you're going after
NRT functionality, have  you looked at the NRT stuff in 4.x?

Best
Erick

On Thu, Jun 21, 2012 at 8:01 AM, Ramprakash Ramamoorthy
<youngestachie...@gmail.com> wrote:
> Dear,
>
>        I am using Lucene/Solr for my log search tool. Is there a way I can
> 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 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

Reply via email to