From b49e90d2e9ba9df2d5023d805c62dcb932976681 Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 29 Nov 2013 22:10:14 +0100 Subject: [PATCH] remove reference to solrServlet from YaCy servlet select - reference is not used - solrServlet is used in Jetty branch and adjustments there conflict with unused solrServlet here. --- htroot/solr/select.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/htroot/solr/select.java b/htroot/solr/select.java index 042e6b134..5c0e497aa 100644 --- a/htroot/solr/select.java +++ b/htroot/solr/select.java @@ -25,11 +25,8 @@ import java.io.Writer; import java.util.HashMap; import java.util.Map; -import javax.servlet.ServletException; - import net.yacy.cora.document.encoding.UTF8; import net.yacy.cora.federate.solr.Ranking; -import net.yacy.cora.federate.solr.SolrServlet; import net.yacy.cora.federate.solr.connector.EmbeddedSolrConnector; import net.yacy.cora.federate.solr.responsewriter.EnhancedXMLResponseWriter; import net.yacy.cora.federate.solr.responsewriter.GSAResponseWriter; @@ -76,10 +73,8 @@ import org.apache.solr.util.FastWriter; */ public class select { - private static SolrServlet solrServlet = new SolrServlet(); private final static Map RESPONSE_WRITER = new HashMap(); static { - try {solrServlet.init(null);} catch (final ServletException e) {} RESPONSE_WRITER.putAll(SolrCore.DEFAULT_RESPONSE_WRITERS); XSLTResponseWriter xsltWriter = new XSLTResponseWriter(); OpensearchResponseWriter opensearchResponseWriter = new OpensearchResponseWriter();