# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=388

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 389

---

## [ElasticSearchRepository usage in java low level client](https://discuss.elastic.co/t/elasticsearchrepository-usage-in-java-low-level-client/312346)

<div class="topic-metadata">

**Author:** [@Gowri\_Shankkari](https://discuss.elastic.co/u/Gowri_Shankkari)\
**Replies:** 2\
**Last updated:** [August 19, 2022, 6:22am UTC](https://discuss.elastic.co/t/elasticsearchrepository-usage-in-java-low-level-client/312346 "2022-08-19T06:22:15Z")

</div>

I am using 'elasticsearch-rest-client:8.3.3' to connect elasticsearch using java low level rest client. Is there a way to use ElasticsearchRepository (@Document annotation) when using low level rest client. I know it is …

---

## [Regular Expression](https://discuss.elastic.co/t/regular-expression/312426)

<div class="topic-metadata">

**Author:** [@Pranjal\_Sett](https://discuss.elastic.co/u/Pranjal_Sett)\
**Replies:** 0\
**Last updated:** [August 19, 2022, 5:31am UTC](https://discuss.elastic.co/t/regular-expression/312426 "2022-08-19T05:31:09Z")

</div>

Hi, Can anyone please help me with this regular expression!! So, this is my string 'timerange={timerange from=\\"now/d\\" to=\\"now/d\\"}' I want to findall and replace with 'timerange={timerange from=\\"2022-08-19T04:00:00…

---

## [Circuit\_breaking\_exception for \[request\] Data too large, but index being queried is only 8.44mb](https://discuss.elastic.co/t/circuit-breaking-exception-for-request-data-too-large-but-index-being-queried-is-only-8-44mb/312418)

<div class="topic-metadata">

**Author:** [@Zelfapp](https://discuss.elastic.co/u/Zelfapp)\
**Replies:** 0\
**Last updated:** [August 19, 2022, 1:04am UTC](https://discuss.elastic.co/t/circuit-breaking-exception-for-request-data-too-large-but-index-being-queried-is-only-8-44mb/312418 "2022-08-19T01:04:00Z")

</div>

I'm getting this error when running the aggregation below. The index being queried is only 8.44mb. I was able to run these types of queries on a much smaller cluster, in terms of RAM, with ES v6 and never see these types…

---

## [Can we change SSL CA cert after adding license with old SSL](https://discuss.elastic.co/t/can-we-change-ssl-ca-cert-after-adding-license-with-old-ssl/312404)

<div class="topic-metadata">

**Author:** [@Dipesh](https://discuss.elastic.co/u/Dipesh)\
**Replies:** 1\
**Last updated:** [August 19, 2022, 12:13am UTC](https://discuss.elastic.co/t/can-we-change-ssl-ca-cert-after-adding-license-with-old-ssl/312404 "2022-08-19T00:13:04Z")

</div>

HI Team, Currently i am working on Elasticsearch 8.3 with self generated CA Cert and ssl's and i want to add license but have a doubt. can we change CA Certs after Adding License with old certs?

---

## [Elastic Search 7 on Microsoft Azure Connection Failure](https://discuss.elastic.co/t/elastic-search-7-on-microsoft-azure-connection-failure/312407)

<div class="topic-metadata">

**Author:** [@JSK1304](https://discuss.elastic.co/u/JSK1304)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 7:52pm UTC](https://discuss.elastic.co/t/elastic-search-7-on-microsoft-azure-connection-failure/312407 "2022-08-18T19:52:51Z")

</div>

I am new to Elasticsearch and I have created a 1 node Elasticsearch cluster in Microsoft Azure using the "Elastic Stack" template. But I am not able to connect to the cluster using connection pool or using a single node…

---

## [Migrating the index from 7.14 version to the new elasticsearch cluster with 8.0 version](https://discuss.elastic.co/t/migrating-the-index-from-7-14-version-to-the-new-elasticsearch-cluster-with-8-0-version/312400)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 7:33pm UTC](https://discuss.elastic.co/t/migrating-the-index-from-7-14-version-to-the-new-elasticsearch-cluster-with-8-0-version/312400 "2022-08-18T19:33:45Z")

</div>

Is it possible to migrate the data from elasticsearch cluster with 7.14 version to new cluster which is having 8.0 version? Is there any migration path has been defined for this activity? Any utilities available?

---

## [Trouble running the ELK-8.3.3 docker-compose instructions. failed to retrieve password hash](https://discuss.elastic.co/t/trouble-running-the-elk-8-3-3-docker-compose-instructions-failed-to-retrieve-password-hash/312403)

<div class="topic-metadata">

**Author:** [@Mike\_MacHenry](https://discuss.elastic.co/u/Mike_MacHenry)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 6:26pm UTC](https://discuss.elastic.co/t/trouble-running-the-elk-8-3-3-docker-compose-instructions-failed-to-retrieve-password-hash/312403 "2022-08-18T18:26:41Z")

</div>

Hey folks, I have copied the tutorial from here and I have been unable to make the basic tutorial work. I have followed it by copying the docker-compose.yaml and .env file, updating my passwords in the .env, and also vp…

---

## [Migrating from HLRC 7.17 to Java Client 8.13 - missing PercolateQueryBuilder](https://discuss.elastic.co/t/migrating-from-hlrc-7-17-to-java-client-8-13-missing-percolatequerybuilder/312300)

<div class="topic-metadata">

**Author:** [@javierco](https://discuss.elastic.co/u/javierco)\
**Replies:** 3\
**Last updated:** [August 18, 2022, 4:58pm UTC](https://discuss.elastic.co/t/migrating-from-hlrc-7-17-to-java-client-8-13-missing-percolatequerybuilder/312300 "2022-08-18T16:58:18Z")

</div>

I'm testing the migration of the Java api for High Level Rest Client version 7.17 into the new Java API Client 8.3 and I'm having problems finding the equivalent to: org.elasticsearch.percolator.PercolateQueryBuilder; L…

---

## [Aggregating child highlights into parent's score and result](https://discuss.elastic.co/t/aggregating-child-highlights-into-parents-score-and-result/312224)

<div class="topic-metadata">

**Author:** [@nickchomey](https://discuss.elastic.co/u/nickchomey)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 4:35pm UTC](https://discuss.elastic.co/t/aggregating-child-highlights-into-parents-score-and-result/312224 "2022-08-18T16:35:29Z")

</div>

I am trying to implement Elasticsearch for a forum (among other things), where we have Forum, Topics and Replies, each being a child of the previous. We can ignore Forum for now and just focus on the Topics and Replies a…

---

## [Can't use elasticsearch connector properly](https://discuss.elastic.co/t/cant-use-elasticsearch-connector-properly/312392)

<div class="topic-metadata">

**Author:** [@Sarindra\_Therese](https://discuss.elastic.co/u/Sarindra_Therese)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 2:18pm UTC](https://discuss.elastic.co/t/cant-use-elasticsearch-connector-properly/312392 "2022-08-18T14:18:23Z")

</div>

Hey, I need to use source connector elasticsearch to send data from elasticsearch to kafka. Unfortunately, i Have some trouble in elasticsearch, maybe i don't configure elasticsearch properly. when i go to this link h…

---

## [\[7.10.1\] Elasticsearch java client InterruptedException](https://discuss.elastic.co/t/7-10-1-elasticsearch-java-client-interruptedexception/312389)

<div class="topic-metadata">

**Author:** [@thiago123789](https://discuss.elastic.co/u/thiago123789)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 1:05pm UTC](https://discuss.elastic.co/t/7-10-1-elasticsearch-java-client-interruptedexception/312389 "2022-08-18T13:05:07Z")

</div>

I am using elasticsearch-rest-client version 7.10.1 with spring boot actuator to provide health check but sometimes elasticsearch is returning a null value with InterruptedException in a Future on RestClient. Caused by:…

---

## [\[Elastic Cloud\] Configuring trust with clusters in a self-managed environment](https://discuss.elastic.co/t/elastic-cloud-configuring-trust-with-clusters-in-a-self-managed-environment/311035)

<div class="topic-metadata">

**Author:** [@Simone\_Scarduzio](https://discuss.elastic.co/u/Simone_Scarduzio)\
**Replies:** 8\
**Last updated:** [August 18, 2022, 12:52pm UTC](https://discuss.elastic.co/t/elastic-cloud-configuring-trust-with-clusters-in-a-self-managed-environment/311035 "2022-08-18T12:52:33Z")

</div>

I have two ES clusters: Elastic Cloud (all the data is here) Self-managed cluster (no data, will use for cross-cluster-search in Elastic Cloud) I want the cluster #1 to trust #2, so I can use CSS. So I'm following you…

---

## [Custom domain for deployment - TLS certificate](https://discuss.elastic.co/t/custom-domain-for-deployment-tls-certificate/312376)

<div class="topic-metadata">

**Author:** [@edweis](https://discuss.elastic.co/u/edweis)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 11:26am UTC](https://discuss.elastic.co/t/custom-domain-for-deployment-tls-certificate/312376 "2022-08-18T11:26:58Z")

</div>

Hi, I want to have a custom endpoint es.mydomain.com that redirects conditionally to the closest Elasticsearch deployment to improve the latency of my Elasticsearch cluster in different regions. I have deployments in U…

---

## [How to add aggregions in KNN search?](https://discuss.elastic.co/t/how-to-add-aggregions-in-knn-search/310457)

<div class="topic-metadata">

**Author:** [@namespace-Pt](https://discuss.elastic.co/u/namespace-Pt)\
**Replies:** 4\
**Last updated:** [August 18, 2022, 11:21am UTC](https://discuss.elastic.co/t/how-to-add-aggregions-in-knn-search/310457 "2022-08-18T11:21:07Z")

</div>

I want to use aggregations over the search result of the knn\_search api (because I need facet search on the user interface), but I cannot pass the agg parameter as in the search api. Any suggestions?

---

## [Failed to deserialize response from handler](https://discuss.elastic.co/t/failed-to-deserialize-response-from-handler/312282)

<div class="topic-metadata">

**Author:** [@pspardeshi](https://discuss.elastic.co/u/pspardeshi)\
**Replies:** 2\
**Last updated:** [August 18, 2022, 10:32am UTC](https://discuss.elastic.co/t/failed-to-deserialize-response-from-handler/312282 "2022-08-18T10:32:17Z")

</div>

I am using scala+java application and running it on jdk 11 and calling Elasticsearch api for searching text. Recently upgraded from elasticsearch 5.5 to 7.17 and while search text getting below error. ERROR play.http.D…

---

## [Having trouble creating Elasticsearch Snapshot Repository](https://discuss.elastic.co/t/having-trouble-creating-elasticsearch-snapshot-repository/311868)

<div class="topic-metadata">

**Author:** [@yashverma](https://discuss.elastic.co/u/yashverma)\
**Replies:** 9\
**Last updated:** [August 18, 2022, 8:46am UTC](https://discuss.elastic.co/t/having-trouble-creating-elasticsearch-snapshot-repository/311868 "2022-08-18T08:46:44Z")

</div>

I want to create snapshot repository in order to backup elasticsearch indices locally. However I am getting error messages, I think I am not giving correct path in location. I have posted screenshots for better explanati…

---

## [Coordonating statistics for coordonating nodes](https://discuss.elastic.co/t/coordonating-statistics-for-coordonating-nodes/311834)

<div class="topic-metadata">

**Author:** [@Nicolaegis](https://discuss.elastic.co/u/Nicolaegis)\
**Replies:** 8\
**Last updated:** [August 18, 2022, 8:02am UTC](https://discuss.elastic.co/t/coordonating-statistics-for-coordonating-nodes/311834 "2022-08-18T08:02:29Z")

</div>

Hello, I know that all data nodes (role) have coordinating role as well. If I make a coordinating node in a cluster, how can I check it's statistics and performance from an ordinary data node? Thank you

---

## [What dose "realm\_authentication\_failed" really mean?](https://discuss.elastic.co/t/what-dose-realm-authentication-failed-really-mean/312334)

<div class="topic-metadata">

**Author:** [@ITzhangqiang](https://discuss.elastic.co/u/ITzhangqiang)\
**Replies:** 6\
**Last updated:** [August 18, 2022, 7:59am UTC](https://discuss.elastic.co/t/what-dose-realm-authentication-failed-really-mean/312334 "2022-08-18T07:59:08Z")

</div>

In auditlog,I saw the log below, what dose "realm\_authentication\_failed" really mean, this query was normal，why "realm\_authentication\_failed"? { "type":"audit", "timestamp":"2022-08-18T02:35:15,041+0000", "n…

---

## [Upgrade from 5.3.1 to 6.8.23](https://discuss.elastic.co/t/upgrade-from-5-3-1-to-6-8-23/312339)

<div class="topic-metadata">

**Author:** [@Andrey\_Tyutyunov](https://discuss.elastic.co/u/Andrey_Tyutyunov)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 7:53am UTC](https://discuss.elastic.co/t/upgrade-from-5-3-1-to-6-8-23/312339 "2022-08-18T07:53:52Z")

</div>

Good day! I have 3 nodes on 5.3.1 (index"es created in 5" version) and I need to upgrade to 6.8.23 without downtime. My plan is 5.3.1 -\> 5.6.16, 5.6.16 -\> 6.8.23. Can I upgrade according to this scheme? 5.3.1 + 5.3.1…

---

## [关于RestHighLevelClient的DeleteRequest的问题。](https://discuss.elastic.co/t/resthighlevelclient-deleterequest/312351)

<div class="topic-metadata">

**Author:** [@17661977890](https://discuss.elastic.co/u/17661977890)\
**Replies:** 0\
**Last updated:** [August 18, 2022, 7:18am UTC](https://discuss.elastic.co/t/resthighlevelclient-deleterequest/312351 "2022-08-18T07:18:51Z")

</div>

删除执行结果返回成功 DeleteResponse\[index=awaitz-prod-goods,type=\_doc,id=712810048943927296,version=1435,result=deleted,shards=ShardInfo{total=1, successful=1, failures=}\] 但是实际数据仍然在es中存在，并且可以查询到。此问题偶现，频率不高。 相关执行代码块：（主体方法是使用异步@A…

---

## [Resthighlevel client unit test is not working](https://discuss.elastic.co/t/resthighlevel-client-unit-test-is-not-working/311897)

<div class="topic-metadata">

**Author:** [@Apurba](https://discuss.elastic.co/u/Apurba)\
**Replies:** 2\
**Last updated:** [August 18, 2022, 6:05am UTC](https://discuss.elastic.co/t/resthighlevel-client-unit-test-is-not-working/311897 "2022-08-18T06:05:23Z")

</div>

I have written a method, below @Inject private RestHighLevelClient esClient; public SearchResponse getData(SearchRequest searchRequest) { try { SearchResponse searchResponse = esClient.s…

---

## [How keystore works](https://discuss.elastic.co/t/how-keystore-works/312274)

<div class="topic-metadata">

**Author:** [@GustavoPires](https://discuss.elastic.co/u/GustavoPires)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 3:59am UTC](https://discuss.elastic.co/t/how-keystore-works/312274 "2022-08-18T03:59:31Z")

</div>

Hello, can someone explain me what is the purpose of the keystore and how can I configure it?

---

## [How to generate shingles before synonyms filter?](https://discuss.elastic.co/t/how-to-generate-shingles-before-synonyms-filter/312235)

<div class="topic-metadata">

**Author:** [@mattkallo](https://discuss.elastic.co/u/mattkallo)\
**Replies:** 2\
**Last updated:** [August 17, 2022, 10:56pm UTC](https://discuss.elastic.co/t/how-to-generate-shingles-before-synonyms-filter/312235 "2022-08-17T22:56:32Z")

</div>

Hi, I understand we can't have token filters that produce multiple tokens before a synonyms filter. (Ensure TokenFilters only produce single tokens when parsing synonyms by romseygeek · Pull Request #34331 · elastic/ela…

---

## [Disk usage exceeded flood-stage watermark](https://discuss.elastic.co/t/disk-usage-exceeded-flood-stage-watermark/312294)

<div class="topic-metadata">

**Author:** [@Khaled\_Saidi](https://discuss.elastic.co/u/Khaled_Saidi)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 9:53pm UTC](https://discuss.elastic.co/t/disk-usage-exceeded-flood-stage-watermark/312294 "2022-08-17T21:53:10Z")

</div>

Hello everybody, I need some help on conception and settings. I have a cluster of 6 nodes running each one an elasticsearch server instance. An error was logged in logstash log file : TOO\_MANY\_REQUESTS/12/disk usage …

---

## [Error “S02000B61A1A001\>Service 'Elasticsearch 8.1.3 (elasticsearch-service-x64)' is not running. (No automatic restart is attempted)](https://discuss.elastic.co/t/error-s02000b61a1a001-service-elasticsearch-8-1-3-elasticsearch-service-x64-is-not-running-no-automatic-restart-is-attempted/312303)

<div class="topic-metadata">

**Author:** [@Coen](https://discuss.elastic.co/u/Coen)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 9:42pm UTC](https://discuss.elastic.co/t/error-s02000b61a1a001-service-elasticsearch-8-1-3-elasticsearch-service-x64-is-not-running-no-automatic-restart-is-attempted/312303 "2022-08-17T21:42:40Z")

</div>

As the title says “S02000B61A1A001\>Service 'Elasticsearch 8.1.3 (elasticsearch-service-x64)' is not running. (No automatic restart is attempted). This event seems to happen daily, the services are being started by us an…

---

## [MongoDB-SSPL-1.0 license issue](https://discuss.elastic.co/t/mongodb-sspl-1-0-license-issue/312317)

<div class="topic-metadata">

**Author:** [@xliu](https://discuss.elastic.co/u/xliu)\
**Replies:** 3\
**Last updated:** [August 17, 2022, 8:38pm UTC](https://discuss.elastic.co/t/mongodb-sspl-1-0-license-issue/312317 "2022-08-17T20:38:33Z")

</div>

We use elasticsearch 7.17.4. Nexus-iq reports 'Banned' license threat group ('MongoDB-SSPL-1.0'). Nexus IQ Server is Sonatype's policy engine. Sonatype has MongoDB-SSPL-1.0 in Banned list. The policy error comes out f…

---

## [Unable to create the repository for snapshots after mounting nfs share in the container](https://discuss.elastic.co/t/unable-to-create-the-repository-for-snapshots-after-mounting-nfs-share-in-the-container/312284)

<div class="topic-metadata">

**Author:** [@Bhagya\_09](https://discuss.elastic.co/u/Bhagya_09)\
**Replies:** 6\
**Last updated:** [August 17, 2022, 5:31pm UTC](https://discuss.elastic.co/t/unable-to-create-the-repository-for-snapshots-after-mounting-nfs-share-in-the-container/312284 "2022-08-17T17:31:31Z")

</div>

curl -k -u elastic:password -XPUT "http://localhost:9200/\_snapshot/backupes?pretty" -H 'Content-Type: application/json' -d'{"type": "fs","settings":{"location": "/es\_snapshots"}}' { "error" : { "root\_cause" : \[ { "t…

---

## [Elasticsearch into docker](https://discuss.elastic.co/t/elasticsearch-into-docker/311528)

<div class="topic-metadata">

**Author:** [@dav1](https://discuss.elastic.co/u/dav1)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 4:17pm UTC](https://discuss.elastic.co/t/elasticsearch-into-docker/311528 "2022-08-17T16:17:19Z")

</div>

Hit. I would like to use docker to run my elascticsearch. I use this image : docker.elastic.co/elasticsearch/elasticsearch:7.7.0 My environment : Windows 10 Docker Desktop (Docker version 20.10.17, build 100c701) do…

---

## [Event/Resource Correlation Detection](https://discuss.elastic.co/t/event-resource-correlation-detection/312196)

<div class="topic-metadata">

**Author:** [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 8:20pm UTC](https://discuss.elastic.co/t/event-resource-correlation-detection/312196 "2022-08-16T20:20:12Z")

</div>

Hi All, I was wondering if anyone has any ideas on how to achieve correlation detection between events and resources. Use Case I have a visualization which shows the 10 top process by memory usage on a system. It also…

---

## [Elasticsearch query fails intermittently](https://discuss.elastic.co/t/elasticsearch-query-fails-intermittently/312295)

<div class="topic-metadata">

**Author:** [@dsc-dev](https://discuss.elastic.co/u/dsc-dev)\
**Replies:** 0\
**Last updated:** [August 17, 2022, 2:14pm UTC](https://discuss.elastic.co/t/elasticsearch-query-fails-intermittently/312295 "2022-08-17T14:14:11Z")

</div>

I am trying to analyze why my below elastic query fails intermittently. It fails like 1 out of 3 times. The query seems correct as it works other times. Below is the python script along with the logs. we are running th…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=387)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=389)
