public class FileESMigration
extends org.exoplatform.commons.upgrade.UpgradeProductPlugin
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_ES_INDEXATION_DONE_KEY |
static String |
FILE_ES_INDEXATION_KEY |
static String |
FILE_JCR_COLLABORATION_REINDEXATION_DONE_KEY |
static String |
FILE_JCR_SYSTEM_REINDEXATION_DONE_KEY |
asyncUpgradeExecution, executeOnlyOnce, OLD_PRODUCT_GROUP_ID, oldProductGroupId, PRODUCT_GROUP_ID, productGroupId, targetVersion, UPGRADE_COMPLETED_STATUS, UPGRADE_PLUGIN_ASYNC, UPGRADE_PLUGIN_ENABLE, UPGRADE_PLUGIN_EXECUTE_ONCE_PARAMETER, UPGRADE_PLUGIN_EXECUTION_ORDER, UPGRADE_PLUGIN_TARGET_PARAMETER| Constructor and Description |
|---|
FileESMigration(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.search.index.IndexingService indexingService,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.commons.search.index.IndexingOperationProcessor indexingOperationProcessor,
org.exoplatform.services.scheduler.JobSchedulerService jobSchedulerService) |
| Modifier and Type | Method and Description |
|---|---|
void |
indexInES()
Run the reindex all operation to fill the indexing queue with all files to index.
|
void |
processIndexation() |
void |
processUpgrade(String oldVersion,
String newVersion) |
void |
reindexJCR() |
boolean |
shouldProceedToUpgrade(String newVersion,
String previousVersion) |
afterUpgrade, beforeUpgrade, equals, getPluginExecutionOrder, getProductGroupId, getTargetVersion, getValue, hashCode, isAsyncUpgradeExecution, isEnabled, isExecuteOnlyOnce, shouldProceedToUpgrade, storeValueForPluginpublic static final String FILE_ES_INDEXATION_KEY
public static final String FILE_ES_INDEXATION_DONE_KEY
public static final String FILE_JCR_COLLABORATION_REINDEXATION_DONE_KEY
public static final String FILE_JCR_SYSTEM_REINDEXATION_DONE_KEY
public FileESMigration(org.exoplatform.container.xml.InitParams initParams,
org.exoplatform.commons.search.index.IndexingService indexingService,
org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.commons.search.index.IndexingOperationProcessor indexingOperationProcessor,
org.exoplatform.services.scheduler.JobSchedulerService jobSchedulerService)
public void processUpgrade(String oldVersion, String newVersion)
processUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPluginpublic boolean shouldProceedToUpgrade(String newVersion, String previousVersion)
shouldProceedToUpgrade in class org.exoplatform.commons.upgrade.UpgradeProductPluginpublic void indexInES()
throws Exception
Exceptionpublic void processIndexation()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.