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

This commit is contained in:
Christine Poerschke 2021-03-02 13:44:24 +00:00 committed by GitHub
parent 6ba9fe5be3
commit d822a38a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -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);
}