public interface ElasticsearchAdminService extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
createIndex(String indexName,
boolean isAuthoring)
Creates an index
|
void |
deleteIndex(String indexName)
Deletes an index
|
closevoid createIndex(String indexName, boolean isAuthoring) throws ElasticsearchException
indexName - the name of the indexisAuthoring - indicates if the index if for authoringElasticsearchException - if there is any error during the operationvoid deleteIndex(String indexName) throws ElasticsearchException
indexName - the name of the indexElasticsearchException - if there is any error during the operationCopyright © 2020 CrafterCMS. All rights reserved.