You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2021/03/02 14:11:54 UTC
[lucene-solr] branch branch_8x updated: SOLR-15206: improve
CoreContainer constructor javadocs (#2443)
This is an automated email from the ASF dual-hosted git repository.
cpoerschke pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 4fa0d5d SOLR-15206: improve CoreContainer constructor javadocs (#2443)
4fa0d5d is described below
commit 4fa0d5da6ebb66844701409b103e3507038b1a03
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Tue Mar 2 13:44:24 2021 +0000
SOLR-15206: improve CoreContainer constructor javadocs (#2443)
---
solr/core/src/java/org/apache/solr/core/CoreContainer.java | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
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 d1d04da..e74630e 100644
--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java
+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
@@ -316,9 +316,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()
@@ -331,6 +330,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);
}