elasticsearch-java icon indicating copy to clipboard operation
elasticsearch-java copied to clipboard

Official Elasticsearch Java Client

Results 222 elasticsearch-java issues
Sort by recently updated
recently updated
newest added

Why the FieldSort does not implement SortOptionsVariant? There is **Field** type in the SortOptions.Kind. The other Sort like ScoreSort, ScirptSort all implement SortOptionsVariant.

``` transport.search(request -> request .index(indexName) .query(query -> query .term(term -> term .field("testCaseId") .value(v -> v.stringValue(realValue)))), Void.class); ``` In HLRC, the type of value is Object, we write less code if...

>enhancement

Currently the High Level Rest Client supports bulks API to send documents encoded either in JSON or SMILE as stated in the [docs](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-document-bulk.html): ``` The Bulk API supports only documents...

Category: Enhancement

With Jackson we can deserialize json string with typeReference like this ``` objectMapper.readValue(str, new TypeReference(Map)() {}); ``` But now we only support .class ``` transport.search(searchRequest, Map.class); ```

>enhancement

Classes in `co.elastic.clients.elasticsearch._types` do not implement the hashCode/equals/toString methods This would be particularly useful for debugging or in unit tests, could the generator be improved to generate these methods?

Category: Enhancement

Trying a `SearchMvtRequest` gives an error as we are trying to serialise the response to Json: ``` RestClient restClient = RestClient.builder(new HttpHost("localhost", 9200)).build()); Transport transport = new RestClientTransport(restClient, new JacksonJsonpMapper());...

>enhancement
v8.0.0
v7.17.0

Elasticsearch is a big user of [randomized testing](https://labs.carrotsearch.com/randomizedtesting.html). The library however features a lot more, like thread leak detection in test cases. So a test suite fails, if a thread...

Just played around with the java-client today and saw, that the update documentation is missing, but already noted as TODO in #281. Played around with the update API and thought...

### Java API client version 8.4.2 ### Java version 17 ### Elasticsearch Version 8.4.2 ### Problem description Have an index with a mapping using a `path_hierarchy` tokenizer like ``` ......