You can comment out (some) of the caches. There are some caches like field caches that are more at the lucene level and can't be disabled.
Can I ask what you are trying to prevent from being cached and why? Different caches are for different things, so it would seem to be an odd usecase to disable them all. Security? -Yonik On Tue, Aug 18, 2015 at 6:52 PM, Jamie Johnson <jej2...@gmail.com> wrote: > I see that if Solr is in realtime mode that caching is disable within the > SolrIndexSearcher that is created in SolrCore, but is there anyway to > disable caching without being in realtime mode? Currently I'm implementing > a NoOp cache that implements SolrCache but returns null for everything and > doesn't return anything on the get requests, but it would be nice to not > need to do this by being able to disable caching in general. Is this > possible? > > -Jamie