[
https://issues.apache.org/jira/browse/SOLR-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Miller resolved SOLR-4166.
-------------------------------
Resolution: Fixed
Thanks Steve!
> 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: [email protected]
For additional commands, e-mail: [email protected]