public class SolrCoreInit extends AbstractLogEnabled implements Init, Serviceable, Configurable
Type | Property and Description |
---|---|
protected boolean |
updateAmetysUrlCore
Updates the Ametys URL on Solr server
|
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
_coreNames
The name of the cores to create.
|
protected SolrIndexer |
_solr
The Solr indexer.
|
Constructor and Description |
---|
SolrCoreInit() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
protected boolean |
createCores(Set<String> coreNames)
Create the cores.
|
void |
init()
Method to be implemented by user Init class.
|
void |
service(ServiceManager manager) |
protected boolean |
updateAmetysUrlCoreProperty()
Updates the Ametys URL on Solr server
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected boolean updateAmetysUrlCoreProperty
protected SolrIndexer _solr
protected Set<String> _coreNames
public SolrCoreInit()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void init() throws Exception
Init
protected boolean createCores(Set<String> coreNames)
coreNames
- the names of the cores to create.protected boolean updateAmetysUrlCoreProperty()