Jest is a HTTP REST client for Java's Elasticsearch. Use with [elasticsearch] and/or [java]
Questions tagged [elasticsearch-jest]
161 questions
0
votes
0 answers
How to query + Reindex in AWS hosted Elasticsearch outside of Kibana
I have a problem in which I need to query for a subset of records on a large index containing a high volume of records, whilst running a Painless script with the search query to augment the result. The (much smaller) result is to be saved in a…

BPS
- 607
- 8
- 29
0
votes
1 answer
Reindex part of Elasticsearch index onto new index via Jest
I have a test ElasticSearch 6.0 index populated with millions of records, likely to be in the billions in production. I need to search for a subset of these records, then save this subset of the original set into a secondary index for later…

BPS
- 607
- 8
- 29
0
votes
1 answer
Filter context for should in bool query
Elasticsearch documentation says
If the bool query is a filter context or has neither must or filter then at least one of the should queries must match a document for it to match the bool query.
So I can have a bool query with a should clause…

Heartin
- 1
- 2
0
votes
1 answer
0
votes
1 answer
Spring data Jest version and Amazon ES versions, correlation between them
I'm trying to use Spring data Jest in order to interact with an Amazon ES cluster. Right now, 18/04/2018, Amazon documentation says that the available versions of ES are "6.2, 6.0, 5.5, 5.3, 5.1, 2.3, and 1.5".
According to Spring Data Jest…

chomp
- 1,352
- 13
- 31
0
votes
0 answers
Jest -- NoSuchMethodError: com.google.common.base.Preconditions.checkArgument
I am following this example and trying to use Jest as client to put data to AWS ElasticSearch, and I am using Scala 2.11
libraryDependencies ++= Seq(
"org.apache.flink" % "flink-core" % "1.3.2",
"org.apache.flink" % "flink-scala_2.11" %…

Chengzhi
- 2,531
- 2
- 27
- 41
0
votes
2 answers
How to add custom name in elastic search using JEST client?
How to add custom name to elastic search using JEST client?
For Example Using Spring data You can use custom name. Spring Data ES use Jackson. So, you can use @JsonProperty("your_custom_name") to enable custom name in ES Mapping

Arivazhagan L
- 39
- 1
- 13
0
votes
1 answer
Jest api bulk update to ES
I have huge number of documents that has to be indexed to Elasticsearch everyday. I tried with 50,000 records using JEST client. But the bulk operation fails after indexing 5000 or so records.
Is it possible to bulk update say 200K records in single…

ulab
- 1,079
- 3
- 15
- 45
0
votes
0 answers
Elastic search document update not working after upgrade to 5.6.3 from 2.x
I am using Jest Java HTTP Rest client for Elasticsearch to do crud operations.
I have script update to update elastic search document. below is my script sample
String script = "{\n" +
" \"script\" :…

ShaileshI
- 137
- 1
- 1
- 6
0
votes
1 answer
ElasticSearch JEST Client Java
I have written an elasticsearch client in java using JEST API. However, I cannot understand how to get the results from the HIT Object. I keep getting null as the result even though I can see the count of the results is correct.
Here is the relevant…

tsar2512
- 2,826
- 3
- 33
- 61
0
votes
1 answer
How to perform request with MultiSearch API in Jest?
I need to make some request with the MultiSearch API from Jest.
I tried to build Search request like this :
Search search = new Search.Builder(query).addIndex(index).addType(type).build();
And then, I add all these requests into a collection, to…

fmdaboville
- 1,394
- 3
- 15
- 28
0
votes
1 answer
The result of elasticsearch using jest api has double quotes("value") but I want to get just value for sure
guys.
I've struggled with something really weird. I want to get the result of Elasticsearch query, data(inside source). So this is a part of my code.
SearchResult result = jestClient.execute(search);
JsonObject json = result.getJsonObject();
…

sunsets
- 401
- 5
- 23
0
votes
2 answers
How to create FiltersAggregation query using JEST builders?
How can I create FiltersAggregation query using JEST AggregationBuilders or similar? I looked at FiltersAggregationIntegrationTest but query part is defined directly by JSON and I need something more like AggregationBuilders (as I'm using this for…

David Marko
- 2,477
- 3
- 27
- 58
0
votes
1 answer
retry_on_conflict in Jest ElasticSearch
Is it possible to somehow set the retry_on_conflict parameter while using Update.Builder in Jest ?
I'm trying to set the parameter but am clueless about how I would add this to my request.
Could I somehow add it to the "script" field as demonstrated…

Hormigas
- 1,429
- 5
- 24
- 45
0
votes
1 answer
I have an AWS Elasticsearch instance that I want to change the delimiter used when tokenizing
I'm currently using Jest to communicate with an AWS Elasticsearch instance running Elasticsearch 5.3. One of the fields is a URL, but I don't think a single period without following white space is considered a delimiter by default when Elasticsearch…

Z. D.
- 1
- 1