On Tue, 2013-08-20 at 20:04 +0200, Jean-Sebastien Vachon wrote: > Is there a way to flush the cache of all nodes in a Solr Cloud (by > reloading all the cores, through the collection API, ...) without > having to restart all nodes?
As MMapDirectory shares data with the OS disk cache, flushing of Solr-related caches on a machine should involve 1) Shut down all Solr instances on the machine 2) Clear the OS read cache ('sudo echo 1 > /proc/sys/vm/drop_caches' on a Linux box) 3) Start the Solr instances I do not know of any Solr-supported way to do step 2. For our performance tests we use custom scripts to perform the steps. - Toke Eskildsen, State and University Library, Denmark