Otis, 

I did restart the solr server but it may not be enough. I just deleted the 
tomcat work directory and it works now. No warming anymore. Thanks a lot for 
your information.

-Kevin



----- Original Message ----
From: Cheng Zhang <zhangyongji...@yahoo.com>
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 10:47:38 PM
Subject: Re: Decrease warmupTime

I did restart the solr server. Here is the config.

    <filterCache
      class="solr.LRUCache"
      size="512"
      initialSize="512"
      autowarmCount="128"/>

   <!-- queryResultCache caches results of searches - ordered lists of
         document ids (DocList) based on a query, a sort, and the range
         of documents requested.  -->
    <queryResultCache
      class="solr.LRUCache"
      size="512"
      initialSize="512"
      autowarmCount="0"/>

  <!-- documentCache caches Lucene Document objects (the stored fields for each 
document).
       Since Lucene internal document ids are transient, this cache will not be 
autowarmed.  -->
    <documentCache
      class="solr.LRUCache"
      size="512"
      initialSize="512"
      autowarmCount="0"/>

Thx.



----- Original Message ----
From: Otis Gospodnetic <otis_gospodne...@yahoo.com>
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 10:40:45 PM
Subject: Re: Decrease warmupTime

Have you restarted Solr after you made the change?
Can you paste your query result cache config?

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch




________________________________
From: Cheng Zhang <zhangyongji...@yahoo.com>
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 11:04:07 PM
Subject: Re: Decrease warmupTime

Hi Yonik,

I just changed the autowarmCount for queryResultCache but it did not work. In 
the log, it still shows warmupTime for autowarmCount is about 45 seconds.

      
queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=6,evictions=0,size=6,warmupTime=44055,cumulative_lookups=1,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=1,cumulative_evictions=0}



Any other suggestion? 

Thanks a lot,
Kevin



----- Original Message ----
From: Yonik Seeley <ysee...@gmail.com>
To: solr-user@lucene.apache.org
Sent: Friday, February 6, 2009 5:18:47 PM
Subject: Re: Decrease warmupTime

On Fri, Feb 6, 2009 at 5:12 PM, Cheng Zhang <zhangyongji...@yahoo.com> wrote:
> Is there any way to decrease this warmupTime?

Go into solrconfig.xml and reduce (or eliminate) the autowarm counts
for the caches.

-Yonik

Reply via email to