Questions tagged [elasticsearch-8]

30 questions
1
vote
0 answers

Make manual mapping with Elastic.Clients.Elasticsearch library in .NET 6

I want to do fluent mapping in my .NET Core 6 project with Elastic.Clients.Elasticsearch library, but I couldn't find anything in the documentation. Usage in NEST library: var createIndexResponse = _client.Indices.Create("myindex", c => c …
1
vote
0 answers

Elasticsearch 8: new OOM kills in comparison with ES7

We test Elasticsearch 8.7.0 cluster setup (to migrate from ES 7.17.9) and we face the problem that the voting-only node in the testing cluster is sometimes killed by OOM. We use almost identical setup like in our current production ES7…
tom-itsx
  • 31
  • 3
1
vote
1 answer

ElasticSearch: Aggregations for the count of documents that has empty nested array

Question- I want a count of documents where the nested array MATCHES is empty like "MATCHES": [ ]. My document structure looks like this(shows two records for simplicity) - { "hits": [ { "_type": "_doc", "_id":…
1
vote
3 answers

Elasticsearch 8.3 configuration in Spring Boot

I have been trying to implement Elastic Search 8.3 with spring boot. i am getting the below exception: Cannot convert value of type 'co.elastic.clients.elasticsearch.ElasticsearchClient' to required type…
Feroz Siddiqui
  • 3,840
  • 6
  • 34
  • 69
0
votes
0 answers

how to use a customised message instead of showing "No result found" for a table values

In ELK 8.7v Kibana how to use a customised message instead of showing "No result found" for a table values Main Goals : To show the table result if data present ; if there is no data than instead of showing "No result found" its should have some…
0
votes
1 answer

BadRequestError: BadRequestError(400, 'x_content_parse_exception', '[1:34] [bool] failed to parse field [must]') in Elastic Search (8.9.0)

Following is the semantic search code using elastic search. The code is supposed to return all the records matching the given input: INPUT = input("Enter the Input Query ") token_vector = token_instance.get_token(INPUT) query ={ "_source":…
Apoorva
  • 75
  • 6
0
votes
0 answers

Elastic Search 8 - interaction through the nested object

I'm trying to implement previous ES 5.6 logic for 8+ version. I need to go thought the nested property and do some checks. Any ideas how to do that? mapping: --- some_propetry one ----- nested property -------nested property ---------- boolean…
0
votes
1 answer

Elastic Search 8+ painless script filtering issue (no access to params._source via query)

I have an issue with ES filtering, and hope someone share a hint about it. Mapping: { "mappings": { "properties": { "some_availabilities": { "properties": { "default": { …
0
votes
1 answer

The Elasticsearch client version [7] is not compatible with the Elasticsearch cluster version [8.8.2]

I have upgraded Elasticsearch from 7.17.11 to 8.8.2. # curl localhost:9200 { "name" : "test.example.com", "cluster_name" : "es_master01", "cluster_uuid" : "U4n0aCHtTdinDZSH5jEcdg", "version" : { "number" : "8.8.2", "build_flavor" :…
Manoj Agarwal
  • 365
  • 2
  • 17
0
votes
1 answer

Upgrading elastic7 to elastic8 no reindexing required?

I just did a test upgrade from elastic 7.17.11 to 8.8.2 and was able to use my old indices and write to them without reindexing to a new index. The only information I found was upgrading from 5.x or 6.x to 8 - but nothing is stating required steps…
m_c
  • 59
  • 1
  • 9
0
votes
0 answers

Elasticsearch terms case-insensitive performance

I'm using ES 8.7 and 8.8, and considering about 2 searching scenarios: Indexing without lowercase normalizer and write terms query with case-insensitive is true Indexing with lowercase normalize and write terms query with lowercase value I'm…
0
votes
0 answers

Why Fluentd 1.x is not Creating Index in Elasticsearch 8.7 version?

But with same fluentD confgiurations fluentD is writing data to manual created Indexs in Elasticsearch. What confgiurations need to be done so that fluentD can create index in Elasticsearch by it's own. I am using https scheme and user name and…
0
votes
1 answer

Elasticsearch bool statement with should condition doesn't work as expected when using keyword_repeat filter

If i use the keyword_repeat filter in index settings, then when searching for a document through a bool query using should, only the first field of the match condition is searched. Elasticsearch version: 8.7.1 Creating an index curl -X PUT…
Ilya
  • 1
  • 1
0
votes
0 answers

What will be the new query this I was using in old version for search 7.17 now for 8.7 Elasticsearch with NODEJS

What will be the new query this I was using in old version for search 7.17: const { body } = await Client.search({ index: this.tableName, body: { sort: sortingData, from: skip, size: limit, query: { bool: { must:…
0
votes
0 answers

ElasticSearch Version Upgrade in AWS EKS using Helm Charts [7.17.3 -> 8.5.1]

Have deployed ElasticSearch version 7.17.3 in AWS EKS using helm chart https://github.com/elastic/helm-charts. My goal is to upgrade my ES to the latest version 8.5.1 using helm chart. I followed the steps mentioned in Upgrade Assistant in ES…
1
2