Re: Accessing IndexReader during core initialization hangs init

2008-05-20 Thread Chris Hostetter
: While working on SOLR-572, I found that if I try to access the : IndexReader using SolrCore.getSearcher().get().getReader() within the : SolrCoreAware.inform method, the initialization process hangs. I haven't really thought about it before, but it seems logical that SolrCore.getSearcher() sho

Accessing IndexReader during core initialization hangs init

2008-05-15 Thread Shalin Shekhar Mangar
Hi, While working on SOLR-572, I found that if I try to access the IndexReader using SolrCore.getSearcher().get().getReader() within the SolrCoreAware.inform method, the initialization process hangs. Basically, the SolrCore.getSearcher halts at the searcherLock.wait() call in the snippet below: /