Class IndexCreation
java.lang.Object
com.digitalpebble.stormcrawler.opensearch.IndexCreation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckOrCreateIndex(org.opensearch.client.RestHighLevelClient client, String indexName, String boltType, org.slf4j.Logger log) static voidcheckOrCreateIndexTemplate(org.opensearch.client.RestHighLevelClient client, String boltType, org.slf4j.Logger log)
-
Constructor Details
-
IndexCreation
public IndexCreation()
-
-
Method Details
-
checkOrCreateIndex
public static void checkOrCreateIndex(org.opensearch.client.RestHighLevelClient client, String indexName, String boltType, org.slf4j.Logger log) throws IOException - Throws:
IOException
-
checkOrCreateIndexTemplate
public static void checkOrCreateIndexTemplate(org.opensearch.client.RestHighLevelClient client, String boltType, org.slf4j.Logger log) throws IOException - Throws:
IOException
-