Mike Drob created SOLR-15042:
--------------------------------
Summary: Provide API to get current index writer without throwing
IOException
Key: SOLR-15042
URL: https://issues.apache.org/jira/browse/SOLR-15042
Project: Solr
Issue Type: Task
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Mike Drob
We have a lot of code that calls {{SolrCoreState.getIndexWriter(null)}}, which
should never throw an exception, but we have to handle a checked IOException
anyway. We should create a new method that will only return the current index
writer without creating one, and does not throw, as this may simplify a lot of
calling code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]