public class IndexFolderUpgrader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
upgradeIndicesIfNeeded(Settings settings,
NodeEnvironment nodeEnv)
Upgrades all indices found under
nodeEnv . |
public static void upgradeIndicesIfNeeded(Settings settings, NodeEnvironment nodeEnv) throws java.io.IOException
nodeEnv
. Already upgraded indices are ignored.java.io.IOException