# Elasticsearch

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

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

**Page:** 696

---

## [Accessing Arrays inside ElasticSearch Script with Painless](https://discuss.elastic.co/t/accessing-arrays-inside-elasticsearch-script-with-painless/263894)

<div class="topic-metadata">

**Author:** [@Cyphy](https://discuss.elastic.co/u/Cyphy)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 8:46am UTC](https://discuss.elastic.co/t/accessing-arrays-inside-elasticsearch-script-with-painless/263894 "2021-02-25T08:46:11Z")

</div>

Hello there, actually i am trying to compare bounding boxes and score them. For that i am using a painless script which helps me with the math. Unfortunately in some cases my documents doesn't contain only one coordinat…

---

## [Delete unused dynamic mapping Fields](https://discuss.elastic.co/t/delete-unused-dynamic-mapping-fields/265446)

<div class="topic-metadata">

**Author:** [@Vijay\_Gupta](https://discuss.elastic.co/u/Vijay_Gupta)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 7:50am UTC](https://discuss.elastic.co/t/delete-unused-dynamic-mapping-fields/265446 "2021-02-25T07:50:55Z")

</div>

Continuing the discussion from Delete unsued dynamic mapping Fields: Can anyone please explain from Elasticsearch Team in detail that why we are not able to add this feature of deleting unwanted mapping? We have 10 mil…

---

## [javax.net.ssl.SSLHandshakeException: Received fatal alert: bad\_certificate](https://discuss.elastic.co/t/javax-net-ssl-sslhandshakeexception-received-fatal-alert-bad-certificate/265369)

<div class="topic-metadata">

**Author:** [@d.balaaji](https://discuss.elastic.co/u/d.balaaji)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 7:35am UTC](https://discuss.elastic.co/t/javax-net-ssl-sslhandshakeexception-received-fatal-alert-bad-certificate/265369 "2021-02-25T07:35:02Z")

</div>

Hello All, I configured 4 node Elasticsearch cluster. 1 -M, 2-M/D and 1 - D nodes. I have encrypted TLS using p12 and generated pem to get the organisation signed certificates. Certificate was generated as below. ./ke…

---

## [Elastic Cloud - Not able to Update indices.query.bool.max\_clause\_count](https://discuss.elastic.co/t/elastic-cloud-not-able-to-update-indices-query-bool-max-clause-count/265428)

<div class="topic-metadata">

**Author:** [@iscorpio23](https://discuss.elastic.co/u/iscorpio23)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 6:44am UTC](https://discuss.elastic.co/t/elastic-cloud-not-able-to-update-indices-query-bool-max-clause-count/265428 "2021-02-25T06:44:35Z")

</div>

HI, Im using elastic cloud and need to update "indices.query.bool.max\_clause\_count: 2048" in the elasticsearch.yml, but having below error. Anyone have the same experience and how we solve this ? Thanks, Usman

---

## [Master not discovered yet: have discovered](https://discuss.elastic.co/t/master-not-discovered-yet-have-discovered/265432)

<div class="topic-metadata">

**Author:** [@111447](https://discuss.elastic.co/u/111447)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 4:37am UTC](https://discuss.elastic.co/t/master-not-discovered-yet-have-discovered/265432 "2021-02-25T04:37:06Z")

</div>

I am currently using Elasticsearh 7.10.2 in ec2 of aws. I would like to link the node of Elasticsearch installed in each ec2. However, the master not discovered yet error occurs. What can I do to solve it? The conte…

---

## [Getting NoShardAvailableActionException on 1.3.4](https://discuss.elastic.co/t/getting-noshardavailableactionexception-on-1-3-4/265431)

<div class="topic-metadata">

**Author:** [@sreenathss](https://discuss.elastic.co/u/sreenathss)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 4:43am UTC](https://discuss.elastic.co/t/getting-noshardavailableactionexception-on-1-3-4/265431 "2021-02-25T04:43:14Z")

</div>

Hi Team, I am using elastic version 1.3.4 on clustering mode and I am getting below mentioned error \[001\] All shards failed for phase: \[query\] org.elasticsearch.action.NoShardAvailableActionException: \[searchName\]\[1\] …

---

## [Elasticsearch-Querty and Fetch phase](https://discuss.elastic.co/t/elasticsearch-querty-and-fetch-phase/265270)

<div class="topic-metadata">

**Author:** [@leemase004](https://discuss.elastic.co/u/leemase004)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 3:24am UTC](https://discuss.elastic.co/t/elasticsearch-querty-and-fetch-phase/265270 "2021-02-25T03:24:38Z")

</div>

I am wondering if I can get a little clarification. When a query is run: "The coordinating node identifies which documents need to be fetched and issues a multi GET request to the relevant shards." I am wondering what …

---

## [Query and return up to n results based on a type field](https://discuss.elastic.co/t/query-and-return-up-to-n-results-based-on-a-type-field/265213)

<div class="topic-metadata">

**Author:** [@larswise](https://discuss.elastic.co/u/larswise)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 3:02am UTC](https://discuss.elastic.co/t/query-and-return-up-to-n-results-based-on-a-type-field/265213 "2021-02-25T03:02:29Z")

</div>

Hi, I have a datamodel with different object types in the same index. These are simply distinguished by a field I have called "type". I would like to do a "all in one query" within each of these types, giving me the to…

---

## [Watcher logic help](https://discuss.elastic.co/t/watcher-logic-help/265385)

<div class="topic-metadata">

**Author:** [@amStuckplsHelp](https://discuss.elastic.co/u/amStuckplsHelp)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 5:40pm UTC](https://discuss.elastic.co/t/watcher-logic-help/265385 "2021-02-24T17:40:52Z")

</div>

Hi, I have a few servers which supply the number of 'current active users' on those servers to my Elastic stack via Logstash. I am trying to create a watch such that; If the number of 'current active users' drops by 7…

---

## [Adding more data.path after installation, Issues](https://discuss.elastic.co/t/adding-more-data-path-after-installation-issues/265250)

<div class="topic-metadata">

**Author:** [@mgr](https://discuss.elastic.co/u/mgr)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 2:49am UTC](https://discuss.elastic.co/t/adding-more-data-path-after-installation-issues/265250 "2021-02-25T02:49:23Z")

</div>

We are facing space issue on elastic search /data folder. What is the process for adding new data.paths to address this. Saw some threads people sharing issues when data.paths are modified with additional location , elas…

---

## [Removing default node roles](https://discuss.elastic.co/t/removing-default-node-roles/265392)

<div class="topic-metadata">

**Author:** [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 2:40am UTC](https://discuss.elastic.co/t/removing-default-node-roles/265392 "2021-02-25T02:40:23Z")

</div>

when I display the setting for one of my nodes I get: "nodes": { "kAWPcpoxSNSN9WlUsYlQlg": { "timestamp": 1614190995674, "name": "secesprd01", "transport\_address": "10.6.0.67:9300", "host":…

---

## [Bulgarian stemming](https://discuss.elastic.co/t/bulgarian-stemming/265002)

<div class="topic-metadata">

**Author:** [@Hristo\_Hristov](https://discuss.elastic.co/u/Hristo_Hristov)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 1:48am UTC](https://discuss.elastic.co/t/bulgarian-stemming/265002 "2021-02-25T01:48:38Z")

</div>

Bulgarian stemmer should stem the same way these words, but it does not. биография =\> "биограф" биографията =\> "биографи" The correct is "биограф". The problem is huge because it happens in very common case of stemmi…

---

## [Index not rolling over](https://discuss.elastic.co/t/index-not-rolling-over/264843)

<div class="topic-metadata">

**Author:** [@eco](https://discuss.elastic.co/u/eco)\
**Replies:** 15\
**Last updated:** [February 24, 2021, 10:30pm UTC](https://discuss.elastic.co/t/index-not-rolling-over/264843 "2021-02-24T22:30:24Z")

</div>

Hi, I have setup elasticsearch and created the following but the index will not roll over when a limit (size in this case) is reached. Policy { "policy" : { "phases" : { "hot" : { "min\_age" : "0ms"…

---

## [Forming query with unreserved characters](https://discuss.elastic.co/t/forming-query-with-unreserved-characters/265391)

<div class="topic-metadata">

**Author:** [@Shahsha\_21](https://discuss.elastic.co/u/Shahsha_21)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 6:31pm UTC](https://discuss.elastic.co/t/forming-query-with-unreserved-characters/265391 "2021-02-24T18:31:35Z")

</div>

I am trying to query a keyword that has a dot (.) appended to it. The query works fine on Kibana's console but not on my application's function. This is the function that creates the query given a keyword: searchOpe…

---

## [Performance Impact of Deleting an Index](https://discuss.elastic.co/t/performance-impact-of-deleting-an-index/265405)

<div class="topic-metadata">

**Author:** [@xianhechen](https://discuss.elastic.co/u/xianhechen)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 8:50pm UTC](https://discuss.elastic.co/t/performance-impact-of-deleting-an-index/265405 "2021-02-24T20:50:53Z")

</div>

Hello! We have an ElasticSearch 7.5.0 cluster with 5 master nodes, 3 coordinator nodes, and 15 data nodes, each of these nodes has a 20-core CPU (HyperThread disabled), 512GB RAM, 1.8TB SSD (RAID 1 +0), and 10GB of netw…

---

## [Error with geo\_shape polygon query with points on the dateline](https://discuss.elastic.co/t/error-with-geo-shape-polygon-query-with-points-on-the-dateline/265401)

<div class="topic-metadata">

**Author:** [@robqliu](https://discuss.elastic.co/u/robqliu)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 7:26pm UTC](https://discuss.elastic.co/t/error-with-geo-shape-polygon-query-with-points-on-the-dateline/265401 "2021-02-24T19:26:28Z")

</div>

I have a polygon in a test that appears to be processed incorrectly and it ends up triggering an InvalidShapeException. The points are: -175, 20 180, 15 -177, 10 180, 5 -175, 0 -175, 20 (minor update: This also fails i…

---

## [Different output on query](https://discuss.elastic.co/t/different-output-on-query/265175)

<div class="topic-metadata">

**Author:** [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 8:47pm UTC](https://discuss.elastic.co/t/different-output-on-query/265175 "2021-02-24T20:47:50Z")

</div>

Hi All, I have a ES cluster version 6.8 and I am using python lib elasticsearch==7.11.0 and elasticsearch-dsl==7.3.0 I have created the following code index\_name = 'central\_log\_nl' query = Q('bool', must=\[ …

---

## [Geo\_shape query processing not thread-safe which causes issues with parallel shard requests](https://discuss.elastic.co/t/geo-shape-query-processing-not-thread-safe-which-causes-issues-with-parallel-shard-requests/265397)

<div class="topic-metadata">

**Author:** [@robqliu](https://discuss.elastic.co/u/robqliu)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 7:00pm UTC](https://discuss.elastic.co/t/geo-shape-query-processing-not-thread-safe-which-causes-issues-with-parallel-shard-requests/265397 "2021-02-24T19:00:30Z")

</div>

We're on ES 6.8.x and we have an integration test that spins up an in-process ES node and it appears to be processed non-deterministically. It creates a geo\_shape query and occasionally we trigger this assert in JtsGeome…

---

## [Elastic Machine learning jobs - Prometheus Blackbox Exporter / Kafka Metrics](https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362)

<div class="topic-metadata">

**Author:** [@jk247](https://discuss.elastic.co/u/jk247)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 5:46pm UTC](https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362 "2021-02-24T17:46:40Z")

</div>

Hi everyone, I am currently setting up a proactive monitoring solution with the help of the Elastic Machine Learning feature for a Web application. (In order to see the benefits vs my current (reactive) setup with Grafa…

---

## [Change service type on deployed elasticsearch using helm](https://discuss.elastic.co/t/change-service-type-on-deployed-elasticsearch-using-helm/265384)

<div class="topic-metadata">

**Author:** [@Owen\_P](https://discuss.elastic.co/u/Owen_P)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 5:40pm UTC](https://discuss.elastic.co/t/change-service-type-on-deployed-elasticsearch-using-helm/265384 "2021-02-24T17:40:00Z")

</div>

Hi I'm new to this so bear with me. I deployed the elasticsearch helm chart from here https://github.com/elastic/helm-charts/tree/master/elasticsearch but the default service type is ClusterIP but I want to change it to…

---

## [ESSERVER trying to search for xpack plugin class even after disabling xpack security in elasticsearch.yml file](https://discuss.elastic.co/t/esserver-trying-to-search-for-xpack-plugin-class-even-after-disabling-xpack-security-in-elasticsearch-yml-file/265382)

<div class="topic-metadata">

**Author:** [@karthik\_m2](https://discuss.elastic.co/u/karthik_m2)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 5:35pm UTC](https://discuss.elastic.co/t/esserver-trying-to-search-for-xpack-plugin-class-even-after-disabling-xpack-security-in-elasticsearch-yml-file/265382 "2021-02-24T17:35:41Z")

</div>

Hello Everyone, I have an issue with my elastic search server, Even though xpack security is not enabled, elasticsearch JVM is trying load them and throwing error and not allowing to start this server. This below value…

---

## [Forming query with extra quotation marks](https://discuss.elastic.co/t/forming-query-with-extra-quotation-marks/264991)

<div class="topic-metadata">

**Author:** [@Shahsha\_21](https://discuss.elastic.co/u/Shahsha_21)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 5:13pm UTC](https://discuss.elastic.co/t/forming-query-with-extra-quotation-marks/264991 "2021-02-24T17:13:13Z")

</div>

I am trying to mimic Kibana's search query via Elasticsearch's query string. For e.g. in Kibana I can search like this with the quotation marks: "ABC" AND "CDE" When I try to create this query string it throws a syntax…

---

## [Finding documents that have a specific number of values](https://discuss.elastic.co/t/finding-documents-that-have-a-specific-number-of-values/265380)

<div class="topic-metadata">

**Author:** [@Kevin\_Bourne](https://discuss.elastic.co/u/Kevin_Bourne)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 5:12pm UTC](https://discuss.elastic.co/t/finding-documents-that-have-a-specific-number-of-values/265380 "2021-02-24T17:12:17Z")

</div>

Let's say I have a mapping like this where there is a nested field within another nested field: "myIndex": { "properties": { "id": { "type": "keyword" }, "stuff": { "t…

---

## [Setting a base path for s3 repositories in the Elasticsearch user settings](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268)

<div class="topic-metadata">

**Author:** [@jhegarty](https://discuss.elastic.co/u/jhegarty)\
**Replies:** 3\
**Last updated:** [February 24, 2021, 5:03pm UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268 "2021-02-24T17:03:10Z")

</div>

Is there some way to set a repository base path for s3 in an Elasticsearch deployment's user settings? I'm getting bootloop errors when we try that though setting repositories.s3.base\_path in the user settings - (Reposit…

---

## [Select statemet results in a blocked write attempt](https://discuss.elastic.co/t/select-statemet-results-in-a-blocked-write-attempt/265366)

<div class="topic-metadata">

**Author:** [@daniel90](https://discuss.elastic.co/u/daniel90)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 3:47pm UTC](https://discuss.elastic.co/t/select-statemet-results-in-a-blocked-write-attempt/265366 "2021-02-24T15:47:38Z")

</div>

I tried to access data created by greylog in a elasticsearch index using: As reference i should get the contents of greylog\_10 with: curl -X POST "localhost:9200/\_sql?format=txt&pretty" -H 'Content-Type: applicatio…

---

## [Compile rate limit for painless scripts](https://discuss.elastic.co/t/compile-rate-limit-for-painless-scripts/263421)

<div class="topic-metadata">

**Author:** [@dineshabbi](https://discuss.elastic.co/u/dineshabbi)\
**Replies:** 4\
**Last updated:** [February 24, 2021, 3:30pm UTC](https://discuss.elastic.co/t/compile-rate-limit-for-painless-scripts/263421 "2021-02-24T15:30:03Z")

</div>

Hi team, For one of our update use cases, we were benchmarking painless scripts to check to what extent we can scale them. In our experiments, I had 200 scripts, each with a '\\n' character difference, and each script wa…

---

## [Deduce filters from search string](https://discuss.elastic.co/t/deduce-filters-from-search-string/265353)

<div class="topic-metadata">

**Author:** [@Christian87](https://discuss.elastic.co/u/Christian87)\
**Replies:** 4\
**Last updated:** [February 24, 2021, 3:15pm UTC](https://discuss.elastic.co/t/deduce-filters-from-search-string/265353 "2021-02-24T15:15:40Z")

</div>

Hi, let's say I store a catalogue of household appliances in Elasticsearch. Documents in my index can represent dish washers, washing machines, freezers and similar devices. Dish washers have a text field "type" which …

---

## [Setting index.mapper.dynamic was removed after version 6.0.0](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/265356)

<div class="topic-metadata">

**Author:** [@jmaitrehenry](https://discuss.elastic.co/u/jmaitrehenry)\
**Replies:** 0\
**Last updated:** [February 24, 2021, 2:15pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/265356 "2021-02-24T14:15:57Z")

</div>

Hi, I have a trouble after trying to update an index mapping with ES 7.4 and 7.9: PUT /myindex/\_mapping { "properties": { "doc": { "properties": { "transaction": { "properties": { …

---

## [Index Dimensioning and Optimization (across the Cluster)](https://discuss.elastic.co/t/index-dimensioning-and-optimization-across-the-cluster/265041)

<div class="topic-metadata">

**Author:** [@wissam](https://discuss.elastic.co/u/wissam)\
**Replies:** 5\
**Last updated:** [February 24, 2021, 2:00pm UTC](https://discuss.elastic.co/t/index-dimensioning-and-optimization-across-the-cluster/265041 "2021-02-24T14:00:12Z")

</div>

Hello, We have an Elasticsearch (v7.5.3) cluster with 4 nodes (each is a VM with 16 CPUs, 32 GB of RAM and JVM heap size of 16GB) and all configured as data nodes. Our main index has around 110M records (~70 GB) that w…

---

## [Cannot connect to the Elasticsearch cluster](https://discuss.elastic.co/t/cannot-connect-to-the-elasticsearch-cluster/265348)

<div class="topic-metadata">

**Author:** [@Jeremy\_Colmenarez](https://discuss.elastic.co/u/Jeremy_Colmenarez)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 1:57pm UTC](https://discuss.elastic.co/t/cannot-connect-to-the-elasticsearch-cluster/265348 "2021-02-24T13:57:12Z")

</div>

Hi everyone, im new at Elastic and i have this problem, when i open web appear this message: im loged in the linux but i dont find in which path is located the logs path required so i can start to make the troubleshoo…

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

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