mirror of https://github.com/apache/lucene.git
SOLR-15206: improve CoreContainer constructor javadocs (#2443)
This commit is contained in:
parent
6ba9fe5be3
commit
d822a38a48
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue