Steve Molloy created SOLR-4166:
----------------------------------

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


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]

Reply via email to