public class ElasticSearchUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.elasticsearch.action.admin.indices.create.CreateIndexResponse |
createIndex(org.elasticsearch.client.Client client,
String indexName) |
static org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse |
indexExist(org.elasticsearch.client.Client client,
String indexName) |
static org.elasticsearch.action.support.master.AcknowledgedResponse |
putMapping(org.elasticsearch.client.Client client,
String indexName,
IElasticSearchMapping mapping) |
public static org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse indexExist(org.elasticsearch.client.Client client,
String indexName)
public static org.elasticsearch.action.admin.indices.create.CreateIndexResponse createIndex(org.elasticsearch.client.Client client,
String indexName)
public static org.elasticsearch.action.support.master.AcknowledgedResponse putMapping(org.elasticsearch.client.Client client,
String indexName,
IElasticSearchMapping mapping)
Copyright © 2019. All rights reserved.