You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2012/12/11 20:53:22 UTC
[jira] [Commented] (SOLR-4166) LBHttpSolrServer should not ignore
specified ResponseParser
[ https://issues.apache.org/jira/browse/SOLR-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529275#comment-13529275 ]
Commit Tag Bot commented on SOLR-4166:
--------------------------------------
[trunk commit] Mark Robert Miller
http://svn.apache.org/viewvc?view=revision&revision=1420362
SOLR-4166: LBHttpSolrServer ignores ResponseParser passed in constructor.
> LBHttpSolrServer should not ignore specified ResponseParser
> -----------------------------------------------------------
>
> Key: SOLR-4166
> URL: https://issues.apache.org/jira/browse/SOLR-4166
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Affects Versions: 4.0
> Reporter: Steve Molloy
> Assignee: Mark Miller
> Fix For: 4.1, 5.0
>
> Attachments: patch-4166.txt
>
>
> Even when using the constructor specifying which ResponseParser to use, LBHttpSolrServer always uses its internal BinaryResponseParser. This forces anyone who wants to use another parser to extend the LBHttpSolrServer class instead of passing it the desired parser, or even null in order to get the original stream.
> In general, it makes sense to have default values, and BinaryResponseParser is probably the best choice for LBHttpSolrServer, but ignoring the parameter is error prone for users.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org