# Elasticsearch

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

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

**Page:** 664

---

## [Calculate query weight. Is it possible?](https://discuss.elastic.co/t/calculate-query-weight-is-it-possible/270428)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 1\
**Last updated:** [April 17, 2021, 9:24pm UTC](https://discuss.elastic.co/t/calculate-query-weight-is-it-possible/270428 "2021-04-17T21:24:43Z")

</div>

Hey there, is it possible to calculate the query weight? I mean, I would like to start to optimize how I use use \_search and the nested query object. So, I would like to test different approach and use different query to…

---

## [Question about PageCacheRecycler's designe](https://discuss.elastic.co/t/question-about-pagecacherecyclers-designe/270460)

<div class="topic-metadata">

**Author:** [@rpgmakervx](https://discuss.elastic.co/u/rpgmakervx)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 7:42pm UTC](https://discuss.elastic.co/t/question-about-pagecacherecyclers-designe/270460 "2021-04-17T19:42:36Z")

</div>

When I see PageCacheRecycler, I found the concurrent type's slot count up to avaliable processor count. but in fact thread count always exceeds processors count, so why not use more dynamic count that rely on current t…

---

## [Spark SQL types are not handled through basic RDD saveToEs() calls](https://discuss.elastic.co/t/spark-sql-types-are-not-handled-through-basic-rdd-savetoes-calls/270458)

<div class="topic-metadata">

**Author:** [@roypiyali92](https://discuss.elastic.co/u/roypiyali92)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 6:56pm UTC](https://discuss.elastic.co/t/spark-sql-types-are-not-handled-through-basic-rdd-savetoes-calls/270458 "2021-04-17T18:56:50Z")

</div>

I am trying to a simple operation wherein I am running a Spark job to persist a DataFrame to ElasticSearch. ElasticSearch Version : 5.3.0 Scala Version - 2.12 Spark Version - 3.0.0 On Trying this code, I get an error …

---

## [Querying for null values](https://discuss.elastic.co/t/querying-for-null-values/270455)

<div class="topic-metadata">

**Author:** [@Ruth\_Smith](https://discuss.elastic.co/u/Ruth_Smith)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 4:55pm UTC](https://discuss.elastic.co/t/querying-for-null-values/270455 "2021-04-17T16:55:45Z")

</div>

I'm new to Elasticsearch, using version 7.1.2. I am setting up an index which contains time-stamped records for users. I would like to find out how to search for all users who are not active (i.e. have no records) ove…

---

## [My\_index/\_stats/indexing (high number of "index\_failed" operations)](https://discuss.elastic.co/t/my-index-stats-indexing-high-number-of-index-failed-operations/270152)

<div class="topic-metadata">

**Author:** [@Logan\_H](https://discuss.elastic.co/u/Logan_H)\
**Replies:** 4\
**Last updated:** [April 17, 2021, 4:16pm UTC](https://discuss.elastic.co/t/my-index-stats-indexing-high-number-of-index-failed-operations/270152 "2021-04-17T16:16:44Z")

</div>

I'm supporting a cluster with an index that is seeing a high number in "indexed\_failed" operations as shown by the indexing stats. I'm trying to understand what type of scenarios would cause this counter to increment up.…

---

## [Elasticsearch fuzziness global setting](https://discuss.elastic.co/t/elasticsearch-fuzziness-global-setting/270445)

<div class="topic-metadata">

**Author:** [@mohamad\_shalodi](https://discuss.elastic.co/u/mohamad_shalodi)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 10:49am UTC](https://discuss.elastic.co/t/elasticsearch-fuzziness-global-setting/270445 "2021-04-17T10:49:45Z")

</div>

Hi Regarding fuzzy in elasticsearch queries, i wanted to ask if i can configure the fuzziness property in "fuzzy" and "query\_string" queries as a global setting for all queries instead of putting it in every query writt…

---

## [Creating App Search with Terraform?](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234)

<div class="topic-metadata">

**Author:** [@Chanonry](https://discuss.elastic.co/u/Chanonry)\
**Replies:** 2\
**Last updated:** [April 17, 2021, 8:53am UTC](https://discuss.elastic.co/t/creating-app-search-with-terraform/269234 "2021-04-17T08:53:41Z")

</div>

We are in the early stages of exploring App Search and really like the abstraction on Elasticsearch as it gets up going much faster, the console lets us get a feel for the available parameters and autoscaling promises mu…

---

## [Implementation of ELK stack in large company with huge data](https://discuss.elastic.co/t/implementation-of-elk-stack-in-large-company-with-huge-data/269887)

<div class="topic-metadata">

**Author:** [@xirehat](https://discuss.elastic.co/u/xirehat)\
**Replies:** 9\
**Last updated:** [April 17, 2021, 6:49am UTC](https://discuss.elastic.co/t/implementation-of-elk-stack-in-large-company-with-huge-data/269887 "2021-04-17T06:49:21Z")

</div>

Hello We want to change implementation of ELK stack in our company, we having some challenge at this time: Kibana is too slow (sometimes getting response from Elasticsearch take time more than 5 minutes) Our service's …

---

## [Cluster Rerouting - Moving Primaries](https://discuss.elastic.co/t/cluster-rerouting-moving-primaries/270396)

<div class="topic-metadata">

**Author:** [@Eduardo\_Iglesias](https://discuss.elastic.co/u/Eduardo_Iglesias)\
**Replies:** 1\
**Last updated:** [April 17, 2021, 4:32am UTC](https://discuss.elastic.co/t/cluster-rerouting-moving-primaries/270396 "2021-04-17T04:32:15Z")

</div>

Hello Community, I'm trying to move my primary from Node-C to Node-D but I'm not able to perform this task. Is there any way to accomplish this? PUT rr\_index2 { "settings": { "number\_of\_shards": 1, "number\_of\_r…

---

## [Elasticsearch will not start with xpack.security.enabled: true running latest 7.12 version and basic license](https://discuss.elastic.co/t/elasticsearch-will-not-start-with-xpack-security-enabled-true-running-latest-7-12-version-and-basic-license/270307)

<div class="topic-metadata">

**Author:** [@Reedler](https://discuss.elastic.co/u/Reedler)\
**Replies:** 3\
**Last updated:** [April 17, 2021, 3:46am UTC](https://discuss.elastic.co/t/elasticsearch-will-not-start-with-xpack-security-enabled-true-running-latest-7-12-version-and-basic-license/270307 "2021-04-17T03:46:15Z")

</div>

Output of license "type" : "basic", Running small 3 node cluster with same elasticsearch.xml configs xpack.security.enabled: true

---

## [How to download data from an elasticsearch cloud index with elasticdump](https://discuss.elastic.co/t/how-to-download-data-from-an-elasticsearch-cloud-index-with-elasticdump/270431)

<div class="topic-metadata">

**Author:** [@Juan\_David\_Jaramillo](https://discuss.elastic.co/u/Juan_David_Jaramillo)\
**Replies:** 9\
**Last updated:** [April 17, 2021, 12:20am UTC](https://discuss.elastic.co/t/how-to-download-data-from-an-elasticsearch-cloud-index-with-elasticdump/270431 "2021-04-17T00:20:51Z")

</div>

Hi, I am trying to download the data of an index with the elasticdump tool from the elasticsearch cloud but I get the following error : root@srvefevmmar:~# elasticdump \\ \> --input=https://elastic:secret@72dfe17217744236…

---

## [Trying to run the 'Get duration by using bucket script' but not working](https://discuss.elastic.co/t/trying-to-run-the-get-duration-by-using-bucket-script-but-not-working/269648)

<div class="topic-metadata">

**Author:** [@gentle\_ghost](https://discuss.elastic.co/u/gentle_ghost)\
**Replies:** 5\
**Last updated:** [April 16, 2021, 9:52pm UTC](https://discuss.elastic.co/t/trying-to-run-the-get-duration-by-using-bucket-script-but-not-working/269648 "2021-04-16T21:52:38Z")

</div>

Hello, I'm attempting to calculate Session Duration by using the provided example here: I even followed this users successful implementation: Computing session durations from timestamps scattered over two documents - …

---

## [How to download data from an elasticsearch index](https://discuss.elastic.co/t/how-to-download-data-from-an-elasticsearch-index/269354)

<div class="topic-metadata">

**Author:** [@Juan\_David\_Jaramillo](https://discuss.elastic.co/u/Juan_David_Jaramillo)\
**Replies:** 12\
**Last updated:** [April 16, 2021, 8:29pm UTC](https://discuss.elastic.co/t/how-to-download-data-from-an-elasticsearch-index/269354 "2021-04-16T20:29:12Z")

</div>

Hi, guy's How can i download all the data of an index in elasticsearch? it downloads the CSV but it does not show all the data, I need to download the whole index, please help me?

---

## [Ingest ASN.1 binary files](https://discuss.elastic.co/t/ingest-asn-1-binary-files/270411)

<div class="topic-metadata">

**Author:** [@fformoso](https://discuss.elastic.co/u/fformoso)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 7:07pm UTC](https://discuss.elastic.co/t/ingest-asn-1-binary-files/270411 "2021-04-16T19:07:33Z")

</div>

Hello! I'm trying to setup an ingest pipeline of CDR files encoded in ASN.1 binary format and load the data in the elastic cluster I've been reading and trying to determine if we have built in tools in Elastic to accom…

---

## [Unknown key for a START\_OBJECT in \[runtime\_mappings\]](https://discuss.elastic.co/t/unknown-key-for-a-start-object-in-runtime-mappings/270317)

<div class="topic-metadata">

**Author:** [@plm](https://discuss.elastic.co/u/plm)\
**Replies:** 2\
**Last updated:** [April 16, 2021, 6:20pm UTC](https://discuss.elastic.co/t/unknown-key-for-a-start-object-in-runtime-mappings/270317 "2021-04-16T18:20:05Z")

</div>

Hi, I am getting the following error: upload completely sent off: 426 out of 426 bytes \< HTTP/1.1 400 Bad Request \< content-type: application/json; charset=UTF-8 \< content-length: 374 \< { “error” : { “ro…

---

## [Too many dynamic script compilations within max](https://discuss.elastic.co/t/too-many-dynamic-script-compilations-within-max/270355)

<div class="topic-metadata">

**Author:** [@IYABAO](https://discuss.elastic.co/u/IYABAO)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 4:42pm UTC](https://discuss.elastic.co/t/too-many-dynamic-script-compilations-within-max/270355 "2021-04-16T16:42:10Z")

</div>

\[script\] Too many dynamic script compilations within, max: \[75/5m\]; please use indexed, or scripts with parameters instead; this limit can be changed by the \[script.max\_compilations\_rate\] setting How can I get the dynam…

---

## [ConnectionClosedException](https://discuss.elastic.co/t/connectionclosedexception/270348)

<div class="topic-metadata">

**Author:** [@Priyank07](https://discuss.elastic.co/u/Priyank07)\
**Replies:** 2\
**Last updated:** [April 16, 2021, 4:18pm UTC](https://discuss.elastic.co/t/connectionclosedexception/270348 "2021-04-16T16:18:53Z")

</div>

When I am trying to connect to elastic from java using HighLevelRestClient it is giving connectionClosed Exception but when I am trying to connect using restTemplate it is getting connected without error. Is it necessar…

---

## [Cluster state is yellow when configuring minimal security](https://discuss.elastic.co/t/cluster-state-is-yellow-when-configuring-minimal-security/270286)

<div class="topic-metadata">

**Author:** [@marone](https://discuss.elastic.co/u/marone)\
**Replies:** 6\
**Last updated:** [April 16, 2021, 2:54pm UTC](https://discuss.elastic.co/t/cluster-state-is-yellow-when-configuring-minimal-security/270286 "2021-04-16T14:54:14Z")

</div>

Greetings folks, I have a cluster with two nodes (node1 and node2) running ELK 7.12, I activated security feature from this link Set up minimal security for Elasticsearch | Elasticsearch Guide \[7.12\] | Elastic, I follow…

---

## [Remote cluster not displayed but acknowledged](https://discuss.elastic.co/t/remote-cluster-not-displayed-but-acknowledged/269992)

<div class="topic-metadata">

**Author:** [@pavel.entner](https://discuss.elastic.co/u/pavel.entner)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 8:35am UTC](https://discuss.elastic.co/t/remote-cluster-not-displayed-but-acknowledged/269992 "2021-04-16T08:35:38Z")

</div>

Hello, I'm quite new to Elasticsearch. I have installed two Elasticsearch clusters consisting of 3x master node and 3x data node each. On one master node on each cluster I'm running Kibana. I'm using https and transport…

---

## [I have a query regarding dense\_vector in elastic search](https://discuss.elastic.co/t/i-have-a-query-regarding-dense-vector-in-elastic-search/270327)

<div class="topic-metadata">

**Author:** [@Rahul\_Singh](https://discuss.elastic.co/u/Rahul_Singh)\
**Replies:** 0\
**Last updated:** [April 16, 2021, 5:55am UTC](https://discuss.elastic.co/t/i-have-a-query-regarding-dense-vector-in-elastic-search/270327 "2021-04-16T05:55:14Z")

</div>

Hi, I am using elastic search using python, i am creating dense\_vector in mapping and then trying to add the feild via python a list of float value e.g - \[1.02,2,1.01..\] and am unable to ad it. the error says cant chan…

---

## [Issue setting up basic security on Elasticsearch 7.12](https://discuss.elastic.co/t/issue-setting-up-basic-security-on-elasticsearch-7-12/270284)

<div class="topic-metadata">

**Author:** [@byoungman](https://discuss.elastic.co/u/byoungman)\
**Replies:** 1\
**Last updated:** [April 15, 2021, 8:39pm UTC](https://discuss.elastic.co/t/issue-setting-up-basic-security-on-elasticsearch-7-12/270284 "2021-04-15T20:39:23Z")

</div>

I just downloaded Elasticsearch 7.12 and have it configured for basic operation with no security enabled. When I go to enable minimum security as per the documentation - Set up minimal security for Elasticsearch and ena…

---

## [How to identify the ip address of application which sends the bulk updates to elasticsearch cluster?](https://discuss.elastic.co/t/how-to-identify-the-ip-address-of-application-which-sends-the-bulk-updates-to-elasticsearch-cluster/270154)

<div class="topic-metadata">

**Author:** [@mario12](https://discuss.elastic.co/u/mario12)\
**Replies:** 7\
**Last updated:** [April 15, 2021, 7:32pm UTC](https://discuss.elastic.co/t/how-to-identify-the-ip-address-of-application-which-sends-the-bulk-updates-to-elasticsearch-cluster/270154 "2021-04-15T19:32:45Z")

</div>

How to identify the IP address of the application which sends the bulk updates to elasticsearch cluster?

---

## [Elastic search fill missing values in aggregation](https://discuss.elastic.co/t/elastic-search-fill-missing-values-in-aggregation/270281)

<div class="topic-metadata">

**Author:** [@Ivan\_Janev](https://discuss.elastic.co/u/Ivan_Janev)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 4:29pm UTC](https://discuss.elastic.co/t/elastic-search-fill-missing-values-in-aggregation/270281 "2021-04-15T16:29:19Z")

</div>

I'm doing a sum aggregation in elasticsearch and in the query part I'm using a range filter. Is there anyway to fill missing data when the results come back? To make this more clear I'm going to share the code which is c…

---

## [Problem with parent-child join](https://discuss.elastic.co/t/problem-with-parent-child-join/270278)

<div class="topic-metadata">

**Author:** [@MarlMan](https://discuss.elastic.co/u/MarlMan)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 3:46pm UTC](https://discuss.elastic.co/t/problem-with-parent-child-join/270278 "2021-04-15T15:46:30Z")

</div>

Hey guys. I have a big data set with many parents and children. My goal is to find out, how many Jo-children each parent has. So I only want to know about children which have Jo as a part of their name (Joel, John, John…

---

## [Elasticsearch doesn't cache query with rounded date](https://discuss.elastic.co/t/elasticsearch-doesnt-cache-query-with-rounded-date/269706)

<div class="topic-metadata">

**Author:** [@tlinhart](https://discuss.elastic.co/u/tlinhart)\
**Replies:** 25\
**Last updated:** [April 15, 2021, 3:39pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-cache-query-with-rounded-date/269706 "2021-04-15T15:39:48Z")

</div>

I originally posted the question to Stack Overflow but I guess it's more appropriate to ask here. (For reference, the original question is here - caching - Elasticsearch doesn't cache query with rounded date - Stack Over…

---

## [Get per process Metrics](https://discuss.elastic.co/t/get-per-process-metrics/270242)

<div class="topic-metadata">

**Author:** [@Dzious](https://discuss.elastic.co/u/Dzious)\
**Replies:** 12\
**Last updated:** [April 15, 2021, 3:33pm UTC](https://discuss.elastic.co/t/get-per-process-metrics/270242 "2021-04-15T15:33:29Z")

</div>

Hi, I'm a new user to Elastic and in order to better understand how elastic works, i would like to create a visualisation or canvas that would allow me to compare per process memory usage on my server. More used to SQL…

---

## [Flattened alternative for OSS verrsion](https://discuss.elastic.co/t/flattened-alternative-for-oss-verrsion/270029)

<div class="topic-metadata">

**Author:** [@oskrdt](https://discuss.elastic.co/u/oskrdt)\
**Replies:** 4\
**Last updated:** [April 15, 2021, 3:23pm UTC](https://discuss.elastic.co/t/flattened-alternative-for-oss-verrsion/270029 "2021-04-15T15:23:18Z")

</div>

Is there an alternative/workaround for the flattened mapping type to prevent mapping explosion when using OSS elasticsearch version?

---

## [Elasticsearch can't login https://localhost:9200 after setting ssl](https://discuss.elastic.co/t/elasticsearch-cant-login-https-localhost-9200-after-setting-ssl/270169)

<div class="topic-metadata">

**Author:** [@gricn](https://discuss.elastic.co/u/gricn)\
**Replies:** 10\
**Last updated:** [April 15, 2021, 2:50pm UTC](https://discuss.elastic.co/t/elasticsearch-cant-login-https-localhost-9200-after-setting-ssl/270169 "2021-04-15T14:50:25Z")

</div>

Environment: Win10 WLS2 Ubuntu 20.04, Docker version 20.10.5, Docker-compose version 1.29.0, ELK 7.12.0, nginx version 1.18.0 I have enabled xpack in the last version docker-compose.yml setting and use ./bin/elasticsear…

---

## [When to separate data nodes and master node roles](https://discuss.elastic.co/t/when-to-separate-data-nodes-and-master-node-roles/270127)

<div class="topic-metadata">

**Author:** [@bharat1](https://discuss.elastic.co/u/bharat1)\
**Replies:** 2\
**Last updated:** [April 15, 2021, 1:49pm UTC](https://discuss.elastic.co/t/when-to-separate-data-nodes-and-master-node-roles/270127 "2021-04-15T13:49:39Z")

</div>

Hi All, Is there any criteria that should be followed to decide on separating Master nodes and Data nodes?

---

## [GCP Discovert Plugi installation](https://discuss.elastic.co/t/gcp-discovert-plugi-installation/270220)

<div class="topic-metadata">

**Author:** [@marcin.wizgird](https://discuss.elastic.co/u/marcin.wizgird)\
**Replies:** 5\
**Last updated:** [April 15, 2021, 1:45pm UTC](https://discuss.elastic.co/t/gcp-discovert-plugi-installation/270220 "2021-04-15T13:45:47Z")

</div>

Hi, I encountered challenge with GCP Discovery Plugin installation. ElasticSearch version which is installed is 6.8.4. whereas plugin accessible on the website is for version 6.8.15. During the installation I encounter …

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

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