# Elasticsearch

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

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

**Page:** 280

---

## [Correct way to do tiebreaking with search\_after query without PIT](https://discuss.elastic.co/t/correct-way-to-do-tiebreaking-with-search-after-query-without-pit/328941)

<div class="topic-metadata">

**Author:** [@martsraits](https://discuss.elastic.co/u/martsraits)\
**Replies:** 0\
**Last updated:** [March 30, 2023, 1:05pm UTC](https://discuss.elastic.co/t/correct-way-to-do-tiebreaking-with-search-after-query-without-pit/328941 "2023-03-30T13:05:03Z")

</div>

Hi We use search\_after queries to support infinite scroll in the front end. Previously we used \_id field for sorting to keep consistent order. In newer versions of Elasticsearch it's not possible to use \_id field for so…

---

## [Unable to communicate between 2 master nodes creating cluster issue](https://discuss.elastic.co/t/unable-to-communicate-between-2-master-nodes-creating-cluster-issue/328931)

<div class="topic-metadata">

**Author:** [@devarajsit](https://discuss.elastic.co/u/devarajsit)\
**Replies:** 4\
**Last updated:** [March 30, 2023, 12:31pm UTC](https://discuss.elastic.co/t/unable-to-communicate-between-2-master-nodes-creating-cluster-issue/328931 "2023-03-30T12:31:54Z")

</div>

I tried creating a new Elasticsearch cluster with 3 master nodes, 3 data nodes and 2 clients. All the 3 master nodes status is in Running but when i verified the logs of the third node, it says time out connecting to 1st…

---

## [Elasticsearch 7.3.2 witjh Java 17](https://discuss.elastic.co/t/elasticsearch-7-3-2-witjh-java-17/328932)

<div class="topic-metadata">

**Author:** [@Siva\_Karan](https://discuss.elastic.co/u/Siva_Karan)\
**Replies:** 1\
**Last updated:** [March 30, 2023, 12:29pm UTC](https://discuss.elastic.co/t/elasticsearch-7-3-2-witjh-java-17/328932 "2023-03-30T12:29:57Z")

</div>

Hi Team, We need run the elasticsearch 7.3.2 with java 17 version ,myself able to run the elasticsearch with java17 version, is this casue any issues in future.

---

## [Vector functions are not available in Sort Context? \[painless\] \[painful\]](https://discuss.elastic.co/t/vector-functions-are-not-available-in-sort-context-painless-painful/328737)

<div class="topic-metadata">

**Author:** [@MarynaCherniavska](https://discuss.elastic.co/u/MarynaCherniavska)\
**Replies:** 5\
**Last updated:** [March 30, 2023, 11:58am UTC](https://discuss.elastic.co/t/vector-functions-are-not-available-in-sort-context-painless-painful/328737 "2023-03-30T11:58:17Z")

</div>

Dear team, I am trying to use dotProduct() in a script sort and failing. The simplified case looks like this: Setting up the data PUT test\_index { "mappings": { "properties": { "v": { "type": "dens…

---

## [Connect elastic search to external react plugin](https://discuss.elastic.co/t/connect-elastic-search-to-external-react-plugin/328929)

<div class="topic-metadata">

**Author:** [@anik-27](https://discuss.elastic.co/u/anik-27)\
**Replies:** 2\
**Last updated:** [March 30, 2023, 11:56am UTC](https://discuss.elastic.co/t/connect-elastic-search-to-external-react-plugin/328929 "2023-03-30T11:56:29Z")

</div>

Hello there ! Is it possible to connect Elasticsearch to the external plugin created in react and use the data stored in indices without using node.js ?

---

## [External plugin connectivity with Elastic search](https://discuss.elastic.co/t/external-plugin-connectivity-with-elastic-search/328552)

<div class="topic-metadata">

**Author:** [@anik-27](https://discuss.elastic.co/u/anik-27)\
**Replies:** 4\
**Last updated:** [March 30, 2023, 11:41am UTC](https://discuss.elastic.co/t/external-plugin-connectivity-with-elastic-search/328552 "2023-03-30T11:41:38Z")

</div>

Hello there ! I have created an external plugin using React in Kibana Now I want to connect that to the Elastic search and use the data stored in one of the index. What are the possible options to achieve this ?

---

## [Elasticsearch Python Client's LicenseClient.post fails](https://discuss.elastic.co/t/elasticsearch-python-clients-licenseclient-post-fails/328850)

<div class="topic-metadata">

**Author:** [@kbujold\_wr](https://discuss.elastic.co/u/kbujold_wr)\
**Replies:** 1\
**Last updated:** [March 30, 2023, 11:33am UTC](https://discuss.elastic.co/t/elasticsearch-python-clients-licenseclient-post-fails/328850 "2023-03-30T11:33:32Z")

</div>

Hi, We have upgrade from 7.17.1 to 8.6.2. We are using the Elasticsearch Python Client. We are using LicenseClient.post which was working in 7.17.1 but now is failing with 8.6.2. I get this error from the client ApiEr…

---

## [Facing issue while inserting data into the index](https://discuss.elastic.co/t/facing-issue-while-inserting-data-into-the-index/328917)

<div class="topic-metadata">

**Author:** [@Balraj\_Periasamy](https://discuss.elastic.co/u/Balraj_Periasamy)\
**Replies:** 7\
**Last updated:** [March 30, 2023, 11:04am UTC](https://discuss.elastic.co/t/facing-issue-while-inserting-data-into-the-index/328917 "2023-03-30T11:04:08Z")

</div>

Hi, I am facing issue while inserting the data into Elasticsearch. All data is going to Elastic queue and its taking time to insert the data into index. I am using Elasticsearch docker image

---

## [Required Elastic Query with having Clause in Aggregation](https://discuss.elastic.co/t/required-elastic-query-with-having-clause-in-aggregation/328920)

<div class="topic-metadata">

**Author:** [@Sunny\_Gupta](https://discuss.elastic.co/u/Sunny_Gupta)\
**Replies:** 1\
**Last updated:** [March 30, 2023, 9:57am UTC](https://discuss.elastic.co/t/required-elastic-query-with-having-clause-in-aggregation/328920 "2023-03-30T09:57:46Z")

</div>

If Have One index having records with Properties Email and Event We have different Events like Submitted, Delivered,Bounce etc. I want to Get those record that available in Submitted only. Means If any Email has to de…

---

## [Trying to configure the Watcher within the ELK](https://discuss.elastic.co/t/trying-to-configure-the-watcher-within-the-elk/328801)

<div class="topic-metadata">

**Author:** [@ashwin2610](https://discuss.elastic.co/u/ashwin2610)\
**Replies:** 3\
**Last updated:** [March 30, 2023, 9:09am UTC](https://discuss.elastic.co/t/trying-to-configure-the-watcher-within-the-elk/328801 "2023-03-30T09:09:50Z")

</div>

Version: 8.6.2 Trying to configure the o365 password within keystore using the below command as defined in the doc: bin/elasticsearch-keystore add xpack.notification.email.account.exchange\_account.smtp.secure\_password …

---

## [Unresolved reference 'Aggregation, Size, TrackTotalHits, Pretty, Sort, and Do'](https://discuss.elastic.co/t/unresolved-reference-aggregation-size-tracktotalhits-pretty-sort-and-do/328884)

<div class="topic-metadata">

**Author:** [@golofetuk](https://discuss.elastic.co/u/golofetuk)\
**Replies:** 3\
**Last updated:** [March 30, 2023, 7:34am UTC](https://discuss.elastic.co/t/unresolved-reference-aggregation-size-tracktotalhits-pretty-sort-and-do/328884 "2023-03-30T07:34:24Z")

</div>

I am trying to execute a search on the Elasticsearch client in Go olivere/elastic, using the appropriate client library for Elasticsearch version 7.x. The expected behavior is to compile the code without errors and retur…

---

## [ERROR: Invalid Host Header Requests](https://discuss.elastic.co/t/error-invalid-host-header-requests/328885)

<div class="topic-metadata">

**Author:** [@irfancankaleli](https://discuss.elastic.co/u/irfancankaleli)\
**Replies:** 7\
**Last updated:** [March 30, 2023, 7:31am UTC](https://discuss.elastic.co/t/error-invalid-host-header-requests/328885 "2023-03-30T07:31:22Z")

</div>

We are running Elasticsearch v6.8.0 on AWS OpenSearch Service, through VPN, and we use following elasticsearch client in our NodeJS server: elasticsearch - npm Our client version is v16.7.2. When I check the metrics on…

---

## [Elasticstack in k8s](https://discuss.elastic.co/t/elasticstack-in-k8s/328865)

<div class="topic-metadata">

**Author:** [@Ross\_Phillips](https://discuss.elastic.co/u/Ross_Phillips)\
**Replies:** 3\
**Last updated:** [March 30, 2023, 7:19am UTC](https://discuss.elastic.co/t/elasticstack-in-k8s/328865 "2023-03-30T07:19:14Z")

</div>

Hi all, I'm having an issue deploying ELK on k8s. The error is shown below, any assistance is v. appreciated. java.lang.IllegalStateException: Unable to access 'path.logs' (/data/log) Likely root cause: java.nio.file…

---

## [How does rescore query affect aggregation results?](https://discuss.elastic.co/t/how-does-rescore-query-affect-aggregation-results/328892)

<div class="topic-metadata">

**Author:** [@Abhishek3](https://discuss.elastic.co/u/Abhishek3)\
**Replies:** 0\
**Last updated:** [March 30, 2023, 7:00am UTC](https://discuss.elastic.co/t/how-does-rescore-query-affect-aggregation-results/328892 "2023-03-30T07:00:33Z")

</div>

I am running rescore\_query with ltr model with window\_size=5, I am seeing the recore\_query is being applied to top 5 docs in hits and top 5 docs of every aggregated bucket. Is the how rescore\_query designed to work? f…

---

## [Writing nest query with multi match and filter and return data](https://discuss.elastic.co/t/writing-nest-query-with-multi-match-and-filter-and-return-data/328803)

<div class="topic-metadata">

**Author:** [@reza\_setareh](https://discuss.elastic.co/u/reza_setareh)\
**Replies:** 4\
**Last updated:** [March 30, 2023, 6:35am UTC](https://discuss.elastic.co/t/writing-nest-query-with-multi-match-and-filter-and-return-data/328803 "2023-03-30T06:35:30Z")

</div>

hi everybody i have three fields title,description and cityId i want to multi match title and description and filter cities for example cityId==1 how should i do that with nest? thank you

---

## [Transport response handler not found of id](https://discuss.elastic.co/t/transport-response-handler-not-found-of-id/328879)

<div class="topic-metadata">

**Author:** [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Replies:** 3\
**Last updated:** [March 30, 2023, 6:31am UTC](https://discuss.elastic.co/t/transport-response-handler-not-found-of-id/328879 "2023-03-30T06:31:21Z")

</div>

\[2023-03-30T09:20:19,277\]\[WARN \]\[o.e.t.TransportService \] \[m-21-63\] Transport response handler not found of id \[197374379\] \[2023-03-30T09:20:19,280\]\[WARN \]\[o.e.t.TransportService \] \[m-21-63\] Transport response handle…

---

## [ES cloud - Reduce index size with rollover failing](https://discuss.elastic.co/t/es-cloud-reduce-index-size-with-rollover-failing/327480)

<div class="topic-metadata">

**Author:** [@twilight](https://discuss.elastic.co/u/twilight)\
**Replies:** 12\
**Last updated:** [March 30, 2023, 4:33am UTC](https://discuss.elastic.co/t/es-cloud-reduce-index-size-with-rollover-failing/327480 "2023-03-30T04:33:44Z")

</div>

Hello, We have an ES cloud deployment having version 7.17. The storage is being consumed fast. One of our index has grown too big hence utilizing lot of the instance storage, I tried to setup a rollover policy on that …

---

## [Elastic-hadoop access failing due to SSL check](https://discuss.elastic.co/t/elastic-hadoop-access-failing-due-to-ssl-check/328857)

<div class="topic-metadata">

**Author:** [@NN1](https://discuss.elastic.co/u/NN1)\
**Replies:** 1\
**Last updated:** [March 29, 2023, 9:27pm UTC](https://discuss.elastic.co/t/elastic-hadoop-access-failing-due-to-ssl-check/328857 "2023-03-29T21:27:18Z")

</div>

I am trying to connect to a https ES node through my external table created in hdfs cluster. I connect to this hdfs cluster from my linux server using beeline and created the external table setting the property 'es.net.s…

---

## [Using ES as a back end DB for an APP with high transactions](https://discuss.elastic.co/t/using-es-as-a-back-end-db-for-an-app-with-high-transactions/328755)

<div class="topic-metadata">

**Author:** [@gstlouis](https://discuss.elastic.co/u/gstlouis)\
**Replies:** 5\
**Last updated:** [March 29, 2023, 8:54pm UTC](https://discuss.elastic.co/t/using-es-as-a-back-end-db-for-an-app-with-high-transactions/328755 "2023-03-29T20:54:25Z")

</div>

I am new to ES. I have been installing it and working with its REST API. I like it and I would like to use it in an APP. However, I have started watching some tutorials to understand the full stack, including beats to…

---

## [Certificates](https://discuss.elastic.co/t/certificates/328856)

<div class="topic-metadata">

**Author:** [@branden.heifner](https://discuss.elastic.co/u/branden.heifner)\
**Replies:** 0\
**Last updated:** [March 29, 2023, 6:47pm UTC](https://discuss.elastic.co/t/certificates/328856 "2023-03-29T18:47:04Z")

</div>

Hello everyone, I need to switch the certificates for my elasticsearch nodes, and I was wondering if there is any specific guide or recommendation for switching them out. Currently the servers are using self signed cert…

---

## [Using stop-words in autocomplete search](https://discuss.elastic.co/t/using-stop-words-in-autocomplete-search/328840)

<div class="topic-metadata">

**Author:** [@Kolobok99](https://discuss.elastic.co/u/Kolobok99)\
**Replies:** 0\
**Last updated:** [March 29, 2023, 2:08pm UTC](https://discuss.elastic.co/t/using-stop-words-in-autocomplete-search/328840 "2023-03-29T14:08:17Z")

</div>

Hi all. On our project, we use elastic to search for products through the autocomplete function using something like this query GET food/\_search { "suggest": { "autocomplete": { "prefix": "apple", "com…

---

## [Unable to start elastic search on Ubuntu AWS EC2 Instance](https://discuss.elastic.co/t/unable-to-start-elastic-search-on-ubuntu-aws-ec2-instance/328343)

<div class="topic-metadata">

**Author:** [@Vivek\_Burman](https://discuss.elastic.co/u/Vivek_Burman)\
**Replies:** 4\
**Last updated:** [March 29, 2023, 1:52pm UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-on-ubuntu-aws-ec2-instance/328343 "2023-03-29T13:52:35Z")

</div>

Hi, so following the link getting the following error. Here's my elasticsearch.yml config # ======================== Elasticsearch Configuration ========================= # # NOTE: Elasticsearch comes with reasonabl…

---

## [Word\_delimiter\_graph with pattern\_replace](https://discuss.elastic.co/t/word-delimiter-graph-with-pattern-replace/328736)

<div class="topic-metadata">

**Author:** [@Wonder\_Garance](https://discuss.elastic.co/u/Wonder_Garance)\
**Replies:** 1\
**Last updated:** [March 29, 2023, 1:46pm UTC](https://discuss.elastic.co/t/word-delimiter-graph-with-pattern-replace/328736 "2023-03-29T13:46:59Z")

</div>

In the settings I use the filter word\_delimiter\_graph and other filters to uniform some reference numbers, and I want to keep the original. For these references: 01/01234 11-2-3.4.5/67/8 I wish to get the output from c…

---

## [Watcher weird error : cannot access method/field \[period\] from a null def reference](https://discuss.elastic.co/t/watcher-weird-error-cannot-access-method-field-period-from-a-null-def-reference/328765)

<div class="topic-metadata">

**Author:** [@Paul\_Chen1](https://discuss.elastic.co/u/Paul_Chen1)\
**Replies:** 3\
**Last updated:** [March 29, 2023, 1:23pm UTC](https://discuss.elastic.co/t/watcher-weird-error-cannot-access-method-field-period-from-a-null-def-reference/328765 "2023-03-29T13:23:43Z")

</div>

My watcher is working normally around 3 years until yesterday, suddenly can't fetch the right number of our doc.count. but weird thing is I think the code should be work, like I paste below int past\_4\_hours\_conversi…

---

## [Elasticsearch throws a SSLHandshakeException: Client requested protocol TLSv1.2 is not enabled or supported in server context](https://discuss.elastic.co/t/elasticsearch-throws-a-sslhandshakeexception-client-requested-protocol-tlsv1-2-is-not-enabled-or-supported-in-server-context/328294)

<div class="topic-metadata">

**Author:** [@wlktiago70](https://discuss.elastic.co/u/wlktiago70)\
**Replies:** 9\
**Last updated:** [March 29, 2023, 1:09pm UTC](https://discuss.elastic.co/t/elasticsearch-throws-a-sslhandshakeexception-client-requested-protocol-tlsv1-2-is-not-enabled-or-supported-in-server-context/328294 "2023-03-29T13:09:51Z")

</div>

Hello there, I am trying to configure Elasticsearch 8.5 to support both TLSv1.3 AND TLSv1.2 communication, but following all documentation available, but it still supports TLSv1.3 only. I did the basic setup following …

---

## [Elasticsearch installation using helm](https://discuss.elastic.co/t/elasticsearch-installation-using-helm/328823)

<div class="topic-metadata">

**Author:** [@thirumoorthy](https://discuss.elastic.co/u/thirumoorthy)\
**Replies:** 0\
**Last updated:** [March 29, 2023, 12:44pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-using-helm/328823 "2023-03-29T12:44:58Z")

</div>

Hi Team, I have tried to install Elasticsearch using helm k8s package manager by staying inside rancher .. My values.yaml file is antiAffinity: hard antiAffinityTopologyKey: kubernetes.io/hostname clusterHealthCheckP…

---

## [Query Url - Date field not works](https://discuss.elastic.co/t/query-url-date-field-not-works/328816)

<div class="topic-metadata">

**Author:** [@SalvoDM91](https://discuss.elastic.co/u/SalvoDM91)\
**Replies:** 0\
**Last updated:** [March 29, 2023, 12:12pm UTC](https://discuss.elastic.co/t/query-url-date-field-not-works/328816 "2023-03-29T12:12:03Z")

</div>

Hi guys, I'm trying to create a url query with a date field. Currently in the index I have 2 date fields "@timestamp" and "CALL\_DATE" both correctly recognized as "date". Index mapping: { "cgw\_calls" : { "mappi…

---

## [Low level java client not putting messages to elastic search](https://discuss.elastic.co/t/low-level-java-client-not-putting-messages-to-elastic-search/328757)

<div class="topic-metadata">

**Author:** [@Tukaram](https://discuss.elastic.co/u/Tukaram)\
**Replies:** 2\
**Last updated:** [March 29, 2023, 8:26am UTC](https://discuss.elastic.co/t/low-level-java-client-not-putting-messages-to-elastic-search/328757 "2023-03-29T08:26:47Z")

</div>

Hi, I am using this version of elastic client. \<dependency\> \<groupId\>org.elasticsearch.client\</groupId\> \<artifactId\>elasticsearch-rest-client\</artifactId\> \<version\>7.17.9\</version\> \<…

---

## [Elastic search fails during restart with unknown setting \[metadata.labels.app\]](https://discuss.elastic.co/t/elastic-search-fails-during-restart-with-unknown-setting-metadata-labels-app/328804)

<div class="topic-metadata">

**Author:** [@sunil\_s](https://discuss.elastic.co/u/sunil_s)\
**Replies:** 4\
**Last updated:** [March 29, 2023, 10:20am UTC](https://discuss.elastic.co/t/elastic-search-fails-during-restart-with-unknown-setting-metadata-labels-app/328804 "2023-03-29T10:20:56Z")

</div>

.plugins.PluginsService","elasticsearch.node.name":"es-cluster-1","elasticsearch.cluster.name":"k8s-logs"} {"@timestamp":"2023-03-29T06:06:49.266Z", "log.level":"ERROR", "message":"fatal exception while booting Elasticse…

---

## [Elasticsearch for Windows 10 - arrghh](https://discuss.elastic.co/t/elasticsearch-for-windows-10-arrghh/328629)

<div class="topic-metadata">

**Author:** [@AndyJay1](https://discuss.elastic.co/u/AndyJay1)\
**Replies:** 3\
**Last updated:** [March 29, 2023, 9:10am UTC](https://discuss.elastic.co/t/elasticsearch-for-windows-10-arrghh/328629 "2023-03-29T09:10:11Z")

</div>

Hi all. I'm trying to install (run) elasticsearch 8.6.2 on my local Windows 10 machine. I'm installing Magento 2.4.5 whcih requires elasticsearch. Starting elasticsearch.bat as the administrator (and a user) just won'…

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

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