# Elasticsearch

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

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

**Page:** 513

---

## [Why there are always x.x.1 and x.x.2 under a minor version](https://discuss.elastic.co/t/why-there-are-always-x-x-1-and-x-x-2-under-a-minor-version/294128)

<div class="topic-metadata">

**Author:** [@JohnPhilip](https://discuss.elastic.co/u/JohnPhilip)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 11:42am UTC](https://discuss.elastic.co/t/why-there-are-always-x-x-1-and-x-x-2-under-a-minor-version/294128 "2022-01-12T11:42:32Z")

</div>

Hi, there, I'm curious about the release plan of Elasticsearch, it seems that there are always two version under a minor version, is it a convention or something? :rofl:

---

## [Stats aggregation on latitude or longitude of a geo\_point](https://discuss.elastic.co/t/stats-aggregation-on-latitude-or-longitude-of-a-geo-point/294070)

<div class="topic-metadata">

**Author:** [@seb\_2](https://discuss.elastic.co/u/seb_2)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 9:30am UTC](https://discuss.elastic.co/t/stats-aggregation-on-latitude-or-longitude-of-a-geo-point/294070 "2022-01-12T09:30:01Z")

</div>

Hi I use geo\_point data and I'd like to have stats aggregation on latitude. like "aggs": { "lat": { "avg": { "field": "location.lat" } }, where location is a geo\_…

---

## [Elasticsearch integration tests with Jest](https://discuss.elastic.co/t/elasticsearch-integration-tests-with-jest/294064)

<div class="topic-metadata">

**Author:** [@kabethy](https://discuss.elastic.co/u/kabethy)\
**Replies:** 3\
**Last updated:** [January 12, 2022, 9:14am UTC](https://discuss.elastic.co/t/elasticsearch-integration-tests-with-jest/294064 "2022-01-12T09:14:24Z")

</div>

Hi, I am using Elasticsearch (Opensearch) in a Nx monorepo in a node js serverless app that connects to aws services. I would like to use jest to test but so far I have not been able to get responses from Opensearch. …

---

## [How to schedule the execution of an update\_by\_query painless script in a cluster](https://discuss.elastic.co/t/how-to-schedule-the-execution-of-an-update-by-query-painless-script-in-a-cluster/294089)

<div class="topic-metadata">

**Author:** [@Rui\_Goncalves](https://discuss.elastic.co/u/Rui_Goncalves)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 8:23am UTC](https://discuss.elastic.co/t/how-to-schedule-the-execution-of-an-update-by-query-painless-script-in-a-cluster/294089 "2022-01-12T08:23:31Z")

</div>

I need to schedule the execution of an update\_by\_query painless script so that it gets executed in the current Primary shard of the cluster regardless of the nodes of the script that might me down. I think that Kibana co…

---

## [Search\_phase\_execution\_exception error: rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@ on QueueResizingEsThreadPoolExecutor](https://discuss.elastic.co/t/search-phase-execution-exception-error-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable-on-queueresizingesthreadpoolexecutor/294008)

<div class="topic-metadata">

**Author:** [@bugb](https://discuss.elastic.co/u/bugb)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 8:18am UTC](https://discuss.elastic.co/t/search-phase-execution-exception-error-rejected-execution-of-org-elasticsearch-common-util-concurrent-timedrunnable-on-queueresizingesthreadpoolexecutor/294008 "2022-01-12T08:18:08Z")

</div>

Sometimes I got this error from my client node, is there any ideas to fix this? search\_phase\_execution\_exception: \\n at onBody (/var/server/app/node\_modules/es7/lib/Transport.js:367:23)\\n at IncomingMessage.onEnd …

---

## [Curator: filtertype: allocated a empty key](https://discuss.elastic.co/t/curator-filtertype-allocated-a-empty-key/294100)

<div class="topic-metadata">

**Author:** [@danielmotaleite](https://discuss.elastic.co/u/danielmotaleite)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 2:43am UTC](https://discuss.elastic.co/t/curator-filtertype-allocated-a-empty-key/294100 "2022-01-12T02:43:22Z")

</div>

Hi i have this code: - filtertype: allocated key: role value: null allocation\_type: require exclude: True But this fails (complains that value is required), i'm trying to exclude index that…

---

## [Query String Regex/WildCard Search](https://discuss.elastic.co/t/query-string-regex-wildcard-search/293845)

<div class="topic-metadata">

**Author:** [@Sahil5](https://discuss.elastic.co/u/Sahil5)\
**Replies:** 15\
**Last updated:** [January 11, 2022, 10:36pm UTC](https://discuss.elastic.co/t/query-string-regex-wildcard-search/293845 "2022-01-11T22:36:13Z")

</div>

Hi Team, Problem Statement Search String - "Hello \* World" Expected Output - 1. "Hello First World" 2. "Hello Second World" I need results that contain one word in place of \*. I have tried using query string regex …

---

## [\[Help\] Understanding routing to an index partition](https://discuss.elastic.co/t/help-understanding-routing-to-an-index-partition/293812)

<div class="topic-metadata">

**Author:** [@Radaeld](https://discuss.elastic.co/u/Radaeld)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 9:34pm UTC](https://discuss.elastic.co/t/help-understanding-routing-to-an-index-partition/293812 "2022-01-11T21:34:10Z")

</div>

Hey all I have some questions regarding routing\_partition\_size field. Not sure but upon reading the documentation , this is what i understood: By default, using a routing key will access only 1 primary shard, for inde…

---

## [Options available for storing data beyond a limit](https://discuss.elastic.co/t/options-available-for-storing-data-beyond-a-limit/294080)

<div class="topic-metadata">

**Author:** [@zaeemmasood](https://discuss.elastic.co/u/zaeemmasood)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 9:31pm UTC](https://discuss.elastic.co/t/options-available-for-storing-data-beyond-a-limit/294080 "2022-01-11T21:31:02Z")

</div>

Hello. We have a hard limit of 4TB of disk storage that can be allocated to individual nodes in a cluster. My question is what happens when we start nearing the threshold of 4TB? Is there a way we could archive data o…

---

## [Upgrade log4j to version 2.17](https://discuss.elastic.co/t/upgrade-log4j-to-version-2-17/294058)

<div class="topic-metadata">

**Author:** [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 9:04pm UTC](https://discuss.elastic.co/t/upgrade-log4j-to-version-2-17/294058 "2022-01-11T21:04:16Z")

</div>

hello, I have to upgrade log4j to version 2.17 I have elastic with version 7.11.1 and 7.8.0 My question is - can I do it manually on current version on ES or I need to upgrade ES to version 7.16 with log4j installed ? …

---

## [Systemd to elasticseaech](https://discuss.elastic.co/t/systemd-to-elasticseaech/294020)

<div class="topic-metadata">

**Author:** [@aviad.co1](https://discuss.elastic.co/u/aviad.co1)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 6:58pm UTC](https://discuss.elastic.co/t/systemd-to-elasticseaech/294020 "2022-01-11T18:58:23Z")

</div>

Hi, I just install Elasticsearch with tar file... there is a link that define how to add systemd to run Elasticsearch for this installation method.... Thanks

---

## [Best way to migrate data disk](https://discuss.elastic.co/t/best-way-to-migrate-data-disk/293213)

<div class="topic-metadata">

**Author:** [@grumo35](https://discuss.elastic.co/u/grumo35)\
**Replies:** 4\
**Last updated:** [January 11, 2022, 4:23pm UTC](https://discuss.elastic.co/t/best-way-to-migrate-data-disk/293213 "2022-01-11T16:23:48Z")

</div>

Hi, Today i was wondering what would be the best way to migrate disks ( dedicated data disk for Elasticsearch ) from one virtual machine to another. The disks are directly attached to the vms, could i stop the node and…

---

## [Boosting documents where more than one field matches terms](https://discuss.elastic.co/t/boosting-documents-where-more-than-one-field-matches-terms/294059)

<div class="topic-metadata">

**Author:** [@tensor](https://discuss.elastic.co/u/tensor)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 4:13pm UTC](https://discuss.elastic.co/t/boosting-documents-where-more-than-one-field-matches-terms/294059 "2022-01-11T16:13:34Z")

</div>

Hi We have a question regarding how to do some ranking on our queries, which may also fall back on to how to best index our data. Our scenario is that we have documents something along the lines of a Model, which then …

---

## [Devtools show all content docs on the index blogs](https://discuss.elastic.co/t/devtools-show-all-content-docs-on-the-index-blogs/293802)

<div class="topic-metadata">

**Author:** [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 3:59pm UTC](https://discuss.elastic.co/t/devtools-show-all-content-docs-on-the-index-blogs/293802 "2022-01-11T15:59:45Z")

</div>

Hello, i try to do the paractice exam of Elasticsearch, i have a task wich is: Find the number of unique authors for each calendar year of blogs on cluster1 with the phrase "open source" in that order in the content fi…

---

## [Problems deploying to azure](https://discuss.elastic.co/t/problems-deploying-to-azure/293954)

<div class="topic-metadata">

**Author:** [@Jorgenv](https://discuss.elastic.co/u/Jorgenv)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 2:33pm UTC](https://discuss.elastic.co/t/problems-deploying-to-azure/293954 "2022-01-11T14:33:00Z")

</div>

I'm trying to deploy a test environment on azure and I'm running into all kinds of problems. I first had issues passing self-signed certificates for the application gateway and kibana, but I found some hacky way around t…

---

## [Elasticsearch 7.16 failed install on Unbuntu 20.04 - cannot execute binary file](https://discuss.elastic.co/t/elasticsearch-7-16-failed-install-on-unbuntu-20-04-cannot-execute-binary-file/293777)

<div class="topic-metadata">

**Author:** [@Winston\_Ferguson](https://discuss.elastic.co/u/Winston_Ferguson)\
**Replies:** 3\
**Last updated:** [January 11, 2022, 1:54pm UTC](https://discuss.elastic.co/t/elasticsearch-7-16-failed-install-on-unbuntu-20-04-cannot-execute-binary-file/293777 "2022-01-11T13:54:49Z")

</div>

Hi, I'm unable to solve my issue installing Elasticsearch on my new Windows 11 machine running Ubuntu 20.04 (via Windows Subsystem for Linux). The log received is: Reading package lists... Done Building dependency tree…

---

## [Question about data types and adding new data types](https://discuss.elastic.co/t/question-about-data-types-and-adding-new-data-types/293928)

<div class="topic-metadata">

**Author:** [@Miguel\_Lopez1](https://discuss.elastic.co/u/Miguel_Lopez1)\
**Replies:** 3\
**Last updated:** [January 11, 2022, 12:08pm UTC](https://discuss.elastic.co/t/question-about-data-types-and-adding-new-data-types/293928 "2022-01-11T12:08:31Z")

</div>

Hi, As part of a masters degree assignment I need to address some questions about the Elasticsearch to the developers. The question is: I saw that Elasticsearch is capable of working with a variety of data types (for i…

---

## [Using S3 as storage for elasticsearch](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/294007)

<div class="topic-metadata">

**Author:** [@Yang\_Yang2](https://discuss.elastic.co/u/Yang_Yang2)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 10:35am UTC](https://discuss.elastic.co/t/using-s3-as-storage-for-elasticsearch/294007 "2022-01-11T10:35:26Z")

</div>

Is it possible to use the S3 as a data storage for Elasticsearch?

---

## [Deprecation logs not being logged to file in Elasticsearch 7.15](https://discuss.elastic.co/t/deprecation-logs-not-being-logged-to-file-in-elasticsearch-7-15/294016)

<div class="topic-metadata">

**Author:** [@Suraj\_Kumar4](https://discuss.elastic.co/u/Suraj_Kumar4)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 10:18am UTC](https://discuss.elastic.co/t/deprecation-logs-not-being-logged-to-file-in-elasticsearch-7-15/294016 "2022-01-11T10:18:24Z")

</div>

Snippet of the log4j2.properties file being used with ES 7.15.2 status = error appender.console.type = Console appender.console.name = console appender.console.layout.type = PatternLayout appender.console.layout.patter…

---

## [Specify Mappings while creating index using python client](https://discuss.elastic.co/t/specify-mappings-while-creating-index-using-python-client/292433)

<div class="topic-metadata">

**Author:** [@sunny3794.ad](https://discuss.elastic.co/u/sunny3794.ad)\
**Replies:** 3\
**Last updated:** [January 11, 2022, 10:18am UTC](https://discuss.elastic.co/t/specify-mappings-while-creating-index-using-python-client/292433 "2022-01-11T10:18:09Z")

</div>

As far as I know, Elasticsearch by default takes in data and stores it as string (except for date). So, I have been using the body parameter in the create function of the Elasticsearch python client to specify the field …

---

## [Max score multi match query](https://discuss.elastic.co/t/max-score-multi-match-query/294014)

<div class="topic-metadata">

**Author:** [@Divy\_Garg](https://discuss.elastic.co/u/Divy_Garg)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 10:08am UTC](https://discuss.elastic.co/t/max-score-multi-match-query/294014 "2022-01-11T10:08:16Z")

</div>

Hi, I am using multi match query of Elasticsearch. Need to understand what is the maximum \_score that multi match query can have. Please help with this. { "query": { "multi\_match" : { "query": "john wi…

---

## [Elastic service stopped automatically](https://discuss.elastic.co/t/elastic-service-stopped-automatically/293252)

<div class="topic-metadata">

**Author:** [@sandesh0209](https://discuss.elastic.co/u/sandesh0209)\
**Replies:** 4\
**Last updated:** [January 11, 2022, 9:57am UTC](https://discuss.elastic.co/t/elastic-service-stopped-automatically/293252 "2022-01-11T09:57:58Z")

</div>

Faulting application name: Elasticsearch.exe, version: 7.10.1.0, time stamp: 0x5fcb0351 Faulting module name: KERNELBASE.dll, version: 10.0.14393.4770, time stamp: 0x6180883c Exception code: 0xe0434352 Fault offset: 0…

---

## [12K fields in the mapping](https://discuss.elastic.co/t/12k-fields-in-the-mapping/293340)

<div class="topic-metadata">

**Author:** [@orips](https://discuss.elastic.co/u/orips)\
**Replies:** 6\
**Last updated:** [January 11, 2022, 8:35am UTC](https://discuss.elastic.co/t/12k-fields-in-the-mapping/293340 "2022-01-11T08:35:28Z")

</div>

Hi, We're approaching 12K fields in our mapping. Our cluster does not have many documents (it's about 1 billion, and it's doc one per user, so it's not growing very rapidly). I'd like to know: how much further can we g…

---

## [Auto Deletion of Old index](https://discuss.elastic.co/t/auto-deletion-of-old-index/293978)

<div class="topic-metadata">

**Author:** [@triptesh1212](https://discuss.elastic.co/u/triptesh1212)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 8:17am UTC](https://discuss.elastic.co/t/auto-deletion-of-old-index/293978 "2022-01-11T08:17:42Z")

</div>

Hi community, I am exploring the index lifecycle policy and auto deletion of an index. I have gone through the following link. I have understood that we can create index template with policy where we can setup paramete…

---

## [Use other query next to suggester](https://discuss.elastic.co/t/use-other-query-next-to-suggester/293921)

<div class="topic-metadata">

**Author:** [@Amir\_Faramarzi](https://discuss.elastic.co/u/Amir_Faramarzi)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 5:13am UTC](https://discuss.elastic.co/t/use-other-query-next-to-suggester/293921 "2022-01-11T05:13:22Z")

</div>

How to use other query next to suggester that affects the score of the data obtained from suggester For example, I want to search for products that are active ??

---

## [Daily indices or monthly indices for storing data?](https://discuss.elastic.co/t/daily-indices-or-monthly-indices-for-storing-data/293967)

<div class="topic-metadata">

**Author:** [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 4:37am UTC](https://discuss.elastic.co/t/daily-indices-or-monthly-indices-for-storing-data/293967 "2022-01-11T04:37:01Z")

</div>

Hi all I have a question regarding the storage comparision between having daily indices or monthly indices. The question is very simple: is the daily indices tooks more storage space than the monthly indices. Somehow i…

---

## [Reduce (shrink) primary shards on older data indices of a data stream](https://discuss.elastic.co/t/reduce-shrink-primary-shards-on-older-data-indices-of-a-data-stream/293963)

<div class="topic-metadata">

**Author:** [@adriaan](https://discuss.elastic.co/u/adriaan)\
**Replies:** 0\
**Last updated:** [January 11, 2022, 2:27am UTC](https://discuss.elastic.co/t/reduce-shrink-primary-shards-on-older-data-indices-of-a-data-stream/293963 "2022-01-11T02:27:57Z")

</div>

I have a data stream with page views of multiple websites of customers. I allow customers to delete their data (this is important). When they do I remove all the documents with a certain hostname. At the same time, I wa…

---

## [Unable to access snapshot and restore](https://discuss.elastic.co/t/unable-to-access-snapshot-and-restore/293526)

<div class="topic-metadata">

**Author:** [@Apoorva\_21](https://discuss.elastic.co/u/Apoorva_21)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 12:42am UTC](https://discuss.elastic.co/t/unable-to-access-snapshot-and-restore/293526 "2022-01-11T00:42:47Z")

</div>

Hi, I am unable to access snapshots and restore it says error loading snapshots . And when trying to run GET \_cat/snapshots command getting the error as Validation Failed : 1: repository missing. Can anyone help me t…

---

## [ElasticSearch for Temporal (version, incident\_raised\_date, auto\_create\_index)](https://discuss.elastic.co/t/elasticsearch-for-temporal-version-incident-raised-date-auto-create-index/293638)

<div class="topic-metadata">

**Author:** [@ridwan.santoso](https://discuss.elastic.co/u/ridwan.santoso)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 12:41am UTC](https://discuss.elastic.co/t/elasticsearch-for-temporal-version-incident-raised-date-auto-create-index/293638 "2022-01-11T00:41:29Z")

</div>

Hi, I need to use Elasticsearch for Temporal and have couple question: Will Elasticsearch 7.6 works for Temporal 1.13? If not then what is recommended version? I am using Elasticsearch 7.6 for Temporal 1.13 currently …

---

## [Only able to see 100 index in Create index pattern](https://discuss.elastic.co/t/only-able-to-see-100-index-in-create-index-pattern/293854)

<div class="topic-metadata">

**Author:** [@faisalshah20](https://discuss.elastic.co/u/faisalshah20)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 12:39am UTC](https://discuss.elastic.co/t/only-able-to-see-100-index-in-create-index-pattern/293854 "2022-01-11T00:39:37Z")

</div>

Hi Team i am running into problem i am only able to see 100 index in create index pattern. My scenario is to keep last 1 months logs in ELK. But when the 100 index are in create index pattern now new index pattern gets c…

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

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