public interface SolrCoreDescriptor
| Modifier and Type | Method and Description |
|---|---|
default String |
getCoreName() |
default int |
getNumShards() |
default int |
getReplicationFactor() |
void |
initCoreDirectory(Path coreDir,
Path sharedLibDir) |
default void |
onCoreCreated(org.apache.solr.client.solrj.SolrClient solrClient) |
default void |
onCoreStarted(org.apache.solr.client.solrj.SolrClient solrClient) |
static void |
unpackSolrCoreDir(Path solrCoreBundle,
Path solrCoreDir) |
static void |
unpackSolrCoreZip(Path solrCoreBundle,
Path solrHome) |
static void |
unpackSolrCoreZip(Path solrCoreBundle,
Path solrHome,
ClassLoader classLoader) |
default int getNumShards()
default int getReplicationFactor()
default String getCoreName()
void initCoreDirectory(Path coreDir, Path sharedLibDir) throws IOException
IOExceptiondefault void onCoreCreated(org.apache.solr.client.solrj.SolrClient solrClient)
throws IOException,
org.apache.solr.client.solrj.SolrServerException
IOExceptionorg.apache.solr.client.solrj.SolrServerExceptiondefault void onCoreStarted(org.apache.solr.client.solrj.SolrClient solrClient)
throws IOException,
org.apache.solr.client.solrj.SolrServerException
IOExceptionorg.apache.solr.client.solrj.SolrServerExceptionstatic void unpackSolrCoreDir(Path solrCoreBundle, Path solrCoreDir) throws IOException
IOExceptionstatic void unpackSolrCoreZip(Path solrCoreBundle, Path solrHome) throws IOException
IOExceptionstatic void unpackSolrCoreZip(Path solrCoreBundle, Path solrHome, ClassLoader classLoader) throws IOException
IOExceptionCopyright © 2017–2018 redlink GmbH. All rights reserved.