On Tue, Jul 24, 2012 at 8:24 AM, Nagendra Nagarajayya <nnagaraja...@transaxtions.com> wrote: > SolrIndexSearcher is a heavy object with caches, etc.
As I've said, the caches are configurable, and it's trivial to disable all caching (to the point where the cache objects are not even created). > The reader member is not replaced in the existing SolrIndexSearcher object. > The IndexSearcher.getIndexReader() method has been overriden in > SolrIndexSearcher and all direct reader member access has been replaced with > a getIndexReader() method call allowing a NRT reader to be supplied when > realtime is enabled. In a single Solr request (that runs through multiple components like query, highlight, facet, and response writing), does IndexSearcher.getIndexReader() always return the same reader? If not, this breaks pretty much every standard solr component - but it will only be apparent under load, and if you are carefully sanity checking the results. -Yonik http://lucidimagination.com