CommitWithin is either configured in solrconfig.xml for the
<autoCommit> or <autoSoftCommit> tags as the maxTime tag. I
recommend you do use this.

The other way you can do it is if you're using SolrJ, one of the
forms of the server.add() method takes a number of milliseconds
to force a commit.

You really, really do NOT want to use ridiculously short times for this
like a few milliseconds. That will cause new searchers to be
warmed, and when too many of them are warming at once you
get this error.

Seriously, make your commitWithin or autocommit parameters
as long as you can, for many reasons.

Here's a bunch of background:
http://searchhub.org/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

Best,
Erick


On Thu, Nov 14, 2013 at 5:13 AM, Loka <lokanadham.ga...@zensar.in> wrote:

> Hi Naveen,
> Iam also getting the similar problem where I do not know how to use the
> commitWithin Tag, can you help me how to use commitWithin Tag. can you give
> me the example
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/exceeded-limit-of-maxWarmingSearchers-ERROR-tp3252844p4100864.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to