elasticsearch-java
elasticsearch-java copied to clipboard
Official Elasticsearch Java Client
### Java API client version 8.0.1 ### Java version ``` openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode) ```...
This method `serializeToString()` helps to generate the json String representation of any response or request object. This could be useful for debugging or for other usages like consuming the search...
### Java API client version 7.16.2 and 7.17.1 ### Java version java 11.0.14 2022-01-18 LTS ### Elasticsearch Version 7.16.2 ### Problem description Running snapshot restore with wait_for_completion=false does not work...
Hi, I found a weird behavior on bulk request. When you have and index with for example 3 shards, all documents go to same shard. If you put to index...
I used the client co.elastic.clients.elasticsearch.ElasticsearchClient#sql method to query, but the result did prompt deserialization exception, prompt unsupported operation exception, JsonpDeserializer class caused by the problem ```java ElasticsearchClient elasticsearchClient = getElasticsearchClient();...
The RestHighLevelClient allows for custom options for a highlighted field. In DSL: ``` "highlight": { "type": "my-custom-highlighter", "highlight_query": {[..]} "order": "score", "fields": { "my-field": { "options": { "foo": "bar" }...
### Java API client version 8.2.2 ### Java version jdk 11 ### Elasticsearch Version 8.2.2 ### Problem description Fully articulated here https://gist.github.com/KnowledgeGarden/f57ccc26f880ea5607416b2d13f13ab2 But the tldr is that this bit of...
This is a roadmap issue for the [Java API client documentation](https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/master/index.html). If you want additional topics to be addressed than the ones listed below, please add a comment. The documentation...
- using docs: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/connecting.html I get compile error - ES server 7.14.2 - java 8: ```java import co.elastic.clients.elasticsearch.ElasticsearchClient; import co.elastic.clients.elasticsearch.core.search.Hit; import co.elastic.clients.json.jackson.JacksonJsonpMapper; import co.elastic.clients.transport.ElasticsearchTransport; import co.elastic.clients.transport.rest_client.RestClientTransport; import java.io.IOException; import org.apache.http.HttpHost;...
### Java API client version v8/v7 ### Java version 11 ### Elasticsearch Version v8/v7 ### Problem description Reproducer: https://github.com/mingchuno/elasticsearch-java-client-issue-reproducer Steps to reproduce: 1. Start an Elasticsearch server with `xpack.security.enabled=true` and...