public interface BwIndexCtlMBean extends org.bedework.util.jmx.ConfBaseMBean, IndexProperties
| Modifier and Type | Method and Description |
|---|---|
long |
getCollectionsDeleted() |
long |
getCollectionsUpdated() |
long |
getEntitiesDeleted() |
long |
getEntitiesUpdated() |
long |
getMessageCount() |
IndexStatsResponse |
indexStats(String indexName) |
boolean |
isStarted()
Lifecycle
|
String |
listIndexes() |
String |
loadConfig()
(Re)load the configuration
|
String |
makeAllProd()
Move the production index aliases to the latest index
|
String |
newIndexes()
Creates a new index for use by reindex
|
String |
purgeIndexes() |
String |
rebuildEntityIndex(String docType)
Crawl the db data and reindex the resources - this is done in place.
|
String |
rebuildIndex()
Crawl the db data and create indexes - listener should have been stopped.
|
List<String> |
rebuildStatus()
Get the current status of the reindexing process
|
String |
reindex(String docType)
Reindex the current docType index into a new index.
|
String |
setProdAlias(String indexName)
Move the production index alias to the given index
|
void |
start()
Start the indexer
|
void |
stop()
Stop the indexer
|
getConfigName, getStatus, saveConfig, setConfigName, setStatuscloneIt, getAccount, getClusterName, getDataDir, getDiscardMessages, getEmbeddedIndexer, getHttpEnabled, getIndexerConfig, getIndexerURL, getIndexPublic, getIndexUsers, getMaxEntityThreads, getMaxPrincipalThreads, getNodeName, getSkipPaths, getSkipPathsList, setAccount, setClusterName, setDataDir, setDiscardMessages, setEmbeddedIndexer, setHttpEnabled, setIndexerConfig, setIndexerURL, setIndexPublic, setIndexUsers, setMaxEntityThreads, setMaxPrincipalThreads, setNodeName, setSkipPaths, setSkipPathsListlong getMessageCount()
long getCollectionsUpdated()
long getCollectionsDeleted()
long getEntitiesUpdated()
long getEntitiesDeleted()
List<String> rebuildStatus()
String rebuildIndex()
String rebuildEntityIndex(String docType)
String newIndexes()
String reindex(String docType)
String setProdAlias(String indexName)
indexName - name of index to be aliasedString makeAllProd()
IndexStatsResponse indexStats(String indexName)
String listIndexes()
String purgeIndexes()
void start()
start in interface org.bedework.util.jmx.BaseMBeanvoid stop()
stop in interface org.bedework.util.jmx.BaseMBeanboolean isStarted()
String loadConfig()
Copyright © 2019 Bedework. All rights reserved.