Top "Elasticsearch-java-api" questions

How to talk to aws elasticsearch service using elastic java client?

I have set up a elasticsearch server using AWS elasticsearch service (Not EC2). It gave me an endpoint https://xxx-xxxxxxxx.…

amazon-web-services elasticsearch elasticsearch-java-api amazon-elasticsearch
How to do multiple filter query in Elasticsearch using Java?

I have build a web app on top of elasticsearch. I would like to do a multiple filter using Java. …

elasticsearch elasticsearch-java-api
Update By Query in Elasticsearch using Java

I’m currently using Elasticsearch V2.3.1. I want to use the following Elasticsearch query in Java. POST /twitter/_update_by_…

java elasticsearch elasticsearch-java-api
create dummy SearchResponse instance for ElasticSearch test case

I'm trying to create a dummy SearchResponse object by passing the values manually to the constructor. I have a JUnit …

java json elasticsearch junit elasticsearch-java-api
How to add bool query inside a should/must method in java api?

I have a query like this in elasticsearch: "query": { "bool": { "should": [ {"bool": { "must": [ {"term": { "field1": "value1" }}, {"term": { "field2": "value2" }} ]} }, {"bool": { "…

elasticsearch elasticsearch-java-api
How to connect to remote server using Elasticsearch Node Client Java

I am trying to connect to my server using Elasticsearch Java NodeBuilder Client. However I do not see any option …

java elasticsearch server client elasticsearch-java-api
Elasticsearch multiple condition query using java api

There are multiple documents containing around 100 fields each. I'd like to perform a following search trough elasticsearch Java API 5.x: …

java elasticsearch elasticsearch-java-api
Elasticsearch 7.x circuit breaker - data too large - troubleshoot

The problem: Since the upgrading from ES-5.4 to ES-7.2 I started getting "data too large" errors, when trying to write …

elasticsearch elasticsearch-java-api elasticsearch-7
SocketTimeoutException while retrieving or inserting data into Elastic Search by using Rest High Level Client

I'm facing SocketTimeoutException while retrieving/inserting data from/to elastic. This is happening when there are around 10-30 request/second. …

java azure elasticsearch elasticsearch-java-api azure-elasticpool
Elasticsearch RestHighLevelClient missing transitive dependencies

I'm trying to use the RestHighLevelClient via this dependency <dependency> <groupId>org.elasticsearch.client</groupId&…

java maven elasticsearch dependencies elasticsearch-java-api