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/03/03 19:29:18 UTC
[jira] [Commented] (SOLR-8731) onException behavior in search
components
[ https://issues.apache.org/jira/browse/SOLR-8731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178314#comment-15178314 ]
Dean Gurvitz commented on SOLR-8731:
------------------------------------
Hello, I would really appreciate if someone took the time to inspect this issue. The patch is very small and simple, and reviewing it shouldn't take long
> 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, newdev
> Fix For: master
>
> 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