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 newSearcher(name, false);
>>> }
>>
>> This call was only used by the update handler to do get a searcher to
>> do deletions... but we no longer do that (DUH2.openSearcher() is no
>> longer called).  So I think everything should be read-only.
>>
>> -Yonik
>
> so can remove the indexSearcher from DUH2?

Yep.
I left that logic in there in case we needed to re-introduce a reader
(i.e. me being lazy).

-Yonik

Reply via email to