lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Clear cache used by Solr
Date Fri, 07 Jun 2013 11:32:03 GMT
I really question whether this is valuable. Much of Solr performance
is there explicitly because of caches, so what you're measuring
is disk I/O to fill caches and any other latency. I'm just not sure
what operational information you'll get here.

But assuming that you're really getting actionable data, you can
comment out all of the caches in the solrconfig.xml file to at least
remove those. The underlying lucene caches will not be emptied,
but they'll always be filled anyway for all the queries after the first
few, you can't avoid them.


On Fri, Jun 7, 2013 at 3:24 AM, Varsha Rani <> wrote:
> Hi
> I 'm trying to compare the performance of different Solr queries. In order
> to get a fair test, I want to clear the cache between queries.
> How is this done? Of course, one can restart the server, I was to know if
> there is a quicker way.
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message