public class ElasticSearchRestClient
extends org.elasticsearch.client.RestHighLevelClient
Constructor and Description |
---|
ElasticSearchRestClient(org.elasticsearch.client.RestClient restClient) |
Modifier and Type | Method and Description |
---|---|
boolean |
createMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest,
org.apache.http.Header... headers) |
boolean |
delete(String indexName,
org.apache.http.Header... headers) |
Set<Map.Entry<String,Object>> |
getMappings(String indexName,
org.apache.http.Header... headers) |
boolean |
refresh(String indexName,
org.apache.http.Header... headers) |
bulk, bulkAsync, clearScroll, clearScrollAsync, delete, deleteAsync, exists, existsAsync, get, getAsync, index, indexAsync, info, parseEntity, parseResponseException, performRequest, performRequestAndParseEntity, performRequestAsync, performRequestAsyncAndParseEntity, ping, search, searchAsync, searchScroll, searchScrollAsync, update, updateAsync
public ElasticSearchRestClient(org.elasticsearch.client.RestClient restClient)
public final boolean refresh(String indexName, org.apache.http.Header... headers)
public final boolean delete(String indexName, org.apache.http.Header... headers) throws IOException
IOException
public Set<Map.Entry<String,Object>> getMappings(String indexName, org.apache.http.Header... headers) throws IOException
IOException
public final boolean createMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest, org.apache.http.Header... headers) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.