StreamingUpdateSolrServer doesn't send UpdateRequest.getParams()
----------------------------------------------------------------

                 Key: SOLR-3139
                 URL: https://issues.apache.org/jira/browse/SOLR-3139
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 4.0
            Reporter: Andrzej Bialecki 


CommonsHttpSolrServer properly encodes the request's SolrParams depending on 
GET or POST. However, StreamingUpdateSolrServer only looks at the params to 
determine whether they contain optimize/commit ops, and otherwise discards them.

This is unexpected - it should properly encode and send SolrParams per request, 
in a similar way as CommonsHttpSolrServer does. Currently this bug prevents one 
from e.g. selecting a different update chain per request when using the 
streaming server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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