Questions tagged [elasticsearch-jest]

Jest is a HTTP REST client for Java's Elasticsearch. Use with [elasticsearch] and/or [java]

161 questions
3
votes
1 answer

Elasticsearch Delete by query using jest

I find an interesting feature called delete by query. How do I use it with jest client? Thanks!
Quy Tang
  • 3,929
  • 1
  • 31
  • 45
3
votes
1 answer

Is it possible to perform an ElasticSearch upsert with Jest

After looking through the documentation, I am still unsure - If an upsert can be performed against elasticsearch with the Jest java client library?
johnflan
  • 321
  • 4
  • 15
3
votes
2 answers

Service using Jest is blocking on threadpool, why?

I've a Java + Spring app that will query ElasticSearch using Jest client (poor choice because it is poorly documented). ElasticSearch has response times of about 8-20 ms with 150 concurrent connections, but my app goes up to 900 -1500 ms. A quick…
gotch4
  • 13,093
  • 29
  • 107
  • 170
2
votes
0 answers

Http Read timeouts on query calls to Elastic Search cluster

I'm troubleshooting an issue with our application hosted in K8s pod, which tries to query ES cluster through ES Jest Client. Most of the queries were successful, but randomly a call fails with read timeout. Any help will be appreciated. Jest Client…
2
votes
0 answers

Make a analyze api call using the JEST

I have a very simple requirement, I need to get the analyzed text of my search term based on the default analyzer set for my index. I am using the analyze API https://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-analyze.html to get…
Amit
  • 30,756
  • 6
  • 57
  • 88
2
votes
1 answer

403 Forbidden when trying to query AWS ElasticSearch cluster

I'm having issues performing requests using jest to an AWS ElasticSearch cluster v5.3. Reason is: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service…
Radu
  • 1,044
  • 3
  • 12
  • 35
2
votes
1 answer

Error the request signature. AWS ElasticSearch

When I want to delete an item from the index, it fails and shows us the next trace of ERROR: org.springframework.data.elasticsearch.ElasticsearchException: Cannot execute jest action , response code : 403 , error : 403 Forbidden , message :…
2
votes
1 answer

ElasticSearch java API to get multiple documents across indexes (using alias) using item id

ElasticSearch has GET API using which we can query on a single index for a particular document using the document Id. From Elasticsearch 5.1, GET API supports querying on documents on an alias too that can point to multiple indexes like this: GET…
2
votes
2 answers

ElasticsearchJestHealthIndicator : Health check failed when using Jest in spring boot

I'm using Jest at enter link description here in my spring boot application. Then I created the client with the example code : JestClientFactory factory = new JestClientFactory(); factory.setHttpClientConfig(new HttpClientConfig …
Xitrum
  • 7,765
  • 26
  • 90
  • 126
2
votes
1 answer

maven bundle (felix) error: missing requirement (osgi.wiring.package=io.searchbox.action)

I added io.searchbox dependency, even imported packet(like below) I still get error: Could not start bundle mvn:org.hub.app/hub/1.10.0 in feature(s) hub-1.10.0: Unresolved constraint in bundle hub [176]: Unable to resolve 176.0: missing…
remioxxo
  • 23
  • 5
2
votes
0 answers

Jest client - create multiple type mappings at once

Is there a way I can create multiple type mappings in one go using Jest? I have to create mappings with parent-child relationships and this can only be done if the mapping for the various types are created in one request.
tacobell
  • 61
  • 1
  • 7
2
votes
0 answers

Exception while making search query to elasticsearch

I am using elastic search 5.3 and for that, I used jest client 2.0.4. I have the use case to provide soft timeout while executing search query I provide that in SearchSourceBuilder searchSourceBuilder =…
2
votes
0 answers

ElasticSearch 5.2.2 socket read timed out

I moved from 2.2 to 5.2.2 of ES. I've been running some tests and have been getting two errors (one from logger and one from ES) Logger: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at…
arturobelano
  • 135
  • 14
2
votes
2 answers

JEST Bulk Request Issue

I am trying to run a Bulk Request through JEST and want to append my data (say "bills") one at a time and then execute all at once, however when i run the following code on 10 bills just the last bill is getting executed, can someone please correct…
Inherited Geek
  • 2,283
  • 2
  • 19
  • 26
2
votes
2 answers

Aggregations in Jest client without JSON query

While exploring aggregation in elasticsearch I found out that aggregation functionality can be implemented via JSON query in HTTP based JEST client but not in TCP based Java client. I am using Jest Client and implemented aggregation through query…
1 2
3
10 11