public class InternalProcedures extends Object
| Constructor and Description |
|---|
InternalProcedures() |
| Modifier and Type | Method and Description |
|---|---|
static void |
hardReIndex(String indexNameToReIndex,
Map<String,org.gcube.rest.index.common.entities.fields.config.FacetType> fieldsTypesToSet)
Reindexes existing index for the provided fields and types.
|
static boolean |
softReIndex(String indexIDToReIndex,
Map<String,org.gcube.rest.index.common.entities.fields.config.FacetType> fieldsTypesToSet)
Reindexes existing index for the provided fields and types.
|
static void |
waitForYellowOrGreenIndexStatus(String index) |
static void |
waitForYellowOrGreenStatus() |
public static void waitForYellowOrGreenStatus()
public static void waitForYellowOrGreenIndexStatus(String index)
public static void hardReIndex(String indexNameToReIndex, Map<String,org.gcube.rest.index.common.entities.fields.config.FacetType> fieldsTypesToSet) throws IOException
indexNameToReIndex - fieldsTypesToSet - IOExceptionpublic static boolean softReIndex(String indexIDToReIndex, Map<String,org.gcube.rest.index.common.entities.fields.config.FacetType> fieldsTypesToSet) throws IOException
indexNameToReIndex - fieldsTypesToSet - IOExceptionCopyright © 2017. All Rights Reserved.