Hi Mikhail Khludnev, You are partially right. i.e. We have two separate processes accessing the same Lucene Directory but they do not run simultaneously. They run one after the other and only after the first one is completed. The commit from the EmbeddedServer is successful and I am posting the log below.
--------------------------------------------------------------------------------------- INFO: [] webapp=null path=/update/extract params={stream.type=text%2Fhtml&collectionName=docs} status=0 QTime=5 Apr 5, 2012 7:28:34 AM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start commit(optimize=false,waitSearcher=true,expungeDeletes=false,softCommit=false) Apr 5, 2012 7:28:34 AM org.apache.solr.core.SolrDeletionPolicy onCommit INFO: SolrDeletionPolicy.onCommit: commits:num=2 commit{dir=/opt/solr/home/data/docs_index/index,segFN=segments_4v,version=1333471748253,generation=175,filenames=[_5a.fdt, _5a_0.tip, _5a.fdx, _5a.tvf, _5a.tvx, segments_4v, _5a.tvd, _5a_0.prx, _5a.per, _5a_0.frq, _5a_0.tim, _5a.fnm] commit{dir=/opt/solr/home/data/docs_index/index,segFN=segments_4w,version=1333471748256,generation=176,filenames=[_5b.fnm, _5b.tvd, _5b.tvf, _5b_0.tip, _5b.nrm, _5b_0.tim, _5b.fdx, _5b_0.prx, _5b_0.frq, segments_4w, _5b.tvx, _5b.per, _5b.fdt] Apr 5, 2012 7:28:34 AM org.apache.solr.core.SolrDeletionPolicy updateCommits INFO: newest commit = 1333471748256 Apr 5, 2012 7:28:34 AM org.apache.solr.search.SolrIndexSearcher <init> INFO: Opening Searcher@17c232ee main Apr 5, 2012 7:28:34 AM org.apache.solr.update.DirectUpdateHandler2 commit INFO: end_commit_flush Apr 5, 2012 7:28:34 AM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming Searcher@17c232ee main{DirectoryReader(segments_4w:1333471748256 _5b(4.0):Cv1000)} from Searcher@658f7386 main{DirectoryReader(segments_4v:1333471748253 _5a(4.0):Cv16787)} fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Apr 5, 2012 7:28:34 AM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming result for Searcher@17c232ee main{DirectoryReader(segments_4w:1333471748256 _5b(4.0):Cv1000)} fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Apr 5, 2012 7:28:34 AM org.apache.solr.core.SolrCore registerSearcher INFO: [] Registered new searcher Searcher@17c232ee main{DirectoryReader(segments_4w:1333471748256 _5b(4.0):Cv1000)} Apr 5, 2012 7:28:34 AM org.apache.solr.search.SolrIndexSearcher close INFO: Closing Searcher@658f7386 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Apr 5, 2012 7:28:34 AM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {commit=} 0 344 Apr 5, 2012 7:28:34 AM org.apache.solr.core.SolrCore execute INFO: [] webapp=null path=/update params={commit=true&waitSearcher=true} status=0 QTime=344 Apr 5, 2012 7:28:34 AM org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {add=[009658]} 0 9 Apr 5, 2012 7:28:34 AM org.apache.solr.core.SolrCore execute INFO: [] webapp=null path=/update/extract params={stream.type=text%2Fhtml&collectionName=docs} status=0 QTime=9 ------------------------------------------------------------------------------------------------- Please let me know your thoughts. Thanks, PC Rao. -- View this message in context: http://lucene.472066.n3.nabble.com/EmbeddedSolrServer-and-StreamingUpdateSolrServer-tp3889073p3916521.html Sent from the Solr - User mailing list archive at Nabble.com.