Ok this is very surprising. 

I just ran the curl command 

curl --silent
http://xx.xx.xx.xx:8985/solr/collectionABC/update/?commit=true&openSearcher=false

And on the solr log file I can see these messages:

/Dec 16, 2012 10:44:14 PM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: start
commit{flags=0,_version_=0,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false}
Dec 16, 2012 10:44:25 PM org.apache.solr.core.SolrDeletionPolicy onCommit
INFO: SolrDeletionPolicy.onCommit: commits:num=2
       
commit{dir=NRTCachingDirectory(org.apache.lucene.store.MMapDirectory@/opt/solrfolder/example/solr/collection1/data/index.20121215192222458
lockFactor/

*After the searcher is opened I see these:
*

/Dec 16, 2012 10:44:28 PM org.apache.solr.update.DirectUpdateHandler2 commit
INFO: end_commit_flush
Dec 16, 2012 10:44:28 PM org.apache.solr.update.processor.LogUpdateProcessor
finish
INFO: [resumesnew] webapp=/solr path=/update
params={waitSearcher=true&commit=true&commit_end_point=true&expungeDeletes=false&wt=javabin&softCommit=false&version=2}
{commit=} 0 14155/


I can see that openSearcher is still being called, because a new searcher is
created in the log files. I am not sure why it is being called? Does
solrCloud ignore openSearcher=false? 

--Shreejay
shreejay wrote
> Hi Mark, 
> 
> That was a typo in my post. I am using openSearcher only. But still see
> the same log files. 
> 
> /update/?commit=true&openSearcher=false





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Commit-and-OpenSearcher-not-working-as-expected-tp4027419p4027462.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to