We commit immediately after each and every document submit.  I think we have to 
because we want to immediately retrieve a count on the number of documents of 
that type, including the one that we just submitted.  And my understanding is 
that if we don't commit immediately, the new document will not be part of the 
query results.

> Date: Thu, 11 Dec 2008 14:09:47 -0500
> From: markrmil...@gmail.com
> To: solr-user@lucene.apache.org
> Subject: Re: exceeded limit of maxWarmingSearchers=4
> 
> chip correra wrote:
> >         We’re using Solr as a backend indexer/search engine to support an 
> > AJAX based consumer application.  Basically, when users of our system 
> > create “Documents” in our product, we commit right away, because we want to 
> > immediately re-query and get counts back from Solr to update the user’s 
> > interface.  Occasionally, usually under load, we see the following error...
> >
> > ERROR [IndexSubscription] error committing changes to solr 
> > java.lang.RuntimeException: org.apache.solr.common.SolrException: Error 
> > opening new searcher. exceeded limit of maxWarmingSearchers=4, try again 
> > later.
> >
> > My understanding of Solr’s caches and warming searches is that we get 
> > nearly no value out of them because with many users, each only ever 
> > querying their own data, the caches would quickly be marked irrelevant by 
> > new unique user queries.
> >
> > So, we’ve tried setting <useColdSearcher>true</useColdSearcher>
> > And we’ve set all the cache autowarmCounts=”0”, for example: <documentCache 
> > class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0"/>
> >
> > Yet the same problem is periodically logged.
> >
> > Is there a way to disable warming Searches?  
> >
> > Should we even be trying this? 
> >
> > Is there a better configuration, i.e. Do we just set Warming Searches to a 
> > higher number? 
> >
> > I read in solr...@jira that removing this configuration all together forces 
> > the number of warming Searches be infinite – that can’t be good? 
> >
> >
> > _________________________________________________________________
> > Send e-mail anywhere. No map, no compass.
> > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008
> >   
> It likely means your committing too often. Pretty often if it happens 
> even with a cold searcher. Whats your commit policy?
> 

_________________________________________________________________
Send e-mail anywhere. No map, no compass.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008

Reply via email to