public class ElasticsearchClientWrapper implements ElasticsearchClient
| Constructor and Description |
|---|
ElasticsearchClientWrapper(org.elasticsearch.client.RestClientBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.elasticsearch.action.index.IndexResponse |
index(org.elasticsearch.action.index.IndexRequest indexRequest,
org.elasticsearch.client.RequestOptions options) |
org.elasticsearch.action.search.SearchResponse |
search(org.elasticsearch.action.search.SearchRequest searchRequest,
org.elasticsearch.client.RequestOptions options) |
close, index, searchpublic ElasticsearchClientWrapper(org.elasticsearch.client.RestClientBuilder builder)
public org.elasticsearch.action.search.SearchResponse search(org.elasticsearch.action.search.SearchRequest searchRequest,
org.elasticsearch.client.RequestOptions options)
public org.elasticsearch.action.index.IndexResponse index(org.elasticsearch.action.index.IndexRequest indexRequest,
org.elasticsearch.client.RequestOptions options)
public void close()