Dean Gurvitz created SOLR-8731: ---------------------------------- Summary: onException behavior in search components Key: SOLR-8731 URL: https://issues.apache.org/jira/browse/SOLR-8731 Project: Solr Issue Type: New Feature Components: SearchComponents - other Affects Versions: master Reporter: Dean Gurvitz Priority: Minor
The idea is to allow search components to execute logic in case an exception was thrown while processing a query. A new "onException" function can be added to the SearchComponent class. Then, parts of SearchHandler's handle-request functions can be surrounded in a try-catch block, where onException is called within the catch section on all relevant SearchComponents. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org