# Elasticsearch

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

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

**Page:** 157

---

## [How to set a specific bin folder for Elasticsearch 7.14](https://discuss.elastic.co/t/how-to-set-a-specific-bin-folder-for-elasticsearch-7-14/351344)

<div class="topic-metadata">

**Author:** [@sbottura](https://discuss.elastic.co/u/sbottura)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 9:51am UTC](https://discuss.elastic.co/t/how-to-set-a-specific-bin-folder-for-elasticsearch-7-14/351344 "2024-01-18T09:51:44Z")

</div>

Hello, I have two different instances of elasticsearch on the same disk on a virtual machine and I am currently using elasticsearch 7.14.1. I just discovered, however, that when elasticsearch 7.14.1 is running, it uses …

---

## [Elastic enterprise search - BadGatewayError \[502\] 'The instance rejected the connection.'](https://discuss.elastic.co/t/elastic-enterprise-search-badgatewayerror-502-the-instance-rejected-the-connection/351341)

<div class="topic-metadata">

**Author:** [@MarieD](https://discuss.elastic.co/u/MarieD)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 9:37am UTC](https://discuss.elastic.co/t/elastic-enterprise-search-badgatewayerror-502-the-instance-rejected-the-connection/351341 "2024-01-18T09:37:07Z")

</div>

Hi everyone, We've been using Elasticsearch through App Search. We've been getting the following error from time to time (~3% of our requests): elastic\_enterprise\_search.exceptions.BadGatewayError: \[502\] {'ok': False,…

---

## [Can you help me see how my code should be implemented?](https://discuss.elastic.co/t/can-you-help-me-see-how-my-code-should-be-implemented/351330)

<div class="topic-metadata">

**Author:** [@ivanz](https://discuss.elastic.co/u/ivanz)\
**Replies:** 0\
**Last updated:** [January 18, 2024, 9:12am UTC](https://discuss.elastic.co/t/can-you-help-me-see-how-my-code-should-be-implemented/351330 "2024-01-18T09:12:56Z")

</div>

Now there is a requirement as follows: A piece of data has four fields: article\_id, year, title, and version. If multiple articles share an article\_id, the one with the highest version in the hit data will be returned d…

---

## [problem on highlighting (sentence cutting)](https://discuss.elastic.co/t/problem-on-highlighting-sentence-cutting/351189)

<div class="topic-metadata">

**Author:** [@minwei.deng](https://discuss.elastic.co/u/minwei.deng)\
**Replies:** 2\
**Last updated:** [January 18, 2024, 9:02am UTC](https://discuss.elastic.co/t/problem-on-highlighting-sentence-cutting/351189 "2024-01-18T09:02:59Z")

</div>

Hello, I've a problem on highlighting. When I search for the keyword "éolienne", Elastic highlights l' instead of the l'éolienne. (see picture problem\_highlight.png) The complete sentene is : """Daulitz, Domaine de La…

---

## [Elastic search (V 7.12.0) pods fail to start after EKS upgrade from 1.24 to 1.25](https://discuss.elastic.co/t/elastic-search-v-7-12-0-pods-fail-to-start-after-eks-upgrade-from-1-24-to-1-25/350300)

<div class="topic-metadata">

**Author:** [@prabeesh.p](https://discuss.elastic.co/u/prabeesh.p)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 11:36am UTC](https://discuss.elastic.co/t/elastic-search-v-7-12-0-pods-fail-to-start-after-eks-upgrade-from-1-24-to-1-25/350300 "2024-01-03T11:36:22Z")

</div>

The application search is running on Elastic search 7.12.0 in Kubernetes ( EKS) 1.24. After EKS upgrade to 1.25, elastic pods fail to start. The logs show below warning. Also, xpack- security was not enabled, but https…

---

## [Failed to parse mapping: Root mapping definition has unsupported parameters](https://discuss.elastic.co/t/failed-to-parse-mapping-root-mapping-definition-has-unsupported-parameters/350358)

<div class="topic-metadata">

**Author:** [@LuongQuocKhang](https://discuss.elastic.co/u/LuongQuocKhang)\
**Replies:** 0\
**Last updated:** [January 4, 2024, 6:50am UTC](https://discuss.elastic.co/t/failed-to-parse-mapping-root-mapping-definition-has-unsupported-parameters/350358 "2024-01-04T06:50:12Z")

</div>

0 I'm having an issue when create index with mapping. It returns "Failed to parse mapping: Root mapping definition has unsupported parameters" .NET Core version 8.0 Elasticsearch.Net version 6.8.11 NEST version 6.8.11 …

---

## [In elasticsearch.yml file node.attr.storage\_term parameter, what is the meaning of hot and warm?](https://discuss.elastic.co/t/in-elasticsearch-yml-file-node-attr-storage-term-parameter-what-is-the-meaning-of-hot-and-warm/351299)

<div class="topic-metadata">

**Author:** [@mpniel](https://discuss.elastic.co/u/mpniel)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 6:16pm UTC](https://discuss.elastic.co/t/in-elasticsearch-yml-file-node-attr-storage-term-parameter-what-is-the-meaning-of-hot-and-warm/351299 "2024-01-17T18:16:16Z")

</div>

In elasticsearch.yml file node.attr.storage\_term parameter, what is the meaning of hot and warm?

---

## [Aggregate to collect data in array](https://discuss.elastic.co/t/aggregate-to-collect-data-in-array/351290)

<div class="topic-metadata">

**Author:** [@masoud\_darvishi](https://discuss.elastic.co/u/masoud_darvishi)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 5:12pm UTC](https://discuss.elastic.co/t/aggregate-to-collect-data-in-array/351290 "2024-01-17T17:12:09Z")

</div>

hello this is my data: \[ { type: "a", // value is "a" or "b" number: 15 // number between 1 to 100 }, { type: "b", number: 56 }, { type: "a", number: 40 }, { …

---

## [Rest Java Api - remove\_binary option in Attachment processor](https://discuss.elastic.co/t/rest-java-api-remove-binary-option-in-attachment-processor/351287)

<div class="topic-metadata">

**Author:** [@cpeninou](https://discuss.elastic.co/u/cpeninou)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 3:19pm UTC](https://discuss.elastic.co/t/rest-java-api-remove-binary-option-in-attachment-processor/351287 "2024-01-17T15:19:27Z")

</div>

Hello, Es version: 8.11.1 I'm trying to set the option remove\_binary for the Attachment processor to true since the default one is false by using the RestApi java, but this field is missing in the AttachmentProcessor.B…

---

## [Elasticsearch node won't start after updating index setting with index.mapper.dynamic](https://discuss.elastic.co/t/elasticsearch-node-wont-start-after-updating-index-setting-with-index-mapper-dynamic/351101)

<div class="topic-metadata">

**Author:** [@dslavescu](https://discuss.elastic.co/u/dslavescu)\
**Replies:** 3\
**Last updated:** [January 17, 2024, 2:53pm UTC](https://discuss.elastic.co/t/elasticsearch-node-wont-start-after-updating-index-setting-with-index-mapper-dynamic/351101 "2024-01-17T14:53:58Z")

</div>

Hello, I have an Elasticsearch cluster with version 7.17.2. I updated one of my indices with the following setting: PUT /testindex/\_settings { "index.mapper.dynamic": true } and everything was OK, my settings were u…

---

## [Unable to connect to the Kibana server Check your network connection and try again. Code 502](https://discuss.elastic.co/t/unable-to-connect-to-the-kibana-server-check-your-network-connection-and-try-again-code-502/351288)

<div class="topic-metadata">

**Author:** [@Leomar.V](https://discuss.elastic.co/u/Leomar.V)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 2:52pm UTC](https://discuss.elastic.co/t/unable-to-connect-to-the-kibana-server-check-your-network-connection-and-try-again-code-502/351288 "2024-01-17T14:52:00Z")

</div>

Good morning community, how are you? I'm new to Kibana and I have a problem with code 502, but it only happens when I open a specific space and a specific report too.

---

## [Delete Indices/index/documents but 404 NotFound](https://discuss.elastic.co/t/delete-indices-index-documents-but-404-notfound/351250)

<div class="topic-metadata">

**Author:** [@martel](https://discuss.elastic.co/u/martel)\
**Replies:** 14\
**Last updated:** [January 17, 2024, 2:15pm UTC](https://discuss.elastic.co/t/delete-indices-index-documents-but-404-notfound/351250 "2024-01-17T14:15:27Z")

</div>

Hey, I want delete all indices, document, but want keep Template index. i have already try many operations see here in forum, but nothing clean my path data. A) \_settings with index.blocks.read\_only\_allow\_delete an…

---

## [Replacing a cluster node](https://discuss.elastic.co/t/replacing-a-cluster-node/351253)

<div class="topic-metadata">

**Author:** [@rihad](https://discuss.elastic.co/u/rihad)\
**Replies:** 9\
**Last updated:** [January 17, 2024, 1:44pm UTC](https://discuss.elastic.co/t/replacing-a-cluster-node/351253 "2024-01-17T13:44:50Z")

</div>

Hi, we have a 3 node cluster, with 3 ME nodes. Today I needed to replace one node with another on a new server. I simply shut down ES on the old server, and started ES on the new server. It did join the cluster according…

---

## [Unit testing responses with the new C# client?](https://discuss.elastic.co/t/unit-testing-responses-with-the-new-c-client/351279)

<div class="topic-metadata">

**Author:** [@landlord\_matt](https://discuss.elastic.co/u/landlord_matt)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 1:29pm UTC](https://discuss.elastic.co/t/unit-testing-responses-with-the-new-c-client/351279 "2024-01-17T13:29:37Z")

</div>

Hi! I would like to unit test my function that parses the SearchResponse response into a MyResultRecord array. If you search for this on the internet, you get examples with the old Nest client. var searchResponseMock =…

---

## [Visualizations using the \_cat/indices API](https://discuss.elastic.co/t/visualizations-using-the-cat-indices-api/351276)

<div class="topic-metadata">

**Author:** [@jcruz](https://discuss.elastic.co/u/jcruz)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 1:22pm UTC](https://discuss.elastic.co/t/visualizations-using-the-cat-indices-api/351276 "2024-01-17T13:22:20Z")

</div>

Hello guys, I would like to create some visualizations using the \_cat/indices API, so I can monitoring and understand the index usage during time. Is there any way to get the \_cat API output into some lens panels to cr…

---

## [Bug when using list with comma-number in elastic search template toJson](https://discuss.elastic.co/t/bug-when-using-list-with-comma-number-in-elastic-search-template-tojson/351274)

<div class="topic-metadata">

**Author:** [@bertie](https://discuss.elastic.co/u/bertie)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 1:13pm UTC](https://discuss.elastic.co/t/bug-when-using-list-with-comma-number-in-elastic-search-template-tojson/351274 "2024-01-17T13:13:50Z")

</div>

Attempting the pass a list containing a comma-number (fx. 1.1) to the toJson functionality inbuilt in the search templates results in the following error: { "error": { "root\_cause": \[ { "type": "ille…

---

## [How can i connect my data nodes to another cluster (need to change cluster uuid)](https://discuss.elastic.co/t/how-can-i-connect-my-data-nodes-to-another-cluster-need-to-change-cluster-uuid/351270)

<div class="topic-metadata">

**Author:** [@donggyu04](https://discuss.elastic.co/u/donggyu04)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 12:49pm UTC](https://discuss.elastic.co/t/how-can-i-connect-my-data-nodes-to-another-cluster-need-to-change-cluster-uuid/351270 "2024-01-17T12:49:17Z")

</div>

same issue with Data node’s cluster uuid diffrent from master node's cluster uuid but I want to connect my data nodes to new cluster without deleting their data directory. is there any way to this? I must delete data d…

---

## [Configure Elasticsearch with script](https://discuss.elastic.co/t/configure-elasticsearch-with-script/351264)

<div class="topic-metadata">

**Author:** [@cv123](https://discuss.elastic.co/u/cv123)\
**Replies:** 0\
**Last updated:** [January 17, 2024, 11:37am UTC](https://discuss.elastic.co/t/configure-elasticsearch-with-script/351264 "2024-01-17T11:37:23Z")

</div>

Hi everyone, i tried to deploy and configure an Elastic instance via script (first test with powershell) For that i wrote a terraform script to create 2 docker container (elasticsearch and kibana), create the enrollmen…

---

## [SSO error failed to establish trust with server at \[login.microsoftonline.com\]](https://discuss.elastic.co/t/sso-error-failed-to-establish-trust-with-server-at-login-microsoftonline-com/350858)

<div class="topic-metadata">

**Author:** [@krzychohoho](https://discuss.elastic.co/u/krzychohoho)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 11:09am UTC](https://discuss.elastic.co/t/sso-error-failed-to-establish-trust-with-server-at-login-microsoftonline-com/350858 "2024-01-17T11:09:30Z")

</div>

Hi, I came across a problem recently and I need urgent help. The machine that was running Elasticsearch was restarted and now the service will not run. The error is: sun.security.validator.ValidatorException: PKIX path …

---

## [Shards failed The data might be incomplete or wrong](https://discuss.elastic.co/t/shards-failed-the-data-might-be-incomplete-or-wrong/351244)

<div class="topic-metadata">

**Author:** [@Bhavani90](https://discuss.elastic.co/u/Bhavani90)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 11:01am UTC](https://discuss.elastic.co/t/shards-failed-the-data-might-be-incomplete-or-wrong/351244 "2024-01-17T11:01:57Z")

</div>

Hi I'm Bhavani. When I try to search for data within a message using quotation marks, I encounter an error like ( No results found 1 of 2868 shards failed The data might be incomplete or wrong.). How can I resolve …

---

## [How does the search performance compare between standard and nested document structure](https://discuss.elastic.co/t/how-does-the-search-performance-compare-between-standard-and-nested-document-structure/351070)

<div class="topic-metadata">

**Author:** [@mmaccou](https://discuss.elastic.co/u/mmaccou)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 10:36am UTC](https://discuss.elastic.co/t/how-does-the-search-performance-compare-between-standard-and-nested-document-structure/351070 "2024-01-17T10:36:12Z")

</div>

I’m exploring different ways to structure my indices. I found an article on the Elasticsearch blog about using nested documents. All else being equal, does this structure impact the speed or other performance/accuracy in…

---

## [Shards and Index states through Java Client](https://discuss.elastic.co/t/shards-and-index-states-through-java-client/351241)

<div class="topic-metadata">

**Author:** [@avnere](https://discuss.elastic.co/u/avnere)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 10:23am UTC](https://discuss.elastic.co/t/shards-and-index-states-through-java-client/351241 "2024-01-17T10:23:35Z")

</div>

Hi, I am looking a way to get Shards and Index states through Java Client 7.17 The states getting from: GET \_cat/indices/?v GET \_cat/shards/?v Is it possible though HighLevelRestAPI?

---

## [Search with exact phrase in my index](https://discuss.elastic.co/t/search-with-exact-phrase-in-my-index/351213)

<div class="topic-metadata">

**Author:** [@Indilya](https://discuss.elastic.co/u/Indilya)\
**Replies:** 7\
**Last updated:** [January 17, 2024, 10:08am UTC](https://discuss.elastic.co/t/search-with-exact-phrase-in-my-index/351213 "2024-01-17T10:08:58Z")

</div>

Hello, First of all I want to apologize if my post is not correct. This is my first time on this forum and my first time using Elastic Search. I also take this opportunity to thank you in advance for the help. I have …

---

## [How to Enable OCR in Elasticsearch for Enhanced PDF Readability?](https://discuss.elastic.co/t/how-to-enable-ocr-in-elasticsearch-for-enhanced-pdf-readability/351249)

<div class="topic-metadata">

**Author:** [@Chenko](https://discuss.elastic.co/u/Chenko)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 9:59am UTC](https://discuss.elastic.co/t/how-to-enable-ocr-in-elasticsearch-for-enhanced-pdf-readability/351249 "2024-01-17T09:59:25Z")

</div>

Hello, We're facing a challenge with a client regarding the upload and processing of PDF files to make them text-searchable. Initially, we implemented an ingest pipeline with Elasticsearch's attachment processor, levera…

---

## [Map index creation\_date to new field in existing documents](https://discuss.elastic.co/t/map-index-creation-date-to-new-field-in-existing-documents/351235)

<div class="topic-metadata">

**Author:** [@es236908](https://discuss.elastic.co/u/es236908)\
**Replies:** 3\
**Last updated:** [January 17, 2024, 9:52am UTC](https://discuss.elastic.co/t/map-index-creation-date-to-new-field-in-existing-documents/351235 "2024-01-17T09:52:20Z")

</div>

Every day I create an index of my file system with Diskover so I have a large amount of indexes one for every day. Each of those indexes has documents for each file but there is no field for the time the index/document w…

---

## [Find an Phrase with addtional variants](https://discuss.elastic.co/t/find-an-phrase-with-addtional-variants/351067)

<div class="topic-metadata">

**Author:** [@libertey](https://discuss.elastic.co/u/libertey)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 9:49am UTC](https://discuss.elastic.co/t/find-an-phrase-with-addtional-variants/351067 "2024-01-17T09:49:26Z")

</div>

Hello, i run into a Problem with matching of queries, I have an keyowrd like John Doe and now my System should find all Entries where the John Doe is mentioned as author. The main Problem is the Person John Doe is not a…

---

## [How to connect eStreamer with Elastic?](https://discuss.elastic.co/t/how-to-connect-estreamer-with-elastic/351090)

<div class="topic-metadata">

**Author:** [@hectorGC](https://discuss.elastic.co/u/hectorGC)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 9:27am UTC](https://discuss.elastic.co/t/how-to-connect-estreamer-with-elastic/351090 "2024-01-17T09:27:44Z")

</div>

Hi Elastic researchers! I am trying to get more logs from the ftds since the logs are not complete in the IPS events and cisco suggests to use eStreamer. I am trying to understand the technology but some help related on…

---

## [Getting fatal exception while booting Elasticsearch while trying to start elasticsearch in Vm](https://discuss.elastic.co/t/getting-fatal-exception-while-booting-elasticsearch-while-trying-to-start-elasticsearch-in-vm/351192)

<div class="topic-metadata">

**Author:** [@Mohammed\_Ahmed](https://discuss.elastic.co/u/Mohammed_Ahmed)\
**Replies:** 3\
**Last updated:** [January 17, 2024, 8:57am UTC](https://discuss.elastic.co/t/getting-fatal-exception-while-booting-elasticsearch-while-trying-to-start-elasticsearch-in-vm/351192 "2024-01-17T08:57:53Z")

</div>

getting this error fatal exception while booting Elasticsearch java.lang.IllegalStateException: cannot downgrade a node from version \[8.10.3\] to version \[8.9.0\] at org.elasticsearch.env.NodeMetadata.verifyUpgradeToCur…

---

## [Failed migration of system indices for the watcher and watcher not firing after update](https://discuss.elastic.co/t/failed-migration-of-system-indices-for-the-watcher-and-watcher-not-firing-after-update/350704)

<div class="topic-metadata">

**Author:** [@AEA27](https://discuss.elastic.co/u/AEA27)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 7:45am UTC](https://discuss.elastic.co/t/failed-migration-of-system-indices-for-the-watcher-and-watcher-not-firing-after-update/350704 "2024-01-17T07:45:14Z")

</div>

continuation of Failed migration of system indices (.triggered\_watches) with Upgrade Assistant using v7.17.14 Summary, upgrade assistant was giving an error for the watcher when migrating system indices. I tried deleti…

---

## [\[ElasticSearch v.7.5\] How to merge daily and weekly indexes into a monthly index?](https://discuss.elastic.co/t/elasticsearch-v-7-5-how-to-merge-daily-and-weekly-indexes-into-a-monthly-index/351210)

<div class="topic-metadata">

**Author:** [@mpniel](https://discuss.elastic.co/u/mpniel)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 9:34pm UTC](https://discuss.elastic.co/t/elasticsearch-v-7-5-how-to-merge-daily-and-weekly-indexes-into-a-monthly-index/351210 "2024-01-16T21:34:55Z")

</div>

How to merge daily and weekly indexes into a monthly index? In order to free shards.

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

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