Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-15206: improve CoreContainer constructor javadocs (#2443)

Christine Poerschked822a38a48b8
diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
index 201879849e4..c4fc7f1ae84 100644
--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java
+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
@@ -325,9 +325,8 @@ public class CoreContainer {
}
/**
- * Create a new CoreContainer using the given SolrResourceLoader,
- * configuration and CoresLocator. The container's cores are
- * not loaded.
+ * Create a new CoreContainer using the given configuration.
+ * The container's cores are not loaded.
*
* @param config a ConfigSolr representation of this container's configuration
* @see #load()
@@ -340,6 +339,14 @@ public class CoreContainer {
this(config, new CorePropertiesLocator(config.getCoreRootDirectory()), asyncSolrCoreLoad);
}
+ /**
+ * Create a new CoreContainer using the given configuration and locator.
+ * The container's cores are not loaded.
+ *
+ * @param config a ConfigSolr representation of this container's configuration
+ * @param locator a CoresLocator
+ * @see #load()
+ */
public CoreContainer(NodeConfig config, CoresLocator locator) {
this(config, locator, false);
}