Restarting Solr won't clear the disk cache. When I'm doing perf testing, I'll 
sometimes run this on the server before each test to clear out the disk cache:

echo 1 > /proc/sys/vm/drop_caches

-Michael

-----Original Message-----
From: Learner [mailto:bbar...@gmail.com] 
Sent: Friday, June 21, 2013 1:52 PM
To: solr-user@lucene.apache.org
Subject: Restarting SOLR will remove all cache?

I have a very simple question. Does restarting SOLR removes all caches 
(including disk caches if any?).

I have disabled all caches in solrconfig.xml but even then I see that there is 
some caching happening all the time.

I am currently doing some performance testing and I dont want cache to play any 
role now..

Reply via email to