public class LuceneLegacyIndexUpgrader extends Object
Currently index migration has 2 steps:
In case if one of the indexes can not be migrated migration is terminated and corresponding exception is thrown.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LuceneLegacyIndexUpgrader.Monitor |
| Modifier and Type | Field and Description |
|---|---|
static LuceneLegacyIndexUpgrader.Monitor |
NO_MONITOR |
| Constructor and Description |
|---|
LuceneLegacyIndexUpgrader(Path indexRootPath,
LuceneLegacyIndexUpgrader.Monitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
upgradeIndexes()
Perform index migrations
|
public static final LuceneLegacyIndexUpgrader.Monitor NO_MONITOR
public LuceneLegacyIndexUpgrader(Path indexRootPath, LuceneLegacyIndexUpgrader.Monitor monitor)
public void upgradeIndexes()
throws LegacyIndexMigrationException
LegacyIndexMigrationException - in case of exception during index migrationCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.