RestHighLevelClient itself. This class was introduced to
support Elasticsearch 5.6.3, when the RestHighLevelClient didn't offer all needed functionality,
but now it does, so please use that one instead of this one.@Deprecated public class ElasticSearchRestClient extends org.elasticsearch.client.RestHighLevelClient
| Constructor and Description |
|---|
ElasticSearchRestClient(org.elasticsearch.client.RestClient restClient)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
createMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest,
org.apache.http.Header... headers)
Deprecated.
|
Set<Map.Entry<String,Object>> |
getMappings(String indexName,
org.apache.http.Header... headers)
Deprecated.
|
boolean |
refresh(String indexName,
org.apache.http.Header... headers)
Deprecated.
|
bulk, bulkAsync, ccr, clearScroll, clearScrollAsync, close, cluster, convertExistsResponse, count, countAsync, dataFrame, delete, deleteAsync, deleteByQuery, deleteByQueryAsync, deleteByQueryRethrottle, deleteByQueryRethrottleAsync, deleteScript, deleteScriptAsync, exists, existsAsync, existsSource, existsSourceAsync, explain, explainAsync, fieldCaps, fieldCapsAsync, get, getAsync, getLowLevelClient, getScript, getScriptAsync, graph, index, indexAsync, indexLifecycle, indices, info, ingest, license, machineLearning, mget, mgetAsync, migration, msearch, msearchAsync, msearchTemplate, msearchTemplateAsync, mtermvectors, mtermvectorsAsync, multiGet, multiGetAsync, multiSearch, multiSearchAsync, parseEntity, parseResponseException, performRequest, performRequest, performRequestAndParseEntity, performRequestAndParseEntity, performRequestAndParseOptionalEntity, performRequestAsync, performRequestAsync, performRequestAsyncAndParseEntity, performRequestAsyncAndParseEntity, performRequestAsyncAndParseOptionalEntity, ping, putScript, putScriptAsync, rankEval, rankEvalAsync, reindex, reindexAsync, reindexRethrottle, reindexRethrottleAsync, rollup, scroll, scrollAsync, search, searchAsync, searchScroll, searchScrollAsync, searchTemplate, searchTemplateAsync, security, snapshot, submitReindexTask, tasks, termvectors, termvectorsAsync, update, updateAsync, updateByQuery, updateByQueryAsync, updateByQueryRethrottle, updateByQueryRethrottleAsync, watcher, xpackpublic ElasticSearchRestClient(org.elasticsearch.client.RestClient restClient)
public final boolean refresh(String indexName, org.apache.http.Header... headers)
public Set<Map.Entry<String,Object>> getMappings(String indexName, org.apache.http.Header... headers) throws IOException
IOExceptionpublic final boolean createMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest,
org.apache.http.Header... headers)
throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.