# Elasticsearch

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

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

**Page:** 305

---

## [Compression algorithm for best Search Performance in Elastic](https://discuss.elastic.co/t/compression-algorithm-for-best-search-performance-in-elastic/324972)

<div class="topic-metadata">

**Author:** [@siddhartha\_c](https://discuss.elastic.co/u/siddhartha_c)\
**Replies:** 1\
**Last updated:** [February 8, 2023, 6:02am UTC](https://discuss.elastic.co/t/compression-algorithm-for-best-search-performance-in-elastic/324972 "2023-02-08T06:02:55Z")

</div>

Hi Team, Which is the best compression algorithm in Elastic for the best search performance. We have 100 TB of data to be indexed in an Index. The idea is to have best search performance as a trade off with the index s…

---

## [Running percolate query against document date value](https://discuss.elastic.co/t/running-percolate-query-against-document-date-value/324950)

<div class="topic-metadata">

**Author:** [@Matthew\_Greenfield](https://discuss.elastic.co/u/Matthew_Greenfield)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 1:49am UTC](https://discuss.elastic.co/t/running-percolate-query-against-document-date-value/324950 "2023-02-08T01:49:04Z")

</div>

I have a query that checks to see if a date is more than a year old with something like: "range": { "some\_date": { "gt": "now-1y" } } But I need to also figure out if that document WILL BE more than a year old …

---

## [Accent with edge ngram token filter](https://discuss.elastic.co/t/accent-with-edge-ngram-token-filter/324863)

<div class="topic-metadata">

**Author:** [@Bob\_Guo](https://discuss.elastic.co/u/Bob_Guo)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 12:15am UTC](https://discuss.elastic.co/t/accent-with-edge-ngram-token-filter/324863 "2023-02-08T00:15:52Z")

</div>

Hi, I have a custom analyzer which uses the edge\_ngram token filer. Below is the setup: "analysis": { "filter": { "my\_filter": { "type": "edge\_ngram", "min\_gram": "1", …

---

## [Failed to index dataframe](https://discuss.elastic.co/t/failed-to-index-dataframe/324944)

<div class="topic-metadata">

**Author:** [@OnTheRoad](https://discuss.elastic.co/u/OnTheRoad)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 11:29pm UTC](https://discuss.elastic.co/t/failed-to-index-dataframe/324944 "2023-02-07T23:29:25Z")

</div>

Hello everyone, I'm starting using ES and I'm really having trouble to index a dataframe. dataframe looks like : So far I wrote the following code : es\_client = Elasticsearch(hosts = "http://xxx.xxx.xxx.xxx:9200",…

---

## [Problems with ELK over EKS Amazon and kubernetes](https://discuss.elastic.co/t/problems-with-elk-over-eks-amazon-and-kubernetes/324851)

<div class="topic-metadata">

**Author:** [@Milton](https://discuss.elastic.co/u/Milton)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 10:08pm UTC](https://discuss.elastic.co/t/problems-with-elk-over-eks-amazon-and-kubernetes/324851 "2023-02-07T22:08:15Z")

</div>

How can I configure an Elasticksearch ELK over EKS for claim persistent volumes, I have disk problems. kubectl get pods -A NAMESPACE NAME READY STATUS RESTARTS AGE default counter 1/1 Running 0 112m kube-logging is-c…

---

## [These two nested aggregations produce the same result, but is one approach better than the other?](https://discuss.elastic.co/t/these-two-nested-aggregations-produce-the-same-result-but-is-one-approach-better-than-the-other/324941)

<div class="topic-metadata">

**Author:** [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 9:59pm UTC](https://discuss.elastic.co/t/these-two-nested-aggregations-produce-the-same-result-but-is-one-approach-better-than-the-other/324941 "2023-02-07T21:59:00Z")

</div>

I have two scenarios that produce identical aggregation results in the final GET order/\_search query. The only difference between the two scenarios is where I choose to declare the type: nested in the mapping and what I…

---

## [Confirm that I don't need \`type: nested\` on every node of my index mapping for the document tree?](https://discuss.elastic.co/t/confirm-that-i-dont-need-type-nested-on-every-node-of-my-index-mapping-for-the-document-tree/324907)

<div class="topic-metadata">

**Author:** [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Replies:** 7\
**Last updated:** [February 7, 2023, 9:53pm UTC](https://discuss.elastic.co/t/confirm-that-i-dont-need-type-nested-on-every-node-of-my-index-mapping-for-the-document-tree/324907 "2023-02-07T21:53:28Z")

</div>

I just have a question about the type: nested in the index mappings. Let's say I have documents where I want to aggregate on order.order\_items.product.manufacturer.contact.name. Initially I made my mapping like this {…

---

## [Does anyone have a good tutorial for setting up python flask with elasticsearch in windows 11?](https://discuss.elastic.co/t/does-anyone-have-a-good-tutorial-for-setting-up-python-flask-with-elasticsearch-in-windows-11/324938)

<div class="topic-metadata">

**Author:** [@aaaaaaaaaaaa](https://discuss.elastic.co/u/aaaaaaaaaaaa)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 9:20pm UTC](https://discuss.elastic.co/t/does-anyone-have-a-good-tutorial-for-setting-up-python-flask-with-elasticsearch-in-windows-11/324938 "2023-02-07T21:20:34Z")

</div>

I found this tutorial The Flask Mega-Tutorial Part XVI: Full-Text Search - miguelgrinberg.com which I am using. When asking for a tutorial I am asking for setting up of Elasticsearch not the actual code for Elasticsearch…

---

## [I am trying to connect to http://localhost:9200 in my browser and I am getting an error that says check the proxy or firewall. I am using windows 11](https://discuss.elastic.co/t/i-am-trying-to-connect-to-http-localhost-9200-in-my-browser-and-i-am-getting-an-error-that-says-check-the-proxy-or-firewall-i-am-using-windows-11/323876)

<div class="topic-metadata">

**Author:** [@aaaaaaaaaaaa](https://discuss.elastic.co/u/aaaaaaaaaaaa)\
**Replies:** 2\
**Last updated:** [February 7, 2023, 9:16pm UTC](https://discuss.elastic.co/t/i-am-trying-to-connect-to-http-localhost-9200-in-my-browser-and-i-am-getting-an-error-that-says-check-the-proxy-or-firewall-i-am-using-windows-11/323876 "2023-02-07T21:16:20Z")

</div>

I am using windows 11 and google chrome. I followed all the steps in the video above. It was working . Then I try again a few days later when I try to go http://localhost:9200. I even tried https://localh…

---

## [High HEAP and CPU utilization due to long and inefficient Garbage Collector (GC)](https://discuss.elastic.co/t/high-heap-and-cpu-utilization-due-to-long-and-inefficient-garbage-collector-gc/324669)

<div class="topic-metadata">

**Author:** [@GustavoSantos](https://discuss.elastic.co/u/GustavoSantos)\
**Replies:** 5\
**Last updated:** [February 7, 2023, 1:33pm UTC](https://discuss.elastic.co/t/high-heap-and-cpu-utilization-due-to-long-and-inefficient-garbage-collector-gc/324669 "2023-02-07T13:33:00Z")

</div>

Hi all, We constantly get Circuit Breaker errors and GC overhead logs in clusters with high indexation load. Looking at the Kibana dashboards and analyzing the logs, it is clear that the GC is one of our main bottleneck…

---

## [Tune Elasticsearch to process thousands of simultaneous searches](https://discuss.elastic.co/t/tune-elasticsearch-to-process-thousands-of-simultaneous-searches/324438)

<div class="topic-metadata">

**Author:** [@aldoorozco](https://discuss.elastic.co/u/aldoorozco)\
**Replies:** 15\
**Last updated:** [February 7, 2023, 6:17pm UTC](https://discuss.elastic.co/t/tune-elasticsearch-to-process-thousands-of-simultaneous-searches/324438 "2023-02-07T18:17:28Z")

</div>

I have a question about Elastic Cloud deployments. I created a 3-zone 32 CPU compute-optimized deployment on GCP with just Elasticsearch (hot data nodes and coordinating nodes only) and Kibana enabled, and loaded, using …

---

## [How much time by the query is spent in Disk I/O?](https://discuss.elastic.co/t/how-much-time-by-the-query-is-spent-in-disk-i-o/324915)

<div class="topic-metadata">

**Author:** [@Sheharyar\_Khalid](https://discuss.elastic.co/u/Sheharyar_Khalid)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 2:17pm UTC](https://discuss.elastic.co/t/how-much-time-by-the-query-is-spent-in-disk-i-o/324915 "2023-02-07T14:17:50Z")

</div>

Hello, I am trying to optimize my hardware for elasticsearch deployment. I am getting inconsistent results on the time by changing the JVM settings. I wanted to know if there is any other measure apart from the "took" i…

---

## [Java time migration guide (upgrading to ES 8.x)](https://discuss.elastic.co/t/java-time-migration-guide-upgrading-to-es-8-x/323942)

<div class="topic-metadata">

**Author:** [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Replies:** 5\
**Last updated:** [February 7, 2023, 10:35am UTC](https://discuss.elastic.co/t/java-time-migration-guide-upgrading-to-es-8-x/323942 "2023-02-07T10:35:09Z")

</div>

Hi, During reading release notes and breaking changes, I stumbled upon this guide: Java time migration guide | Elasticsearch Guide \[8.0\] | Elastic At the bottom, it says that the format "yyyy/MM/dd HH:mm:ss||yyyy/MM/…

---

## [Monitoring of multiple unlicensed Elasticsearch clusters on a single-node Elastic box with Metricbeat](https://discuss.elastic.co/t/monitoring-of-multiple-unlicensed-elasticsearch-clusters-on-a-single-node-elastic-box-with-metricbeat/324801)

<div class="topic-metadata">

**Author:** [@foss4ever](https://discuss.elastic.co/u/foss4ever)\
**Replies:** 4\
**Last updated:** [February 7, 2023, 9:46am UTC](https://discuss.elastic.co/t/monitoring-of-multiple-unlicensed-elasticsearch-clusters-on-a-single-node-elastic-box-with-metricbeat/324801 "2023-02-07T09:46:38Z")

</div>

I have successfully set up a single-node Elastic box with Elasticsearch, Kibana and Metricbeat to monitor two separate Elastic clusters. Now I am reading in a couple of topics on this forum that you can only monitor one…

---

## [Will attribute script make elasticsearch write slower?](https://discuss.elastic.co/t/will-attribute-script-make-elasticsearch-write-slower/324212)

<div class="topic-metadata">

**Author:** [@robocon20x](https://discuss.elastic.co/u/robocon20x)\
**Replies:** 4\
**Last updated:** [February 7, 2023, 9:34am UTC](https://discuss.elastic.co/t/will-attribute-script-make-elasticsearch-write-slower/324212 "2023-02-07T09:34:20Z")

</div>

Hi everyone, i am going to create many script columns for my index, will this make elasticsearch write to this index slower than before, because it will create many columns per document of index?

---

## [Adding certificate to keystore](https://discuss.elastic.co/t/adding-certificate-to-keystore/323941)

<div class="topic-metadata">

**Author:** [@Mistral](https://discuss.elastic.co/u/Mistral)\
**Replies:** 12\
**Last updated:** [February 7, 2023, 9:10am UTC](https://discuss.elastic.co/t/adding-certificate-to-keystore/323941 "2023-02-07T09:10:07Z")

</div>

Hi ! Using Elastic 8.6.0 here I started over a clean installation of Elastic and immediatly tried to overwrite the self-generate certificate of Elastic with my organization certificate (which is a certificate generate b…

---

## [Can i use deployment after expiring 14 days free trial?](https://discuss.elastic.co/t/can-i-use-deployment-after-expiring-14-days-free-trial/324867)

<div class="topic-metadata">

**Author:** [@parkJ](https://discuss.elastic.co/u/parkJ)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 8:46am UTC](https://discuss.elastic.co/t/can-i-use-deployment-after-expiring-14-days-free-trial/324867 "2023-02-07T08:46:43Z")

</div>

I'm using elasticsearch 14days free trial now. If it'll be expired, it'll be renewed automatically? and can i use my deployment using now will be locked?

---

## [How to migrate/move indices from Elastic cloud to Elastic stand alone in remote server](https://discuss.elastic.co/t/how-to-migrate-move-indices-from-elastic-cloud-to-elastic-stand-alone-in-remote-server/324600)

<div class="topic-metadata">

**Author:** [@sriteja\_chebrolu](https://discuss.elastic.co/u/sriteja_chebrolu)\
**Replies:** 4\
**Last updated:** [February 7, 2023, 7:44am UTC](https://discuss.elastic.co/t/how-to-migrate-move-indices-from-elastic-cloud-to-elastic-stand-alone-in-remote-server/324600 "2023-02-07T07:44:55Z")

</div>

Please help me to migrate/move indices from Elastic cloud to Elastic stand alone in remote server. Please provide the steps. I tried with reindexing but getting "not whitelisted in reindex.remote.whitelist" error. I …

---

## [How to reset password user elastic](https://discuss.elastic.co/t/how-to-reset-password-user-elastic/324735)

<div class="topic-metadata">

**Author:** [@gugurigon](https://discuss.elastic.co/u/gugurigon)\
**Replies:** 10\
**Last updated:** [February 7, 2023, 5:21am UTC](https://discuss.elastic.co/t/how-to-reset-password-user-elastic/324735 "2023-02-07T05:21:23Z")

</div>

I can't access the elasticsearch to retrieve the information of the cluster. The elasticsearch is run on docker with version 7.x.

---

## [How to include a custom rule variable in Elastic Email alert](https://discuss.elastic.co/t/how-to-include-a-custom-rule-variable-in-elastic-email-alert/324849)

<div class="topic-metadata">

**Author:** [@yoshiouchi](https://discuss.elastic.co/u/yoshiouchi)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 3:55am UTC](https://discuss.elastic.co/t/how-to-include-a-custom-rule-variable-in-elastic-email-alert/324849 "2023-02-07T03:55:47Z")

</div>

I would like to know a way to create a custom rule variable in Elastic Email alert i.e. we have some pre-built variables like {{alertName}} or {{context.group}} but I want to output the name of kubernetes.pod.name in Ela…

---

## [User elasticsearch lost after reboot](https://discuss.elastic.co/t/user-elasticsearch-lost-after-reboot/324839)

<div class="topic-metadata">

**Author:** [@bhirani](https://discuss.elastic.co/u/bhirani)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 3:44am UTC](https://discuss.elastic.co/t/user-elasticsearch-lost-after-reboot/324839 "2023-02-07T03:44:56Z")

</div>

I have installed Elasticsearch on TrueNAS using dpkg. I have setup fs2es-indexer to index my files. I have indexed the files and tested that all works. After reboot, the user elasticsearch is lost. id elasticsearch i…

---

## [ILM doesn't delete indices](https://discuss.elastic.co/t/ilm-doesnt-delete-indices/323983)

<div class="topic-metadata">

**Author:** [@obol89](https://discuss.elastic.co/u/obol89)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 3:00am UTC](https://discuss.elastic.co/t/ilm-doesnt-delete-indices/323983 "2023-02-07T03:00:37Z")

</div>

Hi All, I have a problem with ILM policy that doesn't delete my old indices. I feel like I've checked everything what I could (and I know), but I can't find out why it is not deleting them. I will appreciate your help,…

---

## [How to perform aggregation on nested of nested of nested field?](https://discuss.elastic.co/t/how-to-perform-aggregation-on-nested-of-nested-of-nested-field/324843)

<div class="topic-metadata">

**Author:** [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 2:05am UTC](https://discuss.elastic.co/t/how-to-perform-aggregation-on-nested-of-nested-of-nested-field/324843 "2023-02-07T02:05:40Z")

</div>

I saw basic examples of how to do a nested aggregation on 1 tiered level of a nested field. But I'm not sure how to perform aggregation when there is more than 1 level of nesting. I tried the following which sets up 2 …

---

## [How to take a snapshot using SSE-C](https://discuss.elastic.co/t/how-to-take-a-snapshot-using-sse-c/324773)

<div class="topic-metadata">

**Author:** [@kannan\_raj](https://discuss.elastic.co/u/kannan_raj)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 8:39am UTC](https://discuss.elastic.co/t/how-to-take-a-snapshot-using-sse-c/324773 "2023-02-06T08:39:19Z")

</div>

Hi All, we are using Elasticsearch version 7.16. I can encrypt the snapshot using SSE-S3(SSE managed by AWS) by adding the configuration "server-side-encryption: true" in the s3 snapshot repository. PUT \_snapshot/my\_s…

---

## [NEST create index template](https://discuss.elastic.co/t/nest-create-index-template/324828)

<div class="topic-metadata">

**Author:** [@chachew](https://discuss.elastic.co/u/chachew)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 7:33pm UTC](https://discuss.elastic.co/t/nest-create-index-template/324828 "2023-02-06T19:33:41Z")

</div>

I am running NEST/Elasticsearch 7.13.1 and i cant find in the documentation on how to create an Index Template via the NEST client.

---

## [How to use custom plugin in RestHighLevelClient (migrating from TransportClient to RestHighLevelClient.)](https://discuss.elastic.co/t/how-to-use-custom-plugin-in-resthighlevelclient-migrating-from-transportclient-to-resthighlevelclient/324824)

<div class="topic-metadata">

**Author:** [@hr89](https://discuss.elastic.co/u/hr89)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 7:11pm UTC](https://discuss.elastic.co/t/how-to-use-custom-plugin-in-resthighlevelclient-migrating-from-transportclient-to-resthighlevelclient/324824 "2023-02-06T19:11:23Z")

</div>

Hello Experts! We are in a process of migrating from TransportClient (now, removed) to RestHighLevelClient. We use custom plugin for some functionalities. As per the TransportClient we are initializing it like below. …

---

## [Query\_shard\_exception](https://discuss.elastic.co/t/query-shard-exception/324756)

<div class="topic-metadata">

**Author:** [@Tussingh](https://discuss.elastic.co/u/Tussingh)\
**Replies:** 7\
**Last updated:** [February 6, 2023, 5:35pm UTC](https://discuss.elastic.co/t/query-shard-exception/324756 "2023-02-06T17:35:28Z")

</div>

I am getting below error when I am trying to query :slight\_smile : { "error": { "root\_cause": \[ { "type": "query\_shard\_exception", "reason": "failed to create query: \[nested\] failed to find nested object under path…

---

## [Geographic Coordinates and Java API Client in 8.6](https://discuss.elastic.co/t/geographic-coordinates-and-java-api-client-in-8-6/324613)

<div class="topic-metadata">

**Author:** [@BenjaminD](https://discuss.elastic.co/u/BenjaminD)\
**Replies:** 12\
**Last updated:** [February 6, 2023, 4:24pm UTC](https://discuss.elastic.co/t/geographic-coordinates-and-java-api-client-in-8-6/324613 "2023-02-06T16:24:51Z")

</div>

Hello. I'm trying to create documents from a Java app. Those documents includes geographic coordinates (lat and lon in decimal form). Both Elasticsearch and the java client are in 8.6.0. In the beginning, no index exi…

---

## [How to use conflict.proceed and retry on conflict in elastic search .net](https://discuss.elastic.co/t/how-to-use-conflict-proceed-and-retry-on-conflict-in-elastic-search-net/324806)

<div class="topic-metadata">

**Author:** [@Arvind\_Sharma](https://discuss.elastic.co/u/Arvind_Sharma)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 3:23pm UTC](https://discuss.elastic.co/t/how-to-use-conflict-proceed-and-retry-on-conflict-in-elastic-search-net/324806 "2023-02-06T15:23:59Z")

</div>

Can anyone help me to pass conflict = proceed and retry on conflict params in Bulk and Delete methods of elastic search.net.

---

## [Convert string field to geo\_point field for map visualisation](https://discuss.elastic.co/t/convert-string-field-to-geo-point-field-for-map-visualisation/324397)

<div class="topic-metadata">

**Author:** [@cf4455](https://discuss.elastic.co/u/cf4455)\
**Replies:** 4\
**Last updated:** [February 6, 2023, 2:42pm UTC](https://discuss.elastic.co/t/convert-string-field-to-geo-point-field-for-map-visualisation/324397 "2023-02-06T14:42:59Z")

</div>

Hello, We collect in our logs, among other things, geo-coordinates and their accuracy in 2 "string" fields. Currently there are over 3,200,000 logs since the beginning of 2021. Now we want to display these coordinates o…

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

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