A realtime searcher is necessary for internal bookkeeping / uses if a normal searcher isn't opened on a commit. This searcher doesn't have caches and hence doesn't carry the weight that a normal searcher would. It's also invisible to clients (it doesn't change the view of the index for normal searches).
Your hard autocommit at 8 minutes with openSearcher=false will trigger a realtime searcher to open on every 8 minutes along with the hard commit. -Yonik On Tue, Jul 7, 2015 at 5:29 PM, Summer Shire <shiresum...@gmail.com> wrote: > HI All, > > Can someone help me understand the following behavior. > I have the following maxTimes on hard and soft commits > > yet I see a lot of Opening Searchers in the log > org.apache.solr.search.SolrIndexSearcher - Opening Searcher@1656a258[main] > realtime > also I see a soft commit happening almost every 30 secs > org.apache.solr.update.UpdateHandler - start > commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=true,prepareCommit=false} > <autoCommit> > <maxTime>480000</maxTime> > <openSearcher>false</openSearcher> > </autoCommit> > > <autoSoftCommit> > <maxTime>180000</maxTime> > </autoSoftCommit> > I tried disabling softCommit by setting maxTime to -1. > On startup solrCore recognized it and logged "Soft AutoCommit: disabled" > but I could still see softCommit=true > org.apache.solr.update.UpdateHandler - start > commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=true,prepareCommit=false} > <autoSoftCommit> > <maxTime>-1</maxTime> > </autoSoftCommit> > > Thanks, > Summer