diff --git a/solr/src/java/org/apache/solr/core/CoreContainer.java b/solr/src/java/org/apache/solr/core/CoreContainer.java index 22abadfa1f0..2ea9b9255bb 100644 --- a/solr/src/java/org/apache/solr/core/CoreContainer.java +++ b/solr/src/java/org/apache/solr/core/CoreContainer.java @@ -78,8 +78,6 @@ public class CoreContainer protected String adminHandler; protected boolean shareSchema; protected String solrHome; - @Deprecated - protected String solrConfigFilenameOverride; protected String defaultCoreName = ""; private ZkController zkController; private SolrZkServer zkServer; @@ -219,15 +217,6 @@ public class CoreContainer "Setting abortOnConfigurationError==false is no longer supported"); } - public String getSolrConfigFilename() { - return solrConfigFilename; - } - - @Deprecated - public void setSolrConfigFilename(String solrConfigFilename) { - this.solrConfigFilename = solrConfigFilename; - } - // core container instantiation public CoreContainer initialize() throws IOException, ParserConfigurationException, SAXException { @@ -379,9 +368,7 @@ public class CoreContainer // deal with optional settings String opt = DOMUtil.getAttr(node, "config", null); - if(solrConfigFilenameOverride != null) { - p.setConfigName(solrConfigFilenameOverride); - } else if (opt != null) { + if (opt != null) { p.setConfigName(opt); } opt = DOMUtil.getAttr(node, "schema", null); diff --git a/solr/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java b/solr/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java index 52cf4d3fb2f..93bdddc1720 100644 --- a/solr/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java +++ b/solr/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java @@ -81,7 +81,6 @@ public class SolrDispatchFilter implements Filter try { // web.xml configuration this.pathPrefix = config.getInitParameter( "path-prefix" ); - init.setSolrConfigFilename(config.getInitParameter("solrconfig-filename")); this.cores = init.initialize(); abortOnConfigurationError = init.isAbortOnConfigurationError();