lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sami Siren <si...@apache.org>
Subject Re: is query cache persisted?
Date Wed, 13 Apr 2011 06:15:54 GMT
On Wed, Apr 13, 2011 at 6:44 AM, Yang <teddyyyy123@gmail.com> wrote:
> 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 ?

No it is not. What version of solr are you using? If you are seeing
this behaviour when using a browser and a pre 3.1 version of Solr I
think you are getting the results from browser cache:
https://issues.apache.org/jira/browse/SOLR-2389
Please see http://wiki.apache.org/solr/SolrConfigXml#HTTP_Caching for
more information about http caching in Solr.

--
 Sami Siren

Mime
View raw message