lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stijn Vanhoorelbeke <stijn.vanhoorelb...@gmail.com>
Subject Re: Turn off caching
Date Fri, 11 Feb 2011 07:42:47 GMT
Hi,

You can comment out all sections in solrconfig.xml pointing to a cache.
However, there is a cache deep in Lucence - the fieldcache - that can't be
commented out. This cache will always jump into the picture....

If I need to do such things, I restart the whole tomcat6 server to flush ALL
caches.

2011/2/11 Li Li <fancyerii@gmail.com>

> do you mean queryResultCache? you can comment related paragraph in
> solrconfig.xml
> see http://wiki.apache.org/solr/SolrCaching
>
> 2011/2/8 Isan Fulia <isan.fulia@germinait.com>:
> > Hi,
> > My solrConfig file looks like
> >
> > <config>
> >  <updateHandler class="solr.DirectUpdateHandler2" />
> >
> >  <requestDispatcher handleSelect="true" >
> >    <requestParsers enableRemoteStreaming="false"
> > multipartUploadLimitInKB="2048" />
> >  </requestDispatcher>
> >
> >  <requestHandler name="standard" class="solr.StandardRequestHandler"
> > default="true" />
> >  <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
> >  <requestHandler name="/admin/"
> > class="org.apache.solr.handler.admin.AdminHandlers" />
> >
> >
> >  <queryResponseWriter  name="xslt"
> > class="org.apache.solr.request.XSLTResponseWriter">
> >  </queryResponseWriter>
> >  <!--config for the admin interface -->
> >  <admin>
> >    <defaultQuery>*:*</defaultQuery>
> >  </admin>
> > </config>
> >
> >
> > EveryTime I fire the same query so as to compare the results for
> different
> > configurations , the query result time is getting reduced because of
> > caching.
> > So I want to turn off the cahing or clear the ache before  i fire the
> same
> > query .
> > Does anyone know how to do it.
> >
> >
> > --
> > Thanks & Regards,
> > Isan Fulia.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message