public class SolrAdministrationAgent extends LocatedManagementAgentBase
| Constructor and Description |
|---|
SolrAdministrationAgent(SolrAdministration administration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCoreCache(java.lang.String coreName)
remove internal data about the given core because it was removed or changed and the caches should be updated.
|
void |
clearCoreCaches()
clear internal caches after external admin operations.
|
java.lang.String |
create(java.lang.String core,
java.lang.String intanceDir)
Execute create action.
|
protected java.lang.String |
getCategory()
Gets the category.
|
java.lang.Object |
getCoreNames()
Execute getCoreNames action.
|
java.lang.Object |
getFieldNames(java.lang.String coreName)
Execute getFieldNames action.
|
protected java.lang.String |
getName()
Gets the name.
|
java.lang.String |
reload(java.lang.String core)
Execute reload action.
|
java.lang.String |
rename(java.lang.String core,
java.lang.String other)
Execute rename action.
|
java.lang.String |
unload(java.lang.String core)
Execute unload action.
|
getLocationpublic SolrAdministrationAgent(SolrAdministration administration)
solrAdmin - the SolrAdmin.protected java.lang.String getCategory()
getCategory in class LocatedManagementAgentBaseLocatedManagementAgentBase.getCategory()protected java.lang.String getName()
getName in class LocatedManagementAgentBaseLocatedManagementAgentBase.getName()public java.lang.String create(java.lang.String core,
java.lang.String intanceDir)
core - the core name.intanceDir - the instance directory.dataDir - the data directory.public java.lang.String reload(java.lang.String core)
core - the core name.public java.lang.String rename(java.lang.String core,
java.lang.String other)
core - the core name.other - the new core name.public java.lang.String unload(java.lang.String core)
core - the core name.public java.lang.Object getCoreNames()
public java.lang.Object getFieldNames(java.lang.String coreName)
coreName - the core name.public void clearCoreCaches()
public void clearCoreCache(java.lang.String coreName)