I'm using solr,

yes I have a setting for queryResultCache:

<queryResultCache class="solr.LRUCache" size="20000"
initialSize="10000" autowarmCount="5000"/>



so this cache is stored to disk and still valid across reboots ?

Thanks a lot
yang
On Tue, Apr 12, 2011 at 8:07 PM, Otis Gospodnetic
<otis_gospodne...@yahoo.com> wrote:
> Hi,
>
> Are you using raw Lucene or Solr?  If Solr, your query is probably cached in 
> the
> query results cache (see your solrconfig.xml).
>
> Otis
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>
>
>
> ----- Original Message ----
>> From: Yang <teddyyyy...@gmail.com>
>> To: general@lucene.apache.org
>> Sent: Tue, April 12, 2011 1:35:19 PM
>> Subject: is query cache persisted?
>>
>> I was trying to trace through the calls in Lucene,
>> and when I invoked the  same query for the second time, scorer.score()
>> is no longer called  anymore,
>> and the query returns very fast.
>>
>> this seems to be even this  case after I restarted tomcat, so I'm
>> wondering: is the query cache persisted  in Lucene?
>> if so, how could I purge it?
>>
>> Thanks a lot
>> Yang
>>
>

Reply via email to