Questions tagged [elasticsearch-client]
13 questions
2
votes
3 answers
ElasticSearch Java API Client - Send already serialized data and avoid serialization
I have a Kafka Topic wit JSON data. Now im trying to send those JSON strings to an ES topic using the new "Java API Client" (https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/7.17/index.html), but im running into a parser…

wolle271
- 83
- 1
- 8
2
votes
1 answer
Elasticsearch client API
my question is about different Elasticsearch client APIs .. I wanted to migrate form Elasticsearch 6.2 to Elasticsearch 7
Currently i am using JEST Client library with elasticsearch v6.2, but its absolute now therefore with the upgrade i wanted to…

Ijaz Ahmed
- 2,330
- 4
- 19
- 27
1
vote
0 answers
Flatten Elasticsearch response
I'm trying to retrieve some documents from Elasticsearch with the new Java client api, but I can't figure out how to extract nested fields so that the structure would be flattened and easy to search after extraction.
Right now, the response is…

B. Bal
- 121
- 1
- 2
- 11
1
vote
1 answer
Elasticsearch.NET.InMemoryConnection not applying filters on responseData
I have a Elastic Client from Elasticsearch.Net which fetching data from InMemoryConnection and add Query filter on the search but result is not filtering. Its returning entire data from responseBody as result.
Am I missing something or this is how…

Keppy
- 471
- 1
- 7
- 23
1
vote
2 answers
Migrate NEST 6.6 to Elasticsearch client 8. Unclear on how to define analyzers
I'm trying to migrate my Elasticsearch to 8 and I am having difficulty understanding how to properly migrate my analyzer definitions.
This is the code I previously had (as simiplified as possible) using NEST 6.6:
Client.CreateIndex(
index =>…

apokryfos
- 38,771
- 9
- 70
- 114
1
vote
0 answers
ES7 Migration :: From Transport Client to API client
I know that there exists documentation for migrating ES7 clients from [TransportClient to HighLevelRestClient] and [HighLevelRestClient to API client]. But I want to check if it is possible to directly migrate from [TransportClient to APIClient]
Is…

chandu
- 403
- 1
- 6
- 15
1
vote
0 answers
d.e.r.s.AbstractElasticsearchRepository : Cannot create index: Index null not found.; nested exception is ElasticsearchException
am trying to create elastic search client for AWS open search API. When I tried am facing the below issue.
d.e.r.s.AbstractElasticsearchRepository : Cannot create index: Index null not found.; nested exception is…
1
vote
1 answer
How elasticsearch updateByQuery syntax works
I've been working with Elasticsearch for some days. As i'm creating a CRUD, I've come across the updateByQuery method. I'm working with nestjs, and the way that I'm updating a field is:
await this.elasticSearch.updateByQuery(
{
…

PedroSG
- 466
- 2
- 9
- 38
1
vote
0 answers
Can't consume elasticsearch 7.15.0 client within Angular10
I am using Angular10 and "@elastic/elasticsearch": "^7.15.0", and getting the following dependency errors,
ERROR in ./node_modules/@elastic/elasticsearch/lib/Connection.js
Module not found: Error: Can't resolve 'http' in…

o.aboamer
- 93
- 1
- 11
0
votes
0 answers
migrate from HighRestLevelClient to Java API client (ElasticSearchClient)
Good morning,
We are planning to upgrade to springboot3.0 and we are heavily using the deprecated client named HighRestLevelClient which is removed in springboot3 and replaced with the new java api client named ElasticSearchClient. however, we are…

user2676594
- 31
- 4
0
votes
0 answers
Cypress connectivity with ElasticSearch behaving differently for 'cypress open' and 'cypress run'
Elastic search version is old 7.9 and Cypress is trying to connect via plugins file using the javascript client. Problem overserved is that the code to fetch the data from required index works all good and logging shows the data fetched and printed…

user3946075
- 1
- 2
0
votes
0 answers
Elasticsearch "snapshot_restore_exception" "reason": snapshot does not exist" when snapshot status is SUCCESS
I am using the Java/Groovy client for ElasticSearch and I am trying to restore an ES snapshot during an upgrade. I am using the Groovy code I have so far for setting up my old and new clients and making them create & restore snapshots:
def…

marialadelbario
- 325
- 1
- 4
- 19
0
votes
1 answer
Elasticsearch High REST Client Upgrade from 6.x to 7.x
I am using Elasticsearch rest high level client (version 6.3.2) and I am trying to upgrade to Elasticsearch rest high level client (version 7.17.4)
I keep getting
error: cannot find symbol [ERROR] symbol: class XContentBuilder
I have…

Bhans345
- 39
- 1
- 3