Class ElasticsearchPostUpgradeUtil
- java.lang.Object
-
- lumis.portal.bigdata.elasticsearch.ElasticsearchPostUpgradeUtil
-
public class ElasticsearchPostUpgradeUtil extends java.lang.Object
Elasticsearch related post upgrade tasks.- Since:
- 14.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchPostUpgradeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addLumAllEmbeddingsMapping()
Adds the lum all embeddings mapping during upgrade.static void
addOrUpdateDefaultComponentTemplates()
Add or update the default component templates (lumisportal--default). static void
adjustIndicesForSynonymsLiveReload()
Adjust current indices for synonyms live reloading.
-
-
-
Method Detail
-
adjustIndicesForSynonymsLiveReload
public static void adjustIndicesForSynonymsLiveReload()
Adjust current indices for synonyms live reloading.- Since:
- 14.0.0
-
addOrUpdateDefaultComponentTemplates
public static void addOrUpdateDefaultComponentTemplates()
Add or update the default component templates (lumisportal--default). - Since:
- 16.1.0
-
addLumAllEmbeddingsMapping
public static void addLumAllEmbeddingsMapping() throws PortalException
Adds the lum all embeddings mapping during upgrade.- Throws:
PortalException
- Since:
- 16.1.0
-
-