16 questions
-1
votes
1
answer
112
views
How to submit task in ElasticSearch Java API Client?
Now, RestHighLevelClient is deprecated.
So i want rewrite code with ElasticSearch Java Api Client in my spring project.
Most of the functions are being modified properly, but I have not found an ...
0
votes
1
answer
2k
views
Elasticsearch Java API Client TransportException [es/search] Failed to decode response
I am trying to set up the new Elasticsearch Java API Client.
Here is my configuration:
// Set up elasticsearch cluster hosts
String[] elasticsearchHosts = elasticsearchEndpoints.split(",&...
1
vote
2
answers
2k
views
Elasticsearch - Migrating from Java High Level Rest Client to New Java API Client of Version 8.x
I am using the new version 8.13 of Elasticsearch for a new search app and trying to imitate the below kind of logic using the new Java API client instead of using Java High Level Rest client which was ...
0
votes
0
answers
156
views
Migrating from ElasticSearch 1.7 to 7.17 using Java Client API - filteredQuery
I'm migrating from ES1.7 to 7.17. Facing some issues with implementing filteredQuery using Java Client API.
For example, in 1.7.5
QueryBuilder queryBuilder = QueryBuilders.filteredQuery(QueryBuilders....
1
vote
1
answer
3k
views
Bulk insert in elasticsearch using elasticsearch-java
I'm trying to bulk insert documents in elasticsearch using java with (elasticsearch-java).
I checked official documentation of elasticsearch-java and found information around bulk indexing in index, ...
0
votes
2
answers
2k
views
Update of a record in elastic using elastic 8.7 javaclient
I attempted to add a couple new fields to an existing record in elastic search. The record is being updated, however all previously indexed fields have been cleared.
Is there something am I doing ...
0
votes
1
answer
2k
views
Which Java ES client should I use with ElasticSearch 7.6 cluster?
I want to use Java API client provided by ElasticSearch but I don't know if it would be compatible with my cluster.
I saw there was ElasticSearch High Level REST client which has been deprecated for ...
0
votes
1
answer
1k
views
Elasticsearch noop update response not deserializable
My scripted update produces the following noop response since the condition was not met:
/my_idx/_update/my_doc_id
{
"_index": "my_idx",
"_type": "_doc",...