Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
temporary adding the old httpclient-3.1 again because the solrj classes need them. should be removed as soon solrj supports httpclient-4
orbiterd3c89b90cef8
diff --git a/addon/YaCy.app/Contents/Info.plist b/addon/YaCy.app/Contents/Info.plistindex c6f81e821..e8788dc2f 100644--- a/addon/YaCy.app/Contents/Info.plist+++ b/addon/YaCy.app/Contents/Info.plist@@ -45,6 +45,7 @@<string>$JAVAROOT/lib/bzip2.jar</string><string>$JAVAROOT/lib/commons-codec-1.4.jar</string><string>$JAVAROOT/lib/commons-fileupload-1.2.2.jar</string>+ <string>$JAVAROOT/lib/commons-httpclient-3.1.jar</string><string>$JAVAROOT/lib/commons-io-2.0.1.jar</string><string>$JAVAROOT/lib/commons-jxpath-1.3.jar</string><string>$JAVAROOT/lib/commons-logging-1.1.1.jar</string>diff --git a/build.xml b/build.xmlindex 90d41572e..4fac26818 100644--- a/build.xml+++ b/build.xml@@ -187,6 +187,7 @@<pathelement location="${lib}/bzip2.jar" /><pathelement location="${lib}/commons-codec-1.4.jar" /><pathelement location="${lib}/commons-fileupload-1.2.2.jar" />+ <pathelement location="${lib}/commons-httpclient-3.1.jar" /><pathelement location="${lib}/commons-io-2.0.1.jar" /><pathelement location="${lib}/commons-jxpath-1.3.jar" /><pathelement location="${lib}/commons-logging-1.1.1.jar" />diff --git a/lib/commons-httpclient-3.1.jar b/lib/commons-httpclient-3.1.jarnew file mode 100644index 000000000..7c59774aeBinary files /dev/null and b/lib/commons-httpclient-3.1.jar differdiff --git a/source/net/yacy/cora/services/federated/solr/SolrSingleConnector.java b/source/net/yacy/cora/services/federated/solr/SolrSingleConnector.javaindex c69df79f6..552f92e5c 100644--- a/source/net/yacy/cora/services/federated/solr/SolrSingleConnector.java+++ b/source/net/yacy/cora/services/federated/solr/SolrSingleConnector.java@@ -44,6 +44,7 @@ import net.yacy.kelondro.logging.Log;import org.apache.solr.client.solrj.SolrQuery;import org.apache.solr.client.solrj.SolrServer;import org.apache.solr.client.solrj.SolrServerException;+import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer;import org.apache.solr.client.solrj.request.ContentStreamUpdateRequest;import org.apache.solr.client.solrj.response.QueryResponse;import org.apache.solr.common.SolrDocumentList;@@ -72,7 +73,7 @@ public class SolrSingleConnector {this.transmissionQueue[i] = new ArrayBlockingQueue<SolrInputDocument>(transmissionQueueSize);}try {- this.server = new SolrHTTPClient(this.solrurl);+ this.server = new CommonsHttpSolrServer(this.solrurl);} catch (final MalformedURLException e) {throw new IOException("bad connector url: " + this.solrurl);}