Yonik, Mikhail, Alessandro After a lot of digging around and isolation, All u guys were right. I was using property based value and there was one place where it was 30 secs and that was overriding my main props.
Also Yonik thanks for the explanation on the real time searcher. I wasn't sure if the maxwarmingSearcher error I was getting also had something to do with it. Thanks a lot > On Jul 8, 2015, at 5:28 AM, Yonik Seeley <[email protected]> wrote: > > 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 <[email protected]> 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
