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 13:44:43 UTC
[lucene-solr] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new d822a38 SOLR-15206: improve CoreContainer constructor javadocs (#2443)
d822a38 is described below
commit d822a38a48b8cc1844baad2e1e20088e90603847
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 2018798..c4fc7f1 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);
}