public class CreateIndexLifecycleHook extends AbstractIndexAwareLifecycleHook
TargetLifecycleHook that creates an Elasticsearch index or a Crafter Search
based index.crafterSearchAdminService, elasticsearchAdminService, INDEX_ID_CONFIG_KEY, indexId, indexIdFormat, siteNameCONFIG_KEY_DISABLED, disabled, logger| Constructor and Description |
|---|
CreateIndexLifecycleHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute(Target target) |
doInit, setCrafterSearchAdminService, setElasticsearchAdminService, setIndexIdFormat, setSiteNameexecute, initpublic void doExecute(Target target) throws DeployerException
doExecute in class AbstractLifecycleHookDeployerExceptionCopyright © 2023. All rights reserved.