Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
119 views

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 ...
Redwings's user avatar
  • 556
0 votes
0 answers
42 views

Goal I'm trying to search for users with a specific prefix. To that end, I have a query similar to this that works in Kibana: POST /_security/_query/user { "query": { "prefix"...
user11058144's user avatar
0 votes
1 answer
2k views

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(",&...
Murat K.'s user avatar
  • 1,447
0 votes
1 answer
125 views

I am migrating my project from the old Elasticsearch REST High Client to the new Java Api Client. I use Openapi generator and Mapstruct. In openapi.yml SortOrder: enum: - ASC ...
Murat K.'s user avatar
  • 1,447
1 vote
2 answers
2k views

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 ...
Xwin's user avatar
  • 163
0 votes
1 answer
173 views

I am using elasticsearch-java api client (8.10.3) and facing a small issue and I hope someone has already encountered this issue before. I am trying to perform a min aggregation on documents that may ...
Almog Oz's user avatar
0 votes
0 answers
161 views

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....
devilhector's user avatar
2 votes
1 answer
640 views

In Java, I can see there are 2 clients to work with elasticsearch: co.elastic and org.elasticsearch. I am not counting spring-data-elasticsearch here or any other top-level abstractions. These 2 ...
mipo256's user avatar
  • 3,366
1 vote
1 answer
3k views

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, ...
Ssk's user avatar
  • 13
0 votes
1 answer
865 views

I have a complex Elasticsearch String query which I don't want to create using Java classes. Is there a way I can achieve it so as to use it something like: Query query = getQueryFromString(...
Indrapreet's user avatar
0 votes
2 answers
2k views

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 ...
Phani Varma's user avatar
0 votes
1 answer
2k views

I have elasticsearch 8.6.1 version installed. I'm trying to add data using java API client. Code snippet is : restClient = restClientBuilder.build(); client = new ElasticsearchClient(new ...
Dhruvajyoti Chatterjee's user avatar
0 votes
1 answer
2k views

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 ...
Anonymous Panda's user avatar
0 votes
1 answer
709 views

I am trying to connect to elastic cloud instance from my spring boot application. I want to index document from my application to elasticsearch instance. This is my configuration file @Configuration ...
breakingcode's user avatar
0 votes
1 answer
1k views

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",...
linusv's user avatar
  • 4,118
1 vote
1 answer
866 views

Sorry if this is very obvious. we are currently using elasticsearch 7.9.2 for our application. As per documentation The Elasticsearch Java client is forward compatible; meaning that the client ...
Karthikeyan Amaresan's user avatar