# Elasticsearch

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

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

**Page:** 697

---

## [Difference between snowball stemmer and regular stemmer](https://discuss.elastic.co/t/difference-between-snowball-stemmer-and-regular-stemmer/265346)

<div class="topic-metadata">

**Author:** [@tomsquest](https://discuss.elastic.co/u/tomsquest)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 1:35pm UTC](https://discuss.elastic.co/t/difference-between-snowball-stemmer-and-regular-stemmer/265346 "2021-02-24T13:35:28Z")

</div>

Hi, Elasticsearch (and Lucene ?) has two stemmer token filters: the snowball one and the regular one. It seems in my tests that the regular stemmer is under the hood the snowball stemmer. It this really the case ? Fo…

---

## [7.11 APIs who don't need a body now return an error when provided with one](https://discuss.elastic.co/t/7-11-apis-who-dont-need-a-body-now-return-an-error-when-provided-with-one/265324)

<div class="topic-metadata">

**Author:** [@Malec](https://discuss.elastic.co/u/Malec)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 1:34pm UTC](https://discuss.elastic.co/t/7-11-apis-who-dont-need-a-body-now-return-an-error-when-provided-with-one/265324 "2021-02-24T13:34:57Z")

</div>

Hi, I have been upgrading one of my clusters to 7.11.1 and much to my surprise there is a behavior change that I haven't been able to find in the breaking changes or in the "what's new" page for this release. GET \_cat/…

---

## [ML - Datafeed is encountering errors extracting data: all shards failed](https://discuss.elastic.co/t/ml-datafeed-is-encountering-errors-extracting-data-all-shards-failed/264994)

<div class="topic-metadata">

**Author:** [@cezar996](https://discuss.elastic.co/u/cezar996)\
**Replies:** 23\
**Last updated:** [February 24, 2021, 12:59pm UTC](https://discuss.elastic.co/t/ml-datafeed-is-encountering-errors-extracting-data-all-shards-failed/264994 "2021-02-24T12:59:10Z")

</div>

Hi! I have created a ML job, but when I select Start Datafeed, I get this error: Datafeed is encountering errors extracting data: all shards failed, as in the image below. I really dont have any idea why I get this. …

---

## [Update data](https://discuss.elastic.co/t/update-data/265339)

<div class="topic-metadata">

**Author:** [@Liliana\_Novais](https://discuss.elastic.co/u/Liliana_Novais)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 12:56pm UTC](https://discuss.elastic.co/t/update-data/265339 "2021-02-24T12:56:41Z")

</div>

Hello, I am new in elastic search. I have a csv file that I want to upload to elastic search in order to use in kibana. The file is saved in my laptop and I want to update the data. I am not the administrator of the la…

---

## [Failed to parse mapping \[\_doc\]: properties must be a map type](https://discuss.elastic.co/t/failed-to-parse-mapping-doc-properties-must-be-a-map-type/263103)

<div class="topic-metadata">

**Author:** [@coudenysj](https://discuss.elastic.co/u/coudenysj)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 12:35pm UTC](https://discuss.elastic.co/t/failed-to-parse-mapping-doc-properties-must-be-a-map-type/263103 "2021-02-24T12:35:56Z")

</div>

I'm trying to update the routing allocation of index templates, but with the new 7.10 release, I get strange errors. For the other version, I just GET the index template, alter the routing key, and PUT it back to the AP…

---

## [Rally: Errror: Cannot update teams in /root/.rally/benchmarks/teams/default](https://discuss.elastic.co/t/rally-errror-cannot-update-teams-in-root-rally-benchmarks-teams-default/265332)

<div class="topic-metadata">

**Author:** [@LuisSchaefer](https://discuss.elastic.co/u/LuisSchaefer)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 11:38am UTC](https://discuss.elastic.co/t/rally-errror-cannot-update-teams-in-root-rally-benchmarks-teams-default/265332 "2021-02-24T11:38:30Z")

</div>

Hi guys, I use Rally 1.4.1, RHEL 7.9, offline. I didnt't find any similiar topic so I hope somebody could help me. Thanks Input: esrally --distribution-version=7.10.2 --track-path=/root/.rally/benchmarks/tracks/defa…

---

## [org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load plugin class \[org.elasticsearch.xpack.core.XPackPlugin\]](https://discuss.elastic.co/t/org-elasticsearch-bootstrap-startupexception-java-lang-illegalstateexception-failed-to-load-plugin-class-org-elasticsearch-xpack-core-xpackplugin/265319)

<div class="topic-metadata">

**Author:** [@karthik\_m2](https://discuss.elastic.co/u/karthik_m2)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 10:31am UTC](https://discuss.elastic.co/t/org-elasticsearch-bootstrap-startupexception-java-lang-illegalstateexception-failed-to-load-plugin-class-org-elasticsearch-xpack-core-xpackplugin/265319 "2021-02-24T10:31:31Z")

</div>

Hello Team, We have recently upgraded oracle JAVA version to below java version "1.8.0\_281" Java(TM) SE Runtime Environment (build 1.8.0\_281-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode) Afte…

---

## [Reverse geo distance search](https://discuss.elastic.co/t/reverse-geo-distance-search/263524)

<div class="topic-metadata">

**Author:** [@Fatih\_Kurnaz](https://discuss.elastic.co/u/Fatih_Kurnaz)\
**Replies:** 9\
**Last updated:** [February 24, 2021, 10:30am UTC](https://discuss.elastic.co/t/reverse-geo-distance-search/263524 "2021-02-24T10:30:34Z")

</div>

Hi everyone; There are 2 indices at my system. One of them is people and another one is houses. There is location criteria for each person at people indice like this. { "locationName": "london", "distance": 1,…

---

## [Heap usage of suggestor field](https://discuss.elastic.co/t/heap-usage-of-suggestor-field/265312)

<div class="topic-metadata">

**Author:** [@JF2018](https://discuss.elastic.co/u/JF2018)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 9:59am UTC](https://discuss.elastic.co/t/heap-usage-of-suggestor-field/265312 "2021-02-24T09:59:17Z")

</div>

Hi I am using Elastic Version "7.5.2". I would like to know how much of the heap, my completion suggestor field takes. The mapping is as this { "type": "completion", "pres…

---

## [X-Pack Platinum License Update](https://discuss.elastic.co/t/x-pack-platinum-license-update/265296)

<div class="topic-metadata">

**Author:** [@abhabhishek](https://discuss.elastic.co/u/abhabhishek)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 9:32am UTC](https://discuss.elastic.co/t/x-pack-platinum-license-update/265296 "2021-02-24T09:32:45Z")

</div>

I am having elastic 6.2 on-prem platinum license which was issued to "abc" and now it is about to expire(will expire on 1March 2021) and hence we have purchased same license but for differe uid&issuesto- "xyz" once I go…

---

## [Is it possible to sort a field that contains a hexadecimal string?](https://discuss.elastic.co/t/is-it-possible-to-sort-a-field-that-contains-a-hexadecimal-string/265295)

<div class="topic-metadata">

**Author:** [@htang](https://discuss.elastic.co/u/htang)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 9:08am UTC](https://discuss.elastic.co/t/is-it-possible-to-sort-a-field-that-contains-a-hexadecimal-string/265295 "2021-02-24T09:08:46Z")

</div>

I have a mapping as keyword which contains a hexadecimal string like: 5f4b455cf6b841508fb1fa24 which is a 12 byte object. Is it possible to ask ES to sort on this field by value? I don't want lexicographic order. Fo…

---

## [Reindexing throughput degrades over time](https://discuss.elastic.co/t/reindexing-throughput-degrades-over-time/265279)

<div class="topic-metadata">

**Author:** [@htang](https://discuss.elastic.co/u/htang)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 7:54am UTC](https://discuss.elastic.co/t/reindexing-throughput-degrades-over-time/265279 "2021-02-24T07:54:14Z")

</div>

My reindex operation has slowed considerably over time - what can explain this trend of decrease in throughput? Please see attached. While reindexing is happening, the search latency has also gone up too. See attac…

---

## [Search through all document fields (nested and root document) in one multi match query](https://discuss.elastic.co/t/search-through-all-document-fields-nested-and-root-document-in-one-multi-match-query/265180)

<div class="topic-metadata">

**Author:** [@Nexonus](https://discuss.elastic.co/u/Nexonus)\
**Replies:** 3\
**Last updated:** [February 23, 2021, 3:21pm UTC](https://discuss.elastic.co/t/search-through-all-document-fields-nested-and-root-document-in-one-multi-match-query/265180 "2021-02-23T15:21:22Z")

</div>

Let's assume these basic documents as an example: { "name": "shirt", "description": "with stripes", "items": \[ { "color": "red", "size": "44" }, { "color": "blue", "size": "38" …

---

## [Is it good that memory usage is high like over 90%?](https://discuss.elastic.co/t/is-it-good-that-memory-usage-is-high-like-over-90/265144)

<div class="topic-metadata">

**Author:** [@CHU\_XU](https://discuss.elastic.co/u/CHU_XU)\
**Replies:** 5\
**Last updated:** [February 24, 2021, 6:10am UTC](https://discuss.elastic.co/t/is-it-good-that-memory-usage-is-high-like-over-90/265144 "2021-02-24T06:10:42Z")

</div>

Hi experts, I know that es node uses memory both for jvm and file cache. If I have an node with 50GB memory and set jvm using 25GB, is that expected when the total memory usage is high like 48GB and never go down? Will…

---

## [Setting up passwords with elasticsearch-setup-passwords interactive](https://discuss.elastic.co/t/setting-up-passwords-with-elasticsearch-setup-passwords-interactive/265208)

<div class="topic-metadata">

**Author:** [@Archie\_Crawford](https://discuss.elastic.co/u/Archie_Crawford)\
**Replies:** 4\
**Last updated:** [February 24, 2021, 6:04am UTC](https://discuss.elastic.co/t/setting-up-passwords-with-elasticsearch-setup-passwords-interactive/265208 "2021-02-24T06:04:28Z")

</div>

Im having an issue with enabling security on my cluster when Im trying to add the passwords to the bulit in users: I have 6 nodes atl-deves01.com atl-deves02.com atl-deves03.com met-deves01.com met-deves02.com met…

---

## [Suggestions for a better text based query - using match\_phrase but it's too precise](https://discuss.elastic.co/t/suggestions-for-a-better-text-based-query-using-match-phrase-but-its-too-precise/265138)

<div class="topic-metadata">

**Author:** [@M\_Gibbs](https://discuss.elastic.co/u/M_Gibbs)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 5:36am UTC](https://discuss.elastic.co/t/suggestions-for-a-better-text-based-query-using-match-phrase-but-its-too-precise/265138 "2021-02-24T05:36:24Z")

</div>

Hi there, My title probably doesn't elaborate that well. We have a significant dataset, where our end-users can search base don a job\_title. Currently I'm using: bool should match\_phrase We also include "minimum\_s…

---

## [Elastic Search - how to interpret this exception](https://discuss.elastic.co/t/elastic-search-how-to-interpret-this-exception/265273)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 4:00am UTC](https://discuss.elastic.co/t/elastic-search-how-to-interpret-this-exception/265273 "2021-02-24T04:00:24Z")

</div>

This is the code I am running and it is missing custom analyzer name . And I got the following error { "error": { "root\_cause": \[ { "type": "settings\_exception", "reason": "Failed to get sett…

---

## [Alias-Dashboard/Visualizations-Cold indicies-Errors](https://discuss.elastic.co/t/alias-dashboard-visualizations-cold-indicies-errors/265251)

<div class="topic-metadata">

**Author:** [@leemase004](https://discuss.elastic.co/u/leemase004)\
**Replies:** 1\
**Last updated:** [February 23, 2021, 8:41pm UTC](https://discuss.elastic.co/t/alias-dashboard-visualizations-cold-indicies-errors/265251 "2021-02-23T20:41:44Z")

</div>

We have an index pattern: search-ids. That index pattern is mapped for: ids-alert-\* We recently closed and froze indices that were not being searched. Since our index pattern encompasses every single index- it keeps l…

---

## [Cluster business usage](https://discuss.elastic.co/t/cluster-business-usage/265005)

<div class="topic-metadata">

**Author:** [@fha\_1](https://discuss.elastic.co/u/fha_1)\
**Replies:** 3\
**Last updated:** [February 23, 2021, 9:22pm UTC](https://discuss.elastic.co/t/cluster-business-usage/265005 "2021-02-23T21:22:52Z")

</div>

Hello, Is there a built-in way to retrieve the most requested documents and the most frequent queries and aggregations (for a cluster and for an index)? If not, what is the best approach to fill this need? Regards F

---

## [Is it possible to retrieve the api\_key value after initial creation?](https://discuss.elastic.co/t/is-it-possible-to-retrieve-the-api-key-value-after-initial-creation/265233)

<div class="topic-metadata">

**Author:** [@dvo](https://discuss.elastic.co/u/dvo)\
**Replies:** 2\
**Last updated:** [February 23, 2021, 7:18pm UTC](https://discuss.elastic.co/t/is-it-possible-to-retrieve-the-api-key-value-after-initial-creation/265233 "2021-02-23T19:18:52Z")

</div>

I'm relatively new to Elastic and can't seem to find information about this with a search... I understand that anyone creating an API key should secure the api\_key value returned at creation. Is there any way for a supe…

---

## [Basic Authentication with https and native realm](https://discuss.elastic.co/t/basic-authentication-with-https-and-native-realm/265148)

<div class="topic-metadata">

**Author:** [@shivkumar.chelwa](https://discuss.elastic.co/u/shivkumar.chelwa)\
**Replies:** 5\
**Last updated:** [February 23, 2021, 5:26pm UTC](https://discuss.elastic.co/t/basic-authentication-with-https-and-native-realm/265148 "2021-02-23T17:26:07Z")

</div>

I am trying to use Basic Authentication when HTTPS is enabled. I am using default "native" realm. Is Basic Authentication not supported when HTTPS is enabled and realm is "native"? I successfully used API Key and but co…

---

## [Get data from Kibana using Elasticsearch API](https://discuss.elastic.co/t/get-data-from-kibana-using-elasticsearch-api/264672)

<div class="topic-metadata">

**Author:** [@Carlos\_Patricio](https://discuss.elastic.co/u/Carlos_Patricio)\
**Replies:** 5\
**Last updated:** [February 23, 2021, 4:11pm UTC](https://discuss.elastic.co/t/get-data-from-kibana-using-elasticsearch-api/264672 "2021-02-23T16:11:38Z")

</div>

Hi, I'm trying to retrieve data from one Kibana view using the API request. The request from the view: The response with the expected result: And then I tried to paste the request to Kibana \> Dev Tools \> Console,…

---

## [Alert query for kubernetes](https://discuss.elastic.co/t/alert-query-for-kubernetes/265003)

<div class="topic-metadata">

**Author:** [@alfredo.deluca](https://discuss.elastic.co/u/alfredo.deluca)\
**Replies:** 6\
**Last updated:** [February 23, 2021, 3:21pm UTC](https://discuss.elastic.co/t/alert-query-for-kubernetes/265003 "2021-02-23T15:21:43Z")

</div>

Hi all. I use elastic cloud 7.11.0 and we have filebeat and metricbeat running on a k8s cluster. I also have an alert on watcher to send and aletr when a POD in the kubernetes cluster goes down. Now the query it's fine…

---

## [How to combine (logical "and") membership of 2 LDAP groups in role\_mapping file](https://discuss.elastic.co/t/how-to-combine-logical-and-membership-of-2-ldap-groups-in-role-mapping-file/265133)

<div class="topic-metadata">

**Author:** [@Javad\_Alipanah](https://discuss.elastic.co/u/Javad_Alipanah)\
**Replies:** 2\
**Last updated:** [February 23, 2021, 2:33pm UTC](https://discuss.elastic.co/t/how-to-combine-logical-and-membership-of-2-ldap-groups-in-role-mapping-file/265133 "2021-02-23T14:33:30Z")

</div>

Hello everybody, I have trouble writing LDAP role\_mapping.yml. I want to map users who are members of both 'elk-users' and 'team-core' groups to an elastic role. I did it through API and Lucene language using the 'all'…

---

## [String range queries, non-identical lengths](https://discuss.elastic.co/t/string-range-queries-non-identical-lengths/265210)

<div class="topic-metadata">

**Author:** [@Andrew\_Riley](https://discuss.elastic.co/u/Andrew_Riley)\
**Replies:** 0\
**Last updated:** [February 23, 2021, 2:15pm UTC](https://discuss.elastic.co/t/string-range-queries-non-identical-lengths/265210 "2021-02-23T14:15:03Z")

</div>

I've been trying to develop some range queries of business applied document IDs. These are mixed alphanumeric values like "1a" and "47b" I've had a look at previous questions such as; https://discuss.elastic.co/t/elasti…

---

## [How to check if a master node auto-election is enabled?](https://discuss.elastic.co/t/how-to-check-if-a-master-node-auto-election-is-enabled/265197)

<div class="topic-metadata">

**Author:** [@Manikandan\_Kbk](https://discuss.elastic.co/u/Manikandan_Kbk)\
**Replies:** 5\
**Last updated:** [February 23, 2021, 12:48pm UTC](https://discuss.elastic.co/t/how-to-check-if-a-master-node-auto-election-is-enabled/265197 "2021-02-23T12:48:27Z")

</div>

We have installed ES 6.2.4 and have 3 master node setup. Is there a way to check if auto-election of master node is enabled in case active master goes down? do elastic search always do auto-election (or) disabling auto…

---

## [Ingest Pipeline, set field derived from another](https://discuss.elastic.co/t/ingest-pipeline-set-field-derived-from-another/265195)

<div class="topic-metadata">

**Author:** [@nberens](https://discuss.elastic.co/u/nberens)\
**Replies:** 2\
**Last updated:** [February 23, 2021, 12:25pm UTC](https://discuss.elastic.co/t/ingest-pipeline-set-field-derived-from-another/265195 "2021-02-23T12:25:14Z")

</div>

Hello, i am currently building a new pipeline for filebeat where we ingest a lot of different logfiles, e.g. /log/appname1.log /log/appname2.log etc now i want a field in every document that says: app: appname1 So…

---

## [Elasticsearch only binds to localhost but not IP / hostname / fqdn hostname - WHY?](https://discuss.elastic.co/t/elasticsearch-only-binds-to-localhost-but-not-ip-hostname-fqdn-hostname-why/265198)

<div class="topic-metadata">

**Author:** [@smm](https://discuss.elastic.co/u/smm)\
**Replies:** 7\
**Last updated:** [February 23, 2021, 12:20pm UTC](https://discuss.elastic.co/t/elasticsearch-only-binds-to-localhost-but-not-ip-hostname-fqdn-hostname-why/265198 "2021-02-23T12:20:55Z")

</div>

Hi there, I am wondering: build a multinode stack. On a stack I would llike to to a: curl -s -k -u elastic:changeme -XGET https://SOMETHING:9200/\_cat/health If SOMETHING is: 127.0.0.1 or localhost it works machine i…

---

## [Preventing SearchPhaseExecutionExceptions during rolling restart of cluster nodes](https://discuss.elastic.co/t/preventing-searchphaseexecutionexceptions-during-rolling-restart-of-cluster-nodes/265182)

<div class="topic-metadata">

**Author:** [@amishar](https://discuss.elastic.co/u/amishar)\
**Replies:** 1\
**Last updated:** [February 23, 2021, 12:06pm UTC](https://discuss.elastic.co/t/preventing-searchphaseexecutionexceptions-during-rolling-restart-of-cluster-nodes/265182 "2021-02-23T12:06:18Z")

</div>

Several Scroll Search requests fail with SearchPhaseExecutionException around the time when there is a rolling restart of the nodes in the cluster(ES 6.8). These SearchPhaseExecution exception has an underlying cause tha…

---

## [Aggregation - Multiplication of multiple nested fields and sum](https://discuss.elastic.co/t/aggregation-multiplication-of-multiple-nested-fields-and-sum/265199)

<div class="topic-metadata">

**Author:** [@krishnapss](https://discuss.elastic.co/u/krishnapss)\
**Replies:** 0\
**Last updated:** [February 23, 2021, 11:50am UTC](https://discuss.elastic.co/t/aggregation-multiplication-of-multiple-nested-fields-and-sum/265199 "2021-02-23T11:50:40Z")

</div>

Hi, Could you please help me to solve this problem. Really appreciate your help. I want to multiply and sum of two properties (or fields). One is from main object and another one is from nested object. History object c…

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

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