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/26 15:08:18 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-8731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dean Gurvitz updated SOLR-8731:
-------------------------------
    Attachment: SOLR-8731.patch

> 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
>              Labels: features
>         Attachments: SOLR-8731.patch
>
>
> 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