Re: opening a searcher lazily

2009-04-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
There was a deadlock issue originally when the searcher was loaded lazily. That is when we introduced the getNewestSearcher() method in SolrCore On Tue, Apr 28, 2009 at 11:43 PM, Chris Hostetter wrote: > > : is it required to open the searcher in the constructor of SolrCore?. > : We have a usecas

Re: opening a searcher lazily

2009-04-28 Thread Chris Hostetter
: is it required to open the searcher in the constructor of SolrCore?. : We have a usecase where we just open a SolrCore to write a document : and close it. Opening the searcher is proving to be quite expensive : for us. Hmmm... i suspect it was setup that way initially because "add" required a

opening a searcher lazily

2009-04-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi, is it required to open the searcher in the constructor of SolrCore?. We have a usecase where we just open a SolrCore to write a document and close it. Opening the searcher is proving to be quite expensive for us. -- --Noble Paul