Re: read-only SolrCore?

2008-10-01 Thread Yonik Seeley
On Wed, Oct 1, 2008 at 5:46 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: >>> It looks like we have access to the read only searcher, but never call >>> it. From SolrCore.java: >>> // gets a non-caching searcher >>> public SolrIndexSearcher newSearcher(String name) throws IOException { >>> return

Re: read-only SolrCore?

2008-10-01 Thread Ryan McKinley
It looks like we have access to the read only searcher, but never call it. From SolrCore.java: // gets a non-caching searcher public SolrIndexSearcher newSearcher(String name) throws IOException { return newSearcher(name, false); } This call was only used by the update handler to do g

Re: read-only SolrCore?

2008-10-01 Thread Yonik Seeley
> -- Forwarded message -- > From: Ryan McKinley <[EMAIL PROTECTED]> > From the lucene 2.4 draft announcement... > > * IndexReader can be opened with new readOnly=true mode, which gives > better performance in a multi-threaded environment. > > I don't normally delve into lucene in

Fwd: read-only SolrCore?

2008-10-01 Thread Ryan McKinley
Something funny is going on with my mail... It seems everything I have sent is disappearing... hopefully this will make it. -- Forwarded message -- From: Ryan McKinley <[EMAIL PROTECTED]> Date: Wed, Oct 1, 2008 at 4:21 PM Subject: read-only SolrCore? To: so