mirror of https://github.com/apache/lucene.git
SOLR-545 -- fixing javadoc reference to multicore.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@685649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53ac275c93
commit
489d042120
|
@ -50,7 +50,7 @@ public class SolrServlet extends HttpServlet {
|
||||||
public void init() throws ServletException {
|
public void init() throws ServletException {
|
||||||
log.info("SolrServlet.init()");
|
log.info("SolrServlet.init()");
|
||||||
|
|
||||||
// Check if the "multicore.xml" file exists -- if so, this is an invalid servlet
|
// Check if the "solr.xml" file exists -- if so, this is an invalid servlet
|
||||||
// (even if there is only one core...)
|
// (even if there is only one core...)
|
||||||
String instanceDir = SolrResourceLoader.locateInstanceDir();
|
String instanceDir = SolrResourceLoader.locateInstanceDir();
|
||||||
File fconf = new File(instanceDir, "solr.xml");
|
File fconf = new File(instanceDir, "solr.xml");
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class SolrUpdateServlet extends HttpServlet {
|
||||||
legacyUpdateHandler = new XmlUpdateRequestHandler();
|
legacyUpdateHandler = new XmlUpdateRequestHandler();
|
||||||
legacyUpdateHandler.init( null );
|
legacyUpdateHandler.init( null );
|
||||||
|
|
||||||
// Check if the "multicore.xml" file exists -- if so, this is an invalid servlet
|
// Check if the "solr.xml" file exists -- if so, this is an invalid servlet
|
||||||
// (even if there is only one core...)
|
// (even if there is only one core...)
|
||||||
String instanceDir = SolrResourceLoader.locateInstanceDir();
|
String instanceDir = SolrResourceLoader.locateInstanceDir();
|
||||||
File fconf = new File(instanceDir, "solr.xml");
|
File fconf = new File(instanceDir, "solr.xml");
|
||||||
|
|
Loading…
Reference in New Issue