[ https://issues.apache.org/jira/browse/SOLR-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894174#action_12894174 ]
Chantal Ackermann commented on SOLR-2020: ----------------------------------------- Concerning StreamingUpdateSolrServer's RequestEntity: The replacement is probably EntityTemplate which takes a ContentProducer as argument. http://hc.apache.org/httpcomponents-core/httpcore/apidocs/org/apache/http/entity/EntityTemplate.html http://hc.apache.org/httpcomponents-core/httpcore/apidocs/org/apache/http/entity/ContentProducer.html EntityTemplate entity = new EntityTemplate(new ContentProducer() { public void writeTo(OutputStream out) { // the current implementation of RequestEntity.writeRequest(OutputStream) in StreamingUpdateSolrServer } } The following lines (lines 149pp) need to be changed, as well. I can have a look at that (next days?). > HttpComponentsSolrServer > ------------------------ > > Key: SOLR-2020 > URL: https://issues.apache.org/jira/browse/SOLR-2020 > Project: Solr > Issue Type: New Feature > Components: clients - java > Affects Versions: 1.4.1 > Environment: Any > Reporter: Chantal Ackermann > Priority: Minor > Attachments: HttpComponentsSolrServer.java, > HttpComponentsSolrServerTest.java > > > Implementation of SolrServer that uses the Apache Http Components framework. > Http Components (http://hc.apache.org/) is the successor of Commons > HttpClient and thus HttpComponentsSolrServer would be a successor of > CommonsHttpSolrServer, in the future. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org