You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dean Gurvitz (JIRA)" <ji...@apache.org> on 2016/02/24 20:26:18 UTC

[jira] [Created] (SOLR-8731) onException behavior in search components

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org