Skip to main content
Filter by
Sorted by
Tagged with
13 votes
3 answers
22k views

I have set up a elasticsearch server using AWS elasticsearch service (Not EC2). It gave me an endpoint https://xxx-xxxxxxxx.us-west-2.es.amazonaws.com/ and if I click this endpoint(Note that there is ...
Edmond's user avatar
  • 644
14 votes
1 answer
21k views

I'm facing SocketTimeoutException while retrieving/inserting data from/to elastic. This is happening when there are around 10-30 request/second. These requests are combination of get/put. Here is my ...
AshwinK's user avatar
  • 1,088
4 votes
2 answers
13k views

I'm trying to use the RestHighLevelClient via this dependency <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-...
Fabian's user avatar
  • 3,460
13 votes
2 answers
21k views

The problem: Since the upgrading from ES-5.4 to ES-7.2 I started getting "data too large" errors, when trying to write concurrent bulk request (or/and search requests) from my multi-threaded Java ...
dorony's user avatar
  • 1,082
7 votes
2 answers
17k views

I have build a web app on top of elasticsearch. I would like to do a multiple filter using Java. Elasticsearch Query: { "query": { "bool": { "must": [ {"match": { "T": ...
Rose's user avatar
  • 1,498
2 votes
3 answers
4k views

We wanted to create IndexRequest, DeleteRequest, UpdateRequest and BulkRequest in Elasticsearch version 8 using JAVA APIs. But I don't see any java documentation in elasticsearch v8 official website. ...
Dunggeon's user avatar
  • 110
2 votes
4 answers
4k views

I hava tried many version of elasticsearch-java but none of it can work. So, my elasticsearch version is 7.5.2, and the error resonse is like this: org.elasticsearch.client.ResponseException: method [...
Aki's user avatar
  • 33
2 votes
1 answer
2k views

Looking for pointers to know how Groovy script can be invoked using java api. test.groovy def value = dynamicValue return value Want to translate following query in Java: GET /test-index/...
Tushar Khanna's user avatar
2 votes
2 answers
3k views

I would like to retrieve all the documents from Elasticsearch, so I referred to the Search Scroll API. But my question is, it is not returning all the documents, I have 36 documents in one index, for ...
tisispa1's user avatar
  • 233
1 vote
1 answer
3k views

I want to know: do we have to call node.close() every time when we are done with our querying/searching process or just client.close() is fine? Here is my code: val node =nodeBuilder().client(true)....
sarah w's user avatar
  • 3,525
0 votes
0 answers
1k views

I have terms aggregation and I need sort result buckets by another field (date). Or I need to add 2 sub aggregations with max (and top hit) and min (and top hit). I didn't find any API that allows ...
Squeez's user avatar
  • 959