Jest is a HTTP REST client for Java's Elasticsearch. Use with [elasticsearch] and/or [java]
Questions tagged [elasticsearch-jest]
161 questions
0
votes
1 answer
Adding a new HTTP client to Elasticsearch to support client apps to run against AWS Elasticsearch?
I am trying to add Elasticsearch HTTP access to the Titan ES client using JEST. titan-es only supports ES' local and transport (TCP) mode. But I would like to support communication over ES' HTTP interface. That would allow client libraries like…

Ingo
- 1,552
- 10
- 31
0
votes
1 answer
Unable to create an index with nested json using Jest elastic client
I am using java and Jest (https://github.com/searchbox-io/Jest) as a client for elastic search cluster.
Trying to create and index with the below structure in http://localhost:9200/myindex/mytype
{
"doc": {
"_content": "mycontent",
…

manu bhat
- 61
- 11
0
votes
1 answer
WrapperQueryBuilder - aggs query throwing Query Malformed exception
I have a Json query string:
"\"query\":{\"match_all\": {}},\"aggs\":{\"avg1\":{\"avg\":{\"field\":\"age\"} } }";
When query is executed via Jest Client, aggregation values are available.
But when this query is converted into a Query Builder…

DecKno
- 293
- 1
- 5
- 21
0
votes
1 answer
Jest Client instantiation based on cluster name /https URL/DNS name
Need to know if implementation of Jest client available for Https URL (not http- since it is available), or accessing Jest client only based on cluster name or based on DNS name.
suggest me if i am not aware of these implementations.
Issue opened on…

DecKno
- 293
- 1
- 5
- 21
0
votes
5 answers
how to write code for search in elasticsearch using jest client in java
I try this code URL is http://localhost:9200 index is restaurant type is menu.
I want pass id through the searchbuilder. Please anyone can help me. I got this output
722 [main] INFO io.searchbox.client.JestClientFactory - Node Discovery …

bhagavan
- 51
- 1
- 1
- 6
0
votes
0 answers
How to fix java.lang.NoClassDefFoundError:: io.searchbox.client.config.idle.ReapableConnectionManager
Hi When i try to configure jest client I got
java.lang.NoClassDefFoundError:: io.searchbox.client.config.idle.ReapableConnectionManager.
I use the mvn dependency of searchbox is .
io.searchbox
…

mohan
- 359
- 1
- 5
- 18
0
votes
1 answer
ES - Storing Percolate Queries using JEST
I'm using ES version 1.5.2, and making use of the JAVA APIs via JEST wrapper. I would like to create some percolate queries and store them in the index.
In some places, I see a syntax which suggests I can store percolate queries in any index, but…

Raunak
- 6,427
- 9
- 40
- 52
0
votes
1 answer
JestResult.getSourceAsObjectList - for "@timestamp" or seemingly any field starting with "@"
How would JestResult.getSourceAsObjectList be used to map the field "@timestamp"? Actually, I cannot figure out how to map any field with a name starting with "@". It keeps getting set to "null".
For example if the Elasticsearch query returns
{
…

Kyle Wong
- 43
- 8
0
votes
0 answers
Elastic search java client. Initialisation of TransportClient takes long time
Why does default initialisation of TransportClient() for elasticsearch takes much more time then initialisation of jest client?
Code for TransportClient:
private static Client client = new TransportClient()
.addTransportAddress(
…

Iana Mykhailenko
- 553
- 5
- 15
-1
votes
1 answer
Issue with SSL certificate incorporation in JEST elastic search rest java API
I am facing problem with connecting to elasticsearch(ELK) using Jest API. I am looking for rest based java API for ELK which supports SCROLL & SCAN and also support certificate based authentication.
I found out Jest and Flummi are the available…

Jeevika
- 155
- 1
- 4
- 18
-1
votes
1 answer
ClassNotFoundException using apache-common-lang3
I am using Elasticsearch Jest client to write my own client-app.
i keep getting this
java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
even though i've included all JARs in the build pass.
actions taken:
Disabled maven and…

Eitan Vesely
- 125
- 3
- 16