# Elasticsearch

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

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

**Page:** 439

---

## [Cross Cluster Search - port 9300 - need to open flow in bidirectional way](https://discuss.elastic.co/t/cross-cluster-search-port-9300-need-to-open-flow-in-bidirectional-way/305168)

<div class="topic-metadata">

**Author:** [@federica.forti](https://discuss.elastic.co/u/federica.forti)\
**Replies:** 3\
**Last updated:** [May 19, 2022, 11:03pm UTC](https://discuss.elastic.co/t/cross-cluster-search-port-9300-need-to-open-flow-in-bidirectional-way/305168 "2022-05-19T23:03:02Z")

</div>

Hi, i'd like to use Cross Cluster Search between two clusters (ES version: 5.6). For example i'd like to see data from cluster A to cluster B; I'd like to know if there is the need to open the flow in bidirectional way…

---

## [Is a rolling update to enable security possible?](https://discuss.elastic.co/t/is-a-rolling-update-to-enable-security-possible/305001)

<div class="topic-metadata">

**Author:** [@erik\_n](https://discuss.elastic.co/u/erik_n)\
**Replies:** 5\
**Last updated:** [May 19, 2022, 10:47pm UTC](https://discuss.elastic.co/t/is-a-rolling-update-to-enable-security-possible/305001 "2022-05-19T22:47:33Z")

</div>

I'm nearly positive the answer is "no", but I wanted to ask! I have several clusters currently at v7.17 that do not have authentication/tls/etc enabled. I would like to enable it, for obvious reasons, but they cannot be…

---

## [Elastic Cloud](https://discuss.elastic.co/t/elastic-cloud/305213)

<div class="topic-metadata">

**Author:** [@SebastianMrtnz](https://discuss.elastic.co/u/SebastianMrtnz)\
**Replies:** 3\
**Last updated:** [May 19, 2022, 7:11pm UTC](https://discuss.elastic.co/t/elastic-cloud/305213 "2022-05-19T19:11:23Z")

</div>

Hello there! I'm new a this forum and I want to learn which is the best approach to set up a new Elastic stack for my Azure subscription. I chose to create my ES from cloud.elastic.co using Azure Single Sign-On (SSO). …

---

## [Idempotency elastic search when use dot net core with CreateIndexDescriptor](https://discuss.elastic.co/t/idempotency-elastic-search-when-use-dot-net-core-with-createindexdescriptor/305225)

<div class="topic-metadata">

**Author:** [@Mahmood\_Palangi](https://discuss.elastic.co/u/Mahmood_Palangi)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 6:49pm UTC](https://discuss.elastic.co/t/idempotency-elastic-search-when-use-dot-net-core-with-createindexdescriptor/305225 "2022-05-19T18:49:31Z")

</div>

Elasticsearch 8.1.3: NEST 7.17.2: we have a rest api for persist and index data in Elasticsearch db and we want if Index don't exist create index but don't use automap() for mapping and setting because we use char filt…

---

## [How to delete the data stream (UNASSIGNED) .fleet-actions-results?](https://discuss.elastic.co/t/how-to-delete-the-data-stream-unassigned-fleet-actions-results/304974)

<div class="topic-metadata">

**Author:** [@ajj31](https://discuss.elastic.co/u/ajj31)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 5:52pm UTC](https://discuss.elastic.co/t/how-to-delete-the-data-stream-unassigned-fleet-actions-results/304974 "2022-05-19T17:52:56Z")

</div>

sudo curl --USER elastic:xxxxxxxxxxx -X GET https://localhost:9200/\_cat/shards?h=index,shard,prirep,state,unassigned.reason --insecure | grep UNASSIGNED % Total % Received % Xferd Average Speed Time Time Ti…

---

## [Issue searching for first\_name and last\_name when there is a compound name](https://discuss.elastic.co/t/issue-searching-for-first-name-and-last-name-when-there-is-a-compound-name/305124)

<div class="topic-metadata">

**Author:** [@celo1](https://discuss.elastic.co/u/celo1)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 4:39pm UTC](https://discuss.elastic.co/t/issue-searching-for-first-name-and-last-name-when-there-is-a-compound-name/305124 "2022-05-19T16:39:57Z")

</div>

Hi, I am newbie to ES and I am trying to create a search as you type experience that will find clients by their first name, last name, email and phone number. I am using the code below but it is not working as expected w…

---

## [Create index with index-settings](https://discuss.elastic.co/t/create-index-with-index-settings/305161)

<div class="topic-metadata">

**Author:** [@Alexander\_Ott](https://discuss.elastic.co/u/Alexander_Ott)\
**Replies:** 2\
**Last updated:** [May 19, 2022, 2:58pm UTC](https://discuss.elastic.co/t/create-index-with-index-settings/305161 "2022-05-19T14:58:31Z")

</div>

We are trying to migrate from Elasticsearch 6.7.1 to Elasticsearch 8.2.0. In Elasticsearch 6.7.1 it was possible to provide index-settings within an CreateIndexRequest as follows { "index": { "mapping": { …

---

## [Elastic Agent connection to ES fails due to missing hostname in auto-configured certificate](https://discuss.elastic.co/t/elastic-agent-connection-to-es-fails-due-to-missing-hostname-in-auto-configured-certificate/305203)

<div class="topic-metadata">

**Author:** [@frederikvandeputte](https://discuss.elastic.co/u/frederikvandeputte)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 2:41pm UTC](https://discuss.elastic.co/t/elastic-agent-connection-to-es-fails-due-to-missing-hostname-in-auto-configured-certificate/305203 "2022-05-19T14:41:49Z")

</div>

My setup includes Elasticsearch server + Kibana server + Fleet server. version 8.2 Installation done via Linux APT/DEB method with security auto-configured certificates. The idea of the server setup is to install elast…

---

## [Error Activating Self-Monitoring in ElasticSearch 7.17.3](https://discuss.elastic.co/t/error-activating-self-monitoring-in-elasticsearch-7-17-3/304451)

<div class="topic-metadata">

**Author:** [@IMagalashvili](https://discuss.elastic.co/u/IMagalashvili)\
**Replies:** 9\
**Last updated:** [May 19, 2022, 10:28am UTC](https://discuss.elastic.co/t/error-activating-self-monitoring-in-elasticsearch-7-17-3/304451 "2022-05-19T10:28:23Z")

</div>

Hi, I have problem with Self-Monitoring in Elasticsearch 7.17.3. It worked correctly, but I changed Stting parameters with PUT 'http: // server:9200 /\_settings { "index": { "final\_pipeline": "geoip-info" } } My f…

---

## [How to balance my elasticsearch cluster](https://discuss.elastic.co/t/how-to-balance-my-elasticsearch-cluster/305083)

<div class="topic-metadata">

**Author:** [@Arethusa](https://discuss.elastic.co/u/Arethusa)\
**Replies:** 12\
**Last updated:** [May 19, 2022, 9:52am UTC](https://discuss.elastic.co/t/how-to-balance-my-elasticsearch-cluster/305083 "2022-05-19T09:52:47Z")

</div>

Hello, I want to balance my Elasticsearch cluster. I am on version 7.16.3 I have 5 servers on cluster, but the data are not use symmetrically : ELS01 : 62% ELS02 : 50% ELS03 : 69% ELS04 : 76% ELS05 : 86% This is…

---

## [Permission denied (os:windows)](https://discuss.elastic.co/t/permission-denied-os-windows/304923)

<div class="topic-metadata">

**Author:** [@RohitBR\_K](https://discuss.elastic.co/u/RohitBR_K)\
**Replies:** 14\
**Last updated:** [May 19, 2022, 9:33am UTC](https://discuss.elastic.co/t/permission-denied-os-windows/304923 "2022-05-19T09:33:48Z")

</div>

Am starting Elasticsearch like this cd elasticsearch/bin/elasticsearch.bat but am getting permission denied when am accessing one of my es documents through my API. am not understanding what's the issue here . Am usin…

---

## [Cross Cluster Search Not Caching](https://discuss.elastic.co/t/cross-cluster-search-not-caching/304504)

<div class="topic-metadata">

**Author:** [@Liam\_B](https://discuss.elastic.co/u/Liam_B)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 9:13am UTC](https://discuss.elastic.co/t/cross-cluster-search-not-caching/304504 "2022-05-19T09:13:22Z")

</div>

Hi If I have a couple of clusters, both connected to each other as remote clusters. If I perform a search against a single cluster, I get the benefit of caching of search results within a refresh interval window, if I …

---

## [Resource Utilization Machine Learning](https://discuss.elastic.co/t/resource-utilization-machine-learning/303502)

<div class="topic-metadata">

**Author:** [@alaine](https://discuss.elastic.co/u/alaine)\
**Replies:** 7\
**Last updated:** [May 19, 2022, 8:18am UTC](https://discuss.elastic.co/t/resource-utilization-machine-learning/303502 "2022-05-19T08:18:16Z")

</div>

Hello, I am working on the Machine Learning capability within two of the clusters that I am responsible for. I am trying to figure out the relationship between the size of my nodes, their configuration and model\_memory …

---

## [With out xpack.security.enabled: true can we install Elastic version 8.2,](https://discuss.elastic.co/t/with-out-xpack-security-enabled-true-can-we-install-elastic-version-8-2/305138)

<div class="topic-metadata">

**Author:** [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 8:17am UTC](https://discuss.elastic.co/t/with-out-xpack-security-enabled-true-can-we-install-elastic-version-8-2/305138 "2022-05-19T08:17:51Z")

</div>

Hi , We are trying demo using 8.2 version, we are able to setup Elastic with out XPACK, but for Kibana integration its says need to enable XPACK security, please let me know how can we install the 8.2 version without …

---

## [About the immutableOpenmap in elasticsearch](https://discuss.elastic.co/t/about-the-immutableopenmap-in-elasticsearch/305121)

<div class="topic-metadata">

**Author:** [@xingzhao](https://discuss.elastic.co/u/xingzhao)\
**Replies:** 5\
**Last updated:** [May 19, 2022, 7:45am UTC](https://discuss.elastic.co/t/about-the-immutableopenmap-in-elasticsearch/305121 "2022-05-19T07:45:46Z")

</div>

I would like to ask what consideration is the immutableOpenmap in Elasticsearch designed for? What kind of utility does it have? It is used in both aliasmetadata and indexmetadata. My personal guess is that it has someth…

---

## [Show highlights for matched terms query (for integer values)](https://discuss.elastic.co/t/show-highlights-for-matched-terms-query-for-integer-values/305080)

<div class="topic-metadata">

**Author:** [@Pyppe](https://discuss.elastic.co/u/Pyppe)\
**Replies:** 2\
**Last updated:** [May 19, 2022, 7:00am UTC](https://discuss.elastic.co/t/show-highlights-for-matched-terms-query-for-integer-values/305080 "2022-05-19T07:00:31Z")

</div>

We've got a mapping for field classes: "classes" : { "type" : "integer" } Is there a way to show highlight for the matching classes if we search it e.g. via terms-query: { "terms" : { "classes" : \[ 1, 5, 10 \] …

---

## [Failed to start Elasticsearch 8.2 on CentOSs](https://discuss.elastic.co/t/failed-to-start-elasticsearch-8-2-on-centoss/305072)

<div class="topic-metadata">

**Author:** [@Bhanu\_1212](https://discuss.elastic.co/u/Bhanu_1212)\
**Replies:** 2\
**Last updated:** [May 19, 2022, 4:24am UTC](https://discuss.elastic.co/t/failed-to-start-elasticsearch-8-2-on-centoss/305072 "2022-05-19T04:24:31Z")

</div>

\[2022-05-18T12:41:58,264\]\[INFO \]\[o.e.e.NodeEnvironment \] \[elastic-centos\] heap size \[7.7gb\], compressed ordinary object pointers \[true\] \[2022-05-18T12:41:58,351\]\[INFO \]\[o.e.n.Node \] \[elastic-centos\] node…

---

## [Is it possible to embed {{ctx.trigger.scheduled\_time}} variable in the reporting url inside a watcher script?](https://discuss.elastic.co/t/is-it-possible-to-embed-ctx-trigger-scheduled-time-variable-in-the-reporting-url-inside-a-watcher-script/305042)

<div class="topic-metadata">

**Author:** [@Souvik\_Das](https://discuss.elastic.co/u/Souvik_Das)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 10:14am UTC](https://discuss.elastic.co/t/is-it-possible-to-embed-ctx-trigger-scheduled-time-variable-in-the-reporting-url-inside-a-watcher-script/305042 "2022-05-18T10:14:38Z")

</div>

Hi All, I have deployed a watcher script that triggered for certain search criteria. The action of the watch is to generate a dashboard.pdf and send it through email. Now the problem is, I'm using two systems for this …

---

## [Elasticsearch.service: Main process exited, code=killed, status=9/KILL](https://discuss.elastic.co/t/elasticsearch-service-main-process-exited-code-killed-status-9-kill/304358)

<div class="topic-metadata">

**Author:** [@viththakan](https://discuss.elastic.co/u/viththakan)\
**Replies:** 2\
**Last updated:** [May 19, 2022, 3:59am UTC](https://discuss.elastic.co/t/elasticsearch-service-main-process-exited-code-killed-status-9-kill/304358 "2022-05-19T03:59:13Z")

</div>

Hi I havefirst installed Elasticsearch, logstash, kibana and filebeats in the same order. When I installed Elasticsearch and checked status It worked. Now it is showing the error like systemctl status elasticsearch.serv…

---

## [Configure xpack.security.enabled but not work in elasticsearch v8.2.0](https://discuss.elastic.co/t/configure-xpack-security-enabled-but-not-work-in-elasticsearch-v8-2-0/304895)

<div class="topic-metadata">

**Author:** [@stanpao](https://discuss.elastic.co/u/stanpao)\
**Replies:** 3\
**Last updated:** [May 19, 2022, 3:29am UTC](https://discuss.elastic.co/t/configure-xpack-security-enabled-but-not-work-in-elasticsearch-v8-2-0/304895 "2022-05-19T03:29:25Z")

</div>

In my basic cluster, configure all nodes with xpack.security.enabled : true, but API GET \_xpack, always "security" is available but no enabled, why?

---

## [Scroll failed on some shards?](https://discuss.elastic.co/t/scroll-failed-on-some-shards/305116)

<div class="topic-metadata">

**Author:** [@ankh](https://discuss.elastic.co/u/ankh)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 2:08am UTC](https://discuss.elastic.co/t/scroll-failed-on-some-shards/305116 "2022-05-19T02:08:18Z")

</div>

Hi, We're using 6.2.3, and I noticed some errors in our application logs yesterday that indicated a few shards (eg, 1-4 out of total of 90) failed while processing a scroll request. Unfortunately I don't have access to …

---

## [Is the Index Lifecycle Management a free or paid feature?](https://discuss.elastic.co/t/is-the-index-lifecycle-management-a-free-or-paid-feature/305113)

<div class="topic-metadata">

**Author:** [@Swapnil\_Nawale](https://discuss.elastic.co/u/Swapnil_Nawale)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 11:24pm UTC](https://discuss.elastic.co/t/is-the-index-lifecycle-management-a-free-or-paid-feature/305113 "2022-05-18T23:24:39Z")

</div>

I am trying to assess the cost impact of using Index Lifecycle Management. According to Subscriptions | Elastic Stack Products & Support | Elastic, it seems to be a free feature but the same page shows "Configurable rete…

---

## [Ingestion pipelines for new indices created everyday](https://discuss.elastic.co/t/ingestion-pipelines-for-new-indices-created-everyday/305051)

<div class="topic-metadata">

**Author:** [@katakam\_chaitanya](https://discuss.elastic.co/u/katakam_chaitanya)\
**Replies:** 4\
**Last updated:** [May 18, 2022, 9:41pm UTC](https://discuss.elastic.co/t/ingestion-pipelines-for-new-indices-created-everyday/305051 "2022-05-18T21:41:16Z")

</div>

I have new indices created on my Elasticsearch cluster everyday. I want to take all my docs through a ingestion pipeline. But as new indices get created automatically as date changes ( index name example:cwl-12.12.2022…

---

## [Couldn't start elasticsearch daemon on my magento2 cloud](https://discuss.elastic.co/t/couldnt-start-elasticsearch-daemon-on-my-magento2-cloud/305079)

<div class="topic-metadata">

**Author:** [@ingEnricoGiorgi](https://discuss.elastic.co/u/ingEnricoGiorgi)\
**Replies:** 4\
**Last updated:** [May 18, 2022, 9:39pm UTC](https://discuss.elastic.co/t/couldnt-start-elasticsearch-daemon-on-my-magento2-cloud/305079 "2022-05-18T21:39:36Z")

</div>

Couldn't start Elasticsearch daemon on my magento2 cloud log after sudo journactl -xe systemctl status of Elasticsearch

---

## [ES is upgraded from version 6.3.2 to 6.8.22 in a rolling manner. After the upgrade, the cluster status is abnormal. How to roll back to 6.3.2?](https://discuss.elastic.co/t/es-is-upgraded-from-version-6-3-2-to-6-8-22-in-a-rolling-manner-after-the-upgrade-the-cluster-status-is-abnormal-how-to-roll-back-to-6-3-2/304533)

<div class="topic-metadata">

**Author:** [@qiuxb](https://discuss.elastic.co/u/qiuxb)\
**Replies:** 10\
**Last updated:** [May 18, 2022, 9:37pm UTC](https://discuss.elastic.co/t/es-is-upgraded-from-version-6-3-2-to-6-8-22-in-a-rolling-manner-after-the-upgrade-the-cluster-status-is-abnormal-how-to-roll-back-to-6-3-2/304533 "2022-05-18T21:37:04Z")

</div>

Currently I am working on the ES rolling upgrade plan. The official manual lists the rolling upgrade steps, but there is no rollback step. After the ES rolling upgrade, the cluster status is abnormal or the application w…

---

## [SSL certificate](https://discuss.elastic.co/t/ssl-certificate/304933)

<div class="topic-metadata">

**Author:** [@Harris11](https://discuss.elastic.co/u/Harris11)\
**Replies:** 3\
**Last updated:** [May 18, 2022, 8:23pm UTC](https://discuss.elastic.co/t/ssl-certificate/304933 "2022-05-18T20:23:54Z")

</div>

how to implement SSL certificate for the Elasticsearch version 8.2.0, can any one explain

---

## [Bulk request how to?](https://discuss.elastic.co/t/bulk-request-how-to/305096)

<div class="topic-metadata">

**Author:** [@frankmontyne](https://discuss.elastic.co/u/frankmontyne)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 6:20pm UTC](https://discuss.elastic.co/t/bulk-request-how-to/305096 "2022-05-18T18:20:50Z")

</div>

Hi I'm a bit confused on how to perform a bulk request with the new Java API client. To index one document I use the following code that works without problems. Since we are using GSON I pass the json string representat…

---

## [Is there any change in the query-syntax of Elasticsearch?](https://discuss.elastic.co/t/is-there-any-change-in-the-query-syntax-of-elasticsearch/305084)

<div class="topic-metadata">

**Author:** [@Ashrut](https://discuss.elastic.co/u/Ashrut)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 2:42pm UTC](https://discuss.elastic.co/t/is-there-any-change-in-the-query-syntax-of-elasticsearch/305084 "2022-05-18T14:42:19Z")

</div>

Hi, everyone. I had written this query when I was using Elasticsearch (5.6). --\> \< { from: params.fetch(:offset), size: params.fetch(:size), \_source: { excludes: \["attachments.\*"\] }, sort: SortB…

---

## [Reindexing error es\_rejected\_execution\_exception](https://discuss.elastic.co/t/reindexing-error-es-rejected-execution-exception/305099)

<div class="topic-metadata">

**Author:** [@luciana](https://discuss.elastic.co/u/luciana)\
**Replies:** 3\
**Last updated:** [May 18, 2022, 5:28pm UTC](https://discuss.elastic.co/t/reindexing-error-es-rejected-execution-exception/305099 "2022-05-18T17:28:54Z")

</div>

Both my indices are on the same node. The source has about 200k documents, I'm using AWS and the instance type is "t3.small.search" so 2 vCPUs. I tried slicing already but it just gives me the same error. Any ideas on wh…

---

## [Sorting by Geo Distance with Relevance Score](https://discuss.elastic.co/t/sorting-by-geo-distance-with-relevance-score/304953)

<div class="topic-metadata">

**Author:** [@icgncl](https://discuss.elastic.co/u/icgncl)\
**Replies:** 6\
**Last updated:** [May 18, 2022, 3:19pm UTC](https://discuss.elastic.co/t/sorting-by-geo-distance-with-relevance-score/304953 "2022-05-18T15:19:04Z")

</div>

Hello everyone, I want to sort results according to relevance score and geo distance together. What is the best way to do so?

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

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