Package org.codice.ddf.commands.solr
Class ReindexCommand
java.lang.Object
org.codice.ddf.commands.catalog.CommandSupport
org.codice.ddf.commands.solr.SolrCommands
org.codice.ddf.commands.solr.ReindexCommand
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
-
Field Summary
FieldsFields inherited from class org.codice.ddf.commands.solr.SolrCommands
CLOUD_SOLR_CLIENT_TYPE, configurationAdmin, configurationMap, DEFAULT_CORE_NAME, LOGGER, NAMESPACE, SEE_COMMAND_USAGE_MESSAGE, SOLR_CLIENT_PROP, SYSTEM_PROPERTIES_PATH, ZOOKEEPER_HOSTS_PROPFields inherited from class org.codice.ddf.commands.catalog.CommandSupport
console, MS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()protected voidsetAfterDate(String afterDate) protected voidsetBeforeDate(String beforeDate) protected voidsetCatalogFramework(ddf.catalog.CatalogFramework catalogFramework) protected voidsetCollection(String collection) protected voidprotected voidsetMetacardClient(SolrMetacardClientImpl metacardClient) protected voidsetNumThread(int numThreads) protected voidsetSolrjClient(org.apache.solr.client.solrj.SolrClient solrjClient) Methods inherited from class org.codice.ddf.commands.solr.SolrCommands
collectionExists, getBackupUrl, getCloudSolrClient, getCoreUrl, getReplicationUrl, getSolrDataDir, isSolrClientAvailable, isSystemConfiguredWithSolrCloud, optimizeCollection, printColor, printErrorMessage, printInfoMessage, printResponseErrorMessages, printStatus, printSuccessMessage, setConfigurationAdmin, shutdownMethods inherited from class org.codice.ddf.commands.catalog.CommandSupport
calculateRecordsPerSecond, printHeaderMessage, printProgressAndFlush
-
Field Details
-
EARLY_TIME
- See Also:
-
-
Constructor Details
-
ReindexCommand
public ReindexCommand()
-
-
Method Details
-
execute
- Throws:
Exception
-
setSolrjClient
protected void setSolrjClient(org.apache.solr.client.solrj.SolrClient solrjClient) -
setMetacardClient
-
setNumThread
protected void setNumThread(int numThreads) -
setCollection
-
setCatalogFramework
protected void setCatalogFramework(ddf.catalog.CatalogFramework catalogFramework) -
setAfterDate
-
setBeforeDate
-
setField
-