[ https://issues.apache.org/jira/browse/SOLR-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-796: ------------------------------- Attachment: SOLR-796-remove-searcher.patch this patch removes the searcher from DUH2 {code:java} - protected void openSearcher() throws IOException { - if (searcher==null) { - searcher = core.newSearcher("DirectUpdateHandler2"); - } - } - - protected void closeSearcher() throws IOException { - try { - if (searcher!=null) searcher.close(); - } finally { - // if an exception causes a lock to not be - // released, we could try to delete it. - searcher=null; - } - } {code} > remove unused SolrIndexSearcher from DUH2 > ----------------------------------------- > > Key: SOLR-796 > URL: https://issues.apache.org/jira/browse/SOLR-796 > Project: Solr > Issue Type: Improvement > Components: update > Reporter: Ryan McKinley > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-796-remove-searcher.patch > > > Since the DUH2 does not use the searcher for deletes anymore, it does not > need to be able to... > Check: http://www.nabble.com/Fwd%3A-read-only-SolrCore--td19769173.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.