You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2015/06/02 05:28:17 UTC

[jira] [Commented] (SOLR-7623) Return the ability to override request dispatcher functions

    [ https://issues.apache.org/jira/browse/SOLR-7623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568454#comment-14568454 ] 

Ryan McKinley commented on SOLR-7623:
-------------------------------------

Before 5.2, we could override execute/sendError directly in the SolrDispatchFilter

At 5.2, it is not possible

After 5.2, you can override SolrDispatchFilter#getHttpSolrCall with an implementation that overrides execute/sendError

See:
https://svn.apache.org/r1683024 (branch_5x)
https://svn.apache.org/r1683025  (trunk)


> Return the ability to override request dispatcher functions
> -----------------------------------------------------------
>
>                 Key: SOLR-7623
>                 URL: https://issues.apache.org/jira/browse/SOLR-7623
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 5.2
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: Trunk, 5.3
>
>
> In SOLR-7484, the request dispatcher was refactored in a way that made it impossible to override basic functions.  In particular we need to be able to override:
> {code}
>  protected void execute(SolrQueryResponse rsp)
> {code}
> and
> {code}
> protected void sendError(int code, String message) throws IOException {
> {code}



--
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