Author: kwright
Date: Wed Apr 17 02:19:04 2013
New Revision: 1468720

URL: http://svn.apache.org/r1468720
Log:
Switch back to standard SolrJ HttpSolrServer, using multipart.

Modified:
    
manifoldcf/branches/CONNECTORS-674/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java

Modified: 
manifoldcf/branches/CONNECTORS-674/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-674/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java?rev=1468720&r1=1468719&r2=1468720&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-674/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-674/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
 Wed Apr 17 02:19:04 2013
@@ -265,7 +265,8 @@ public class HttpPoster
     }
 
     String httpSolrServerUrl = protocol + "://" + server + ":" + port + 
location;
-    HttpSolrServer httpSolrServer = new 
ModifiedHttpSolrServer(httpSolrServerUrl, localClient, new XMLResponseParser());
+    HttpSolrServer httpSolrServer = new HttpSolrServer(httpSolrServerUrl, 
localClient, new XMLResponseParser());
+    httpSolrServer.setUseMultiPartPost(true);
     // Set the solrj instance we want to use
     solrServer = httpSolrServer;
   }


Reply via email to