# Elasticsearch

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

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

**Page:** 706

---

## ["\_shard\_stores" returns empty](https://discuss.elastic.co/t/shard-stores-returns-empty/263966)

<div class="topic-metadata">

**Author:** [@gruselglatz](https://discuss.elastic.co/u/gruselglatz)\
**Replies:** 3\
**Last updated:** [February 12, 2021, 12:25pm UTC](https://discuss.elastic.co/t/shard-stores-returns-empty/263966 "2021-02-12T12:25:36Z")

</div>

Hey, when I try to GET /\_shard\_stores i always get an empty response. I tried it with the elastic user or every other user. My cluster is Green and i have some 1000 shards allocated. I wanted to know where a shard live…

---

## [After two nodes fail, Master cannot be assigned to the third one](https://discuss.elastic.co/t/after-two-nodes-fail-master-cannot-be-assigned-to-the-third-one/264030)

<div class="topic-metadata">

**Author:** [@Mateusz\_Koper](https://discuss.elastic.co/u/Mateusz_Koper)\
**Replies:** 3\
**Last updated:** [February 12, 2021, 12:20pm UTC](https://discuss.elastic.co/t/after-two-nodes-fail-master-cannot-be-assigned-to-the-third-one/264030 "2021-02-12T12:20:16Z")

</div>

Hi, In our organization, we've set up 3 nodes, two of them are storing the data, and the last one is a kind of 'Tiebreaker'. When one of the node fails, Master is easily switched to the other machine, and everything se…

---

## [Elasticsearch script breaking change query Accessing missing document value](https://discuss.elastic.co/t/elasticsearch-script-breaking-change-query-accessing-missing-document-value/264096)

<div class="topic-metadata">

**Author:** [@sardar\_nale](https://discuss.elastic.co/u/sardar_nale)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 11:43am UTC](https://discuss.elastic.co/t/elasticsearch-script-breaking-change-query-accessing-missing-document-value/264096 "2021-02-12T11:43:34Z")

</div>

Hi all, We are using elastic version 7.10.2 and it is migrated from 6.8.6. I want to compare two fields from a same document using Scripting .Below query was working in elastic version 6.8.6 now after upgrade to 7.10 i…

---

## [Optimizing segment merging](https://discuss.elastic.co/t/optimizing-segment-merging/264111)

<div class="topic-metadata">

**Author:** [@buncieboy](https://discuss.elastic.co/u/buncieboy)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 11:03am UTC](https://discuss.elastic.co/t/optimizing-segment-merging/264111 "2021-02-12T11:03:38Z")

</div>

When we index our data from our database (using the HibernateSearch-ElasticSearch implementation) we found we were getting a large amount of segments (20-30). On our current data we found that force-merging the data (2 i…

---

## [Cluster status red and unassigned shards](https://discuss.elastic.co/t/cluster-status-red-and-unassigned-shards/264081)

<div class="topic-metadata">

**Author:** [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)\
**Replies:** 2\
**Last updated:** [February 12, 2021, 10:49am UTC](https://discuss.elastic.co/t/cluster-status-red-and-unassigned-shards/264081 "2021-02-12T10:49:59Z")

</div>

I updated the elastic cluster to 7.10.1. Then elasticsearch service was restarted. Then cluster status became "Red". There are two unassigned shards (same index primary and replica shards). I want to know how to make cl…

---

## [Cannot be changed from type \[float\] to \[long\] issue appears. But, we have dynamic data and it's hard to put mappings on them](https://discuss.elastic.co/t/cannot-be-changed-from-type-float-to-long-issue-appears-but-we-have-dynamic-data-and-its-hard-to-put-mappings-on-them/264105)

<div class="topic-metadata">

**Author:** [@Kruthika\_C\_S](https://discuss.elastic.co/u/Kruthika_C_S)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 10:35am UTC](https://discuss.elastic.co/t/cannot-be-changed-from-type-float-to-long-issue-appears-but-we-have-dynamic-data-and-its-hard-to-put-mappings-on-them/264105 "2021-02-12T10:35:10Z")

</div>

I have a lot of unstructured data in millions. Some of them have {...data, value: \<float\>} and some have {...data, value: \<long\>} in the data. All I'm trying to say is, the data type of value can differ. In addition t…

---

## [Need help in understanding Elasticsearch configuration with TLS/SSL](https://discuss.elastic.co/t/need-help-in-understanding-elasticsearch-configuration-with-tls-ssl/263998)

<div class="topic-metadata">

**Author:** [@kasim123](https://discuss.elastic.co/u/kasim123)\
**Replies:** 5\
**Last updated:** [February 12, 2021, 9:58am UTC](https://discuss.elastic.co/t/need-help-in-understanding-elasticsearch-configuration-with-tls-ssl/263998 "2021-02-12T09:58:51Z")

</div>

Hi Team, We have a EFK cluster (7.4.x) which was setup more than a year ago with x-pack enabled. At that I followed official document and created self-signed certificates using elastisearch-certutil and that was workin…

---

## [Parsing error on ilm](https://discuss.elastic.co/t/parsing-error-on-ilm/264099)

<div class="topic-metadata">

**Author:** [@jamesp220291](https://discuss.elastic.co/u/jamesp220291)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 9:06am UTC](https://discuss.elastic.co/t/parsing-error-on-ilm/264099 "2021-02-12T09:06:16Z")

</div>

hey had this iLM working now for months. all of a sudden getting this error - mapper\_parsing\_exception: Failed to parse mapping \[\_doc\]: unknown parameter \[ignore\_above\] on mapper \[mem\] of type \[long\] anyone know wh…

---

## [Get elasticsearch hostname in watcher](https://discuss.elastic.co/t/get-elasticsearch-hostname-in-watcher/264093)

<div class="topic-metadata">

**Author:** [@bernhard.fluehmann](https://discuss.elastic.co/u/bernhard.fluehmann)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 8:28am UTC](https://discuss.elastic.co/t/get-elasticsearch-hostname-in-watcher/264093 "2021-02-12T08:28:03Z")

</div>

I need to get the hostname of the elasticsearch node which executes a watch. As far as it seems it is not available as a ctx variable. As well it seems not possible to get it directly by painless. Does anybody know how t…

---

## [Indexing time issue after upgrading 7.7.1 to 7.10.1](https://discuss.elastic.co/t/indexing-time-issue-after-upgrading-7-7-1-to-7-10-1/261777)

<div class="topic-metadata">

**Author:** [@Evgeny\_Dekhtyarev](https://discuss.elastic.co/u/Evgeny_Dekhtyarev)\
**Replies:** 4\
**Last updated:** [February 12, 2021, 5:22am UTC](https://discuss.elastic.co/t/indexing-time-issue-after-upgrading-7-7-1-to-7-10-1/261777 "2021-02-12T05:22:51Z")

</div>

Hello everyone! Thanks for your product! We have several Elasticsearch clusters and one of them has a problem when upgrading from 7.7.1 to 7.10.1. We needed an update due to a problem with the circuit breaker (https:/…

---

## [Elasticsearch.py scanerror](https://discuss.elastic.co/t/elasticsearch-py-scanerror/264074)

<div class="topic-metadata">

**Author:** [@diego.ss](https://discuss.elastic.co/u/diego.ss)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 2:02am UTC](https://discuss.elastic.co/t/elasticsearch-py-scanerror/264074 "2021-02-12T02:02:34Z")

</div>

Hello, I'm having a similar problem with elasticsearch-py as in the discussion below, except for the fact that my problem is with the version 6. https://discuss.elastic.co/t/elasticsearch-dsl-python-scanerror/201980. …

---

## [Thread waitedTime is more while connecting to elastic](https://discuss.elastic.co/t/thread-waitedtime-is-more-while-connecting-to-elastic/264024)

<div class="topic-metadata">

**Author:** [@Sumaiya](https://discuss.elastic.co/u/Sumaiya)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 12:59am UTC](https://discuss.elastic.co/t/thread-waitedtime-is-more-while-connecting-to-elastic/264024 "2021-02-12T00:59:04Z")

</div>

Hello All , One of our spring boot micro service connecting to elastic has high response time , while the took time itself is 50ms the service response time is high . After taking couple of threaddumps I see there are i…

---

## [Compare a vector to a list of vectors contained in each document](https://discuss.elastic.co/t/compare-a-vector-to-a-list-of-vectors-contained-in-each-document/263905)

<div class="topic-metadata">

**Author:** [@flavienbwk](https://discuss.elastic.co/u/flavienbwk)\
**Replies:** 1\
**Last updated:** [February 11, 2021, 11:04pm UTC](https://discuss.elastic.co/t/compare-a-vector-to-a-list-of-vectors-contained-in-each-document/263905 "2021-02-11T23:04:54Z")

</div>

Hi, Each of my documents contain a list of dense\_vectors inside a nested object : words.vector I try to compare my input vector to all documents' words.vector properties. I currently try with the following but elastic…

---

## [Forced Awareness Setting](https://discuss.elastic.co/t/forced-awareness-setting/264060)

<div class="topic-metadata">

**Author:** [@abdulazizali77](https://discuss.elastic.co/u/abdulazizali77)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 10:27pm UTC](https://discuss.elastic.co/t/forced-awareness-setting/264060 "2021-02-11T22:27:35Z")

</div>

Hi Currently im testing 7.2 from a zip file in a development environment on Windows 10. I apologize if this has been thoroughly explained elsewhere but Ive looked at a few of the old forced awareness topics here and i …

---

## [New index name after rollover](https://discuss.elastic.co/t/new-index-name-after-rollover/264055)

<div class="topic-metadata">

**Author:** [@Yenii\_Ceri](https://discuss.elastic.co/u/Yenii_Ceri)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 9:04pm UTC](https://discuss.elastic.co/t/new-index-name-after-rollover/264055 "2021-02-11T21:04:02Z")

</div>

Hi, I'm creating a hot worm architecture cluster, I would like to implement ILM with rollover but I which to have a different name for the indexes after rollover: For example with an index name: winlogbeat-10, the name…

---

## [Error when using template generated by ECS Tooling (1.7 and master) for datastream](https://discuss.elastic.co/t/error-when-using-template-generated-by-ecs-tooling-1-7-and-master-for-datastream/263016)

<div class="topic-metadata">

**Author:** [@mxu](https://discuss.elastic.co/u/mxu)\
**Replies:** 7\
**Last updated:** [February 11, 2021, 7:38pm UTC](https://discuss.elastic.co/t/error-when-using-template-generated-by-ecs-tooling-1-7-and-master-for-datastream/263016 "2021-02-11T19:38:21Z")

</div>

ECS Tooling (1.7.0 and master) generates template as following with my template-settings input: { "index\_patterns":\[ "my-data-stream\*" \], "data\_stream":{ }, "mappings":{ "properties":{ …

---

## [Lowercase analyzer filter with nested field and queries](https://discuss.elastic.co/t/lowercase-analyzer-filter-with-nested-field-and-queries/264043)

<div class="topic-metadata">

**Author:** [@kgeographer](https://discuss.elastic.co/u/kgeographer)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 6:31pm UTC](https://discuss.elastic.co/t/lowercase-analyzer-filter-with-nested-field-and-queries/264043 "2021-02-11T18:31:55Z")

</div>

In v6.6 I can't get a nested query to ignore case on a search of a property in the nested object, whether I specify a custom analyzer or not. Case is ignored on non-nested fields as expected. Is this expected? Do I have…

---

## [Scripted field not available in Rest API](https://discuss.elastic.co/t/scripted-field-not-available-in-rest-api/264031)

<div class="topic-metadata">

**Author:** [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Replies:** 5\
**Last updated:** [February 11, 2021, 4:54pm UTC](https://discuss.elastic.co/t/scripted-field-not-available-in-rest-api/264031 "2021-02-11T16:54:26Z")

</div>

Hi All, I'm trying to fetch data from elasticsaerch using rest api, i'm able to get all the documents by running the below query GET perfchk/\_search?size=1000 I have created few scripted fields in this index, those sc…

---

## [Issue with ILM](https://discuss.elastic.co/t/issue-with-ilm/264035)

<div class="topic-metadata">

**Author:** [@jamesp220291](https://discuss.elastic.co/u/jamesp220291)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 4:13pm UTC](https://discuss.elastic.co/t/issue-with-ilm/264035 "2021-02-11T16:13:33Z")

</div>

Hi i am having an issue with iLM there error is - \`\> illegal\_argument\_exception: index.lifecycle.rollover\_alias \[filebeat\] does not point to index \[filebeat-test-2021.02.11-000001\]\` Logstash settings - elasticsearc…

---

## [Elasticsearch or Kibana servers / APIs as Vector tile server](https://discuss.elastic.co/t/elasticsearch-or-kibana-servers-apis-as-vector-tile-server/264017)

<div class="topic-metadata">

**Author:** [@Florin\_Virdol](https://discuss.elastic.co/u/Florin_Virdol)\
**Replies:** 1\
**Last updated:** [February 11, 2021, 3:58pm UTC](https://discuss.elastic.co/t/elasticsearch-or-kibana-servers-apis-as-vector-tile-server/264017 "2021-02-11T15:58:52Z")

</div>

Hello, As a bit of context, for my web app, on the Angular frontend, on top of Google Maps APIs, i'm using Uber's deck.gl library for better rendering geo-spatial data (GeoJson layers and MVT layers). For the deck.gl M…

---

## [ES7.9.1 : match\_phrase\_prefix irregular behaviour](https://discuss.elastic.co/t/es7-9-1-match-phrase-prefix-irregular-behaviour/264022)

<div class="topic-metadata">

**Author:** [@gap736uk](https://discuss.elastic.co/u/gap736uk)\
**Replies:** 3\
**Last updated:** [February 11, 2021, 3:48pm UTC](https://discuss.elastic.co/t/es7-9-1-match-phrase-prefix-irregular-behaviour/264022 "2021-02-11T15:48:34Z")

</div>

We have an ES index of the 230 million + files in our archive - each file gets indexed with details such as filename, directory path and file size I've been attempting to construct queries to aggregate information for a…

---

## [Running tasks on a node get terminated when node is shutdown](https://discuss.elastic.co/t/running-tasks-on-a-node-get-terminated-when-node-is-shutdown/263863)

<div class="topic-metadata">

**Author:** [@yabhishek](https://discuss.elastic.co/u/yabhishek)\
**Replies:** 2\
**Last updated:** [February 11, 2021, 3:36pm UTC](https://discuss.elastic.co/t/running-tasks-on-a-node-get-terminated-when-node-is-shutdown/263863 "2021-02-11T15:36:37Z")

</div>

I have a cluster with 3 nodes and trying to upgrade it from 6.6.2 to 7.10.2 using rolling upgrade. The documentation says that we shutdown the node and upgrade it to target version and performing this for all the nodes o…

---

## [X-axis is not visible in vega visualization](https://discuss.elastic.co/t/x-axis-is-not-visible-in-vega-visualization/263981)

<div class="topic-metadata">

**Author:** [@saumya1](https://discuss.elastic.co/u/saumya1)\
**Replies:** 6\
**Last updated:** [February 11, 2021, 3:19pm UTC](https://discuss.elastic.co/t/x-axis-is-not-visible-in-vega-visualization/263981 "2021-02-11T15:19:46Z")

</div>

{ "$schema": "https://vega.github.io/schema/vega/v5.json", "description": "A basic bar chart example, with value labels shown upon mouse hover.", "signals": \[{ "name": "timeunit", "value": \["day"\], …

---

## [Unable to setup Elasticsearch cluster mode](https://discuss.elastic.co/t/unable-to-setup-elasticsearch-cluster-mode/263987)

<div class="topic-metadata">

**Author:** [@Jose\_Angel\_Morena\_Si](https://discuss.elastic.co/u/Jose_Angel_Morena_Si)\
**Replies:** 5\
**Last updated:** [February 11, 2021, 2:30pm UTC](https://discuss.elastic.co/t/unable-to-setup-elasticsearch-cluster-mode/263987 "2021-02-11T14:30:17Z")

</div>

Hello there, I am trying to deploy Elasticsearch 7.10.2 in HA with three nodes, all of which play the roles: master, ingest and data. In order to do so, I am using the following configuration in each of the nodes: NOD…

---

## [Snapshot performance with ES 7.10](https://discuss.elastic.co/t/snapshot-performance-with-es-7-10/260739)

<div class="topic-metadata">

**Author:** [@karunelas](https://discuss.elastic.co/u/karunelas)\
**Replies:** 16\
**Last updated:** [February 11, 2021, 1:34pm UTC](https://discuss.elastic.co/t/snapshot-performance-with-es-7-10/260739 "2021-02-11T13:34:35Z")

</div>

Hi all: We have upgraded to ES 7.10 from 6.8. After the upgrade, we are observing that the time taken for the Snapshot on 7.10 is around 3 times slower compared to the snapshots with 6.8. These are snapshots of the ES c…

---

## [FIRST/FIRST\_VALUE function returning empty value](https://discuss.elastic.co/t/first-first-value-function-returning-empty-value/263963)

<div class="topic-metadata">

**Author:** [@rohitarorait82](https://discuss.elastic.co/u/rohitarorait82)\
**Replies:** 1\
**Last updated:** [February 11, 2021, 1:23pm UTC](https://discuss.elastic.co/t/first-first-value-function-returning-empty-value/263963 "2021-02-11T13:23:26Z")

</div>

Hi All, I have to select records from an index, and have to select the latest values for a Mobile number. There can be more than one record for each mobile number. I am using FIrst function for the same and it is retur…

---

## [All shards failed for phase: \[query\]](https://discuss.elastic.co/t/all-shards-failed-for-phase-query/264020)

<div class="topic-metadata">

**Author:** [@Tabriz](https://discuss.elastic.co/u/Tabriz)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 1:09pm UTC](https://discuss.elastic.co/t/all-shards-failed-for-phase-query/264020 "2021-02-11T13:09:19Z")

</div>

There is a such problem.What can be reason?

---

## [Elastic cluster upgrading order for nodes](https://discuss.elastic.co/t/elastic-cluster-upgrading-order-for-nodes/263508)

<div class="topic-metadata">

**Author:** [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)\
**Replies:** 2\
**Last updated:** [February 11, 2021, 12:38pm UTC](https://discuss.elastic.co/t/elastic-cluster-upgrading-order-for-nodes/263508 "2021-02-11T12:38:30Z")

</div>

I have elastic 5 nodes cluster, node1-master only node2-master only node3-data\_ingest node4-data+ingest node5-master+data+ingest Can upgrade node1 before upgrade node5? Thank you!

---

## [FSCrawler 7.2.7, Windows service, debug and trace logs](https://discuss.elastic.co/t/fscrawler-7-2-7-windows-service-debug-and-trace-logs/263092)

<div class="topic-metadata">

**Author:** [@newschapmj1](https://discuss.elastic.co/u/newschapmj1)\
**Replies:** 4\
**Last updated:** [February 11, 2021, 12:01pm UTC](https://discuss.elastic.co/t/fscrawler-7-2-7-windows-service-debug-and-trace-logs/263092 "2021-02-11T12:01:12Z")

</div>

When running fscrawler 7.2.7 as a service (Windows server 2016) should it be possible to see debug or trace logs by adding the --debug or --trace flag? We are using nssm v2.24 to generate the service. I successfully ad…

---

## [Convert Lucene BooleanQuery to ES BoolQueryBuilder](https://discuss.elastic.co/t/convert-lucene-booleanquery-to-es-boolquerybuilder/263993)

<div class="topic-metadata">

**Author:** [@Mladen\_Rusev](https://discuss.elastic.co/u/Mladen_Rusev)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 10:40am UTC](https://discuss.elastic.co/t/convert-lucene-booleanquery-to-es-boolquerybuilder/263993 "2021-02-11T10:40:48Z")

</div>

Hello, I'm porting some indices from lucene to ES. I've managed to use QueryBuilders.queryStringQuery(queryString); to parse old lucene string queries to elastic. However I can't seem to find a way to use Lucene's B…

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

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