# Elasticsearch

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

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

**Page:** 651

---

## [Help with manging storage for a large index](https://discuss.elastic.co/t/help-with-manging-storage-for-a-large-index/272447)

<div class="topic-metadata">

**Author:** [@predev](https://discuss.elastic.co/u/predev)\
**Replies:** 5\
**Last updated:** [May 8, 2021, 5:32pm UTC](https://discuss.elastic.co/t/help-with-manging-storage-for-a-large-index/272447 "2021-05-08T17:32:14Z")

</div>

Hi, We are a new start-up going through development with no funding other than out our own pocket, I am hoping to seek some advice from others who are far more experienced than myself given we have only used Elasticsear…

---

## [Filter out better results](https://discuss.elastic.co/t/filter-out-better-results/272471)

<div class="topic-metadata">

**Author:** [@lq-0519](https://discuss.elastic.co/u/lq-0519)\
**Replies:** 2\
**Last updated:** [May 8, 2021, 12:36pm UTC](https://discuss.elastic.co/t/filter-out-better-results/272471 "2021-05-08T12:36:28Z")

</div>

Everyone, I have a small problem. Now there is a situation. There are more than 100000 documents in my index. When I use 'match' to search, there may be thousands of results. But maybe I just need the first few of these …

---

## [How to assign each word's weight in a query?](https://discuss.elastic.co/t/how-to-assign-each-words-weight-in-a-query/272430)

<div class="topic-metadata">

**Author:** [@xiaoma](https://discuss.elastic.co/u/xiaoma)\
**Replies:** 2\
**Last updated:** [May 8, 2021, 11:53am UTC](https://discuss.elastic.co/t/how-to-assign-each-words-weight-in-a-query/272430 "2021-05-08T11:53:22Z")

</div>

hello guys, I want to assign different weight for each words in a query (i have an important word set) For example: Query : "the elastic guide book" , the word "elastic " is supposed to an important word, which weig…

---

## [Impact of enabling \`eager\_global\_ordinals\` on production traffic](https://discuss.elastic.co/t/impact-of-enabling-eager-global-ordinals-on-production-traffic/272411)

<div class="topic-metadata">

**Author:** [@rchougule](https://discuss.elastic.co/u/rchougule)\
**Replies:** 3\
**Last updated:** [May 8, 2021, 9:34am UTC](https://discuss.elastic.co/t/impact-of-enabling-eager-global-ordinals-on-production-traffic/272411 "2021-05-08T09:34:11Z")

</div>

Hello, I was wondering regarding the impact eager\_global\_ordinals: true would have as soon as I enable it on prod. As in, will it impact the ongoing production traffic? If yes, any idea how can I gauge this before enab…

---

## [Continuing a discussion,\_component\_template API got error, very anxious](https://discuss.elastic.co/t/continuing-a-discussion-component-template-api-got-error-very-anxious/272464)

<div class="topic-metadata">

**Author:** [@carpeDiem](https://discuss.elastic.co/u/carpeDiem)\
**Replies:** 1\
**Last updated:** [May 8, 2021, 8:34am UTC](https://discuss.elastic.co/t/continuing-a-discussion-component-template-api-got-error-very-anxious/272464 "2021-05-08T08:34:53Z")

</div>

Continuing the discussion from \_component\_template API got error:

---

## [\_component\_template API got error](https://discuss.elastic.co/t/component-template-api-got-error/272353)

<div class="topic-metadata">

**Author:** [@carpeDiem](https://discuss.elastic.co/u/carpeDiem)\
**Replies:** 1\
**Last updated:** [May 8, 2021, 8:33am UTC](https://discuss.elastic.co/t/component-template-api-got-error/272353 "2021-05-08T08:33:54Z")

</div>

Continuing the discussion from \_component\_template APT got error:

---

## [Multiple fields wild card bool query](https://discuss.elastic.co/t/multiple-fields-wild-card-bool-query/272460)

<div class="topic-metadata">

**Author:** [@Mithoon](https://discuss.elastic.co/u/Mithoon)\
**Replies:** 0\
**Last updated:** [May 8, 2021, 5:43am UTC](https://discuss.elastic.co/t/multiple-fields-wild-card-bool-query/272460 "2021-05-08T05:43:46Z")

</div>

Currently using below bool query which searches for a combination of all input words or either one of input word on the field "Name". How to query on multiple fields using wild cards? POST inventory\_dev/\_search { "fro…

---

## [How to use nested object in Elasticsearch filter script](https://discuss.elastic.co/t/how-to-use-nested-object-in-elasticsearch-filter-script/272437)

<div class="topic-metadata">

**Author:** [@giovdb94](https://discuss.elastic.co/u/giovdb94)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 4:03pm UTC](https://discuss.elastic.co/t/how-to-use-nested-object-in-elasticsearch-filter-script/272437 "2021-05-07T16:03:46Z")

</div>

I need some help. I have an index in ElasticSearch with the following mapping where I define two field for each document indexed: properties: { #field representing a document text "document\_text": …

---

## [Use curator to send elasticsearch indices to S3](https://discuss.elastic.co/t/use-curator-to-send-elasticsearch-indices-to-s3/272084)

<div class="topic-metadata">

**Author:** [@Weathmious](https://discuss.elastic.co/u/Weathmious)\
**Replies:** 5\
**Last updated:** [May 7, 2021, 3:46pm UTC](https://discuss.elastic.co/t/use-curator-to-send-elasticsearch-indices-to-s3/272084 "2021-05-07T15:46:55Z")

</div>

Hello, I just managed to link my graylog/elasticsearch server to my S3 bucket curl -X PUT "localhost:9200/\_snapshot/my\_s3\_repository?pretty" -H 'Content-Type: application/json' -d' { "type": "s3", "settings": {…

---

## [How can we differentiate logs of master and data-ingest nodes](https://discuss.elastic.co/t/how-can-we-differentiate-logs-of-master-and-data-ingest-nodes/272416)

<div class="topic-metadata">

**Author:** [@knagasri](https://discuss.elastic.co/u/knagasri)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 1:13pm UTC](https://discuss.elastic.co/t/how-can-we-differentiate-logs-of-master-and-data-ingest-nodes/272416 "2021-05-07T13:13:19Z")

</div>

suppose we deployed elasticsearch cluster in GKE with 2 data-ingest and 2 master pods. When I check the kubectl logs , I am able to see similar logs for both master and data-ingest. Is console logs will be similar for b…

---

## [Master election takes minutes](https://discuss.elastic.co/t/master-election-takes-minutes/272303)

<div class="topic-metadata">

**Author:** [@jacknl](https://discuss.elastic.co/u/jacknl)\
**Replies:** 3\
**Last updated:** [May 7, 2021, 1:10pm UTC](https://discuss.elastic.co/t/master-election-takes-minutes/272303 "2021-05-07T13:10:15Z")

</div>

Recently I upgraded my 3 master-eligible nodes from Ubuntu 16.04 to 18.04. The master changed twice during this procedure. I noticed that these two master elections took about 1 minute and 4 minutes, respectively. This i…

---

## [\[ES v7.9.1\] Nested terms query runs forever and consumes massive memory](https://discuss.elastic.co/t/es-v7-9-1-nested-terms-query-runs-forever-and-consumes-massive-memory/272421)

<div class="topic-metadata">

**Author:** [@str8y](https://discuss.elastic.co/u/str8y)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 1:05pm UTC](https://discuss.elastic.co/t/es-v7-9-1-nested-terms-query-runs-forever-and-consumes-massive-memory/272421 "2021-05-07T13:05:25Z")

</div>

Hi, I'm facing an issue with a nested terms query. We have documents with nested documents within and use multiple nested terms aggregations in our queries. The cardinality of each text field is also quite high. In o…

---

## [Count number of occurrence of specific keyword from specific field in all docs](https://discuss.elastic.co/t/count-number-of-occurrence-of-specific-keyword-from-specific-field-in-all-docs/272415)

<div class="topic-metadata">

**Author:** [@vradder](https://discuss.elastic.co/u/vradder)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 12:07pm UTC](https://discuss.elastic.co/t/count-number-of-occurrence-of-specific-keyword-from-specific-field-in-all-docs/272415 "2021-05-07T12:07:43Z")

</div>

Hello ES Team, I am looking for query in aggregation to find total number of occurrence of specific keyword from specific field in all doc. Example: doc1 - {logEntry: 'allow\_edit\_gos=true, allow\_gos\_edit=false'} doc…

---

## [Readiness probe failed: Waiting for elasticsearch cluster to become ready](https://discuss.elastic.co/t/readiness-probe-failed-waiting-for-elasticsearch-cluster-to-become-ready/272273)

<div class="topic-metadata">

**Author:** [@vbharath2007](https://discuss.elastic.co/u/vbharath2007)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 9:42am UTC](https://discuss.elastic.co/t/readiness-probe-failed-waiting-for-elasticsearch-cluster-to-become-ready/272273 "2021-05-07T09:42:59Z")

</div>

Hi, I'm running ELK stack using helm charts through the elastic community operator git repo. My ES is a single node cluster, today morning suddenly the pod failed and unable to bring up and receiving the below from the …

---

## [Installing Elasticsearch cluster in docker environment](https://discuss.elastic.co/t/installing-elasticsearch-cluster-in-docker-environment/272381)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 7:43am UTC](https://discuss.elastic.co/t/installing-elasticsearch-cluster-in-docker-environment/272381 "2021-05-07T07:43:25Z")

</div>

Would like to know the details related to installing the elasticsearch cluster in docker environment. Considering 3 VMs and having elasticsearch master and data nodes on each of these servers as containers, and also pos…

---

## [Nested Query summation aggregation for a subset received in the source](https://discuss.elastic.co/t/nested-query-summation-aggregation-for-a-subset-received-in-the-source/272038)

<div class="topic-metadata">

**Author:** [@RapTvin](https://discuss.elastic.co/u/RapTvin)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 7:16am UTC](https://discuss.elastic.co/t/nested-query-summation-aggregation-for-a-subset-received-in-the-source/272038 "2021-05-07T07:16:41Z")

</div>

Hello everyone, I am trying for a an aggregated summation query on a nested object on the basis of a variable inside it and the summation on another variable present inside it. Till now I have been able to segregate the …

---

## [Not able to query MongoDB.Bson.ObjectId using ElasticSearch Nest Client](https://discuss.elastic.co/t/not-able-to-query-mongodb-bson-objectid-using-elasticsearch-nest-client/272375)

<div class="topic-metadata">

**Author:** [@zeeshan](https://discuss.elastic.co/u/zeeshan)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 7:08am UTC](https://discuss.elastic.co/t/not-able-to-query-mongodb-bson-objectid-using-elasticsearch-nest-client/272375 "2021-05-07T07:08:58Z")

</div>

I have an field of type ObjectId (MongoDB.Bson) in my model, and when I index it elastic search server, it looks like following structure in Elastic Search: My question is, how can query (using NEST client) to match t…

---

## [Alternative for Delete By Query or Solution for Performance improvement](https://discuss.elastic.co/t/alternative-for-delete-by-query-or-solution-for-performance-improvement/272298)

<div class="topic-metadata">

**Author:** [@mrunalini](https://discuss.elastic.co/u/mrunalini)\
**Replies:** 5\
**Last updated:** [May 7, 2021, 7:06am UTC](https://discuss.elastic.co/t/alternative-for-delete-by-query-or-solution-for-performance-improvement/272298 "2021-05-07T07:06:29Z")

</div>

Hi , We have index in ELK ,where we are storing transaction details ,where we want to delete some records after some time. As quantity of requests is so high ,its taking so much time to complete the execution of the De…

---

## [How do I modify collect specific processes and top 10 processes in metricbeat's system module?](https://discuss.elastic.co/t/how-do-i-modify-collect-specific-processes-and-top-10-processes-in-metricbeats-system-module/272364)

<div class="topic-metadata">

**Author:** [@jongpyo.lee](https://discuss.elastic.co/u/jongpyo.lee)\
**Replies:** 2\
**Last updated:** [May 7, 2021, 7:01am UTC](https://discuss.elastic.co/t/how-do-i-modify-collect-specific-processes-and-top-10-processes-in-metricbeats-system-module/272364 "2021-05-07T07:01:51Z")

</div>

I have a question when collecting data from the system module. When collecting processes, I would like to collect the top 10 CPU and memory information. When collecting processes, I want to collect a specific process.n…

---

## [How to solve Error no such index in Grafana](https://discuss.elastic.co/t/how-to-solve-error-no-such-index-in-grafana/272368)

<div class="topic-metadata">

**Author:** [@Arena\_Jo](https://discuss.elastic.co/u/Arena_Jo)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 6:15am UTC](https://discuss.elastic.co/t/how-to-solve-error-no-such-index-in-grafana/272368 "2021-05-07T06:15:33Z")

</div>

I try to add Data Sources / Elasticsearch on Grafana v6.5.2 But Error no such index. Nomallry I user kibana dashborad but I would like to use Grafana . please recommend to solve .

---

## [My Docker Elasticsearch Keeps Failing Looking For JAVA?](https://discuss.elastic.co/t/my-docker-elasticsearch-keeps-failing-looking-for-java/272334)

<div class="topic-metadata">

**Author:** [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Replies:** 2\
**Last updated:** [May 7, 2021, 6:13am UTC](https://discuss.elastic.co/t/my-docker-elasticsearch-keeps-failing-looking-for-java/272334 "2021-05-07T06:13:12Z")

</div>

Good Day, I'm trying to stand up a demo / test install of ES on Docker for Mac. I have a M1 (ARM) MacBook. When I try to do the docker compose up I get the following error... Attaching to elasticsearch, kibana elast…

---

## [How to logs from Azure microservice using logstash only when ELK stack is also in azure kubernetes](https://discuss.elastic.co/t/how-to-logs-from-azure-microservice-using-logstash-only-when-elk-stack-is-also-in-azure-kubernetes/272357)

<div class="topic-metadata">

**Author:** [@VBPrakash](https://discuss.elastic.co/u/VBPrakash)\
**Replies:** 0\
**Last updated:** [May 7, 2021, 3:03am UTC](https://discuss.elastic.co/t/how-to-logs-from-azure-microservice-using-logstash-only-when-elk-stack-is-also-in-azure-kubernetes/272357 "2021-05-07T03:03:03Z")

</div>

I am trying to collect logs from a azure microservice using logstash. My entire ELK is running in azure kubernetes. Can you guys help me in achieving this ? Note: ELK on 7.12.1

---

## [Watcher alerts 7.5 interval and bucket span](https://discuss.elastic.co/t/watcher-alerts-7-5-interval-and-bucket-span/272319)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 3\
**Last updated:** [May 6, 2021, 9:12pm UTC](https://discuss.elastic.co/t/watcher-alerts-7-5-interval-and-bucket-span/272319 "2021-05-06T21:12:54Z")

</div>

Why if its recomended that the interval of a watch has to be equal to twice the defined bucket\_span for the job. , when I create an anomaly detection alert in the kibana GUI, the interval is set to aprox. one minute? m…

---

## [Unable to index a file (Word document) greater than 45 MB](https://discuss.elastic.co/t/unable-to-index-a-file-word-document-greater-than-45-mb/272220)

<div class="topic-metadata">

**Author:** [@saqib619](https://discuss.elastic.co/u/saqib619)\
**Replies:** 5\
**Last updated:** [May 6, 2021, 6:59pm UTC](https://discuss.elastic.co/t/unable-to-index-a-file-word-document-greater-than-45-mb/272220 "2021-05-06T18:59:21Z")

</div>

We are trying to index a file (word document) which is \> 45 MB . It is failing throwing an exception as below: Maximum timeout reached while retrying request. Call: Status code unknown from: PUT /test\_index6/\_doc/16601?…

---

## [Index template order fields seems not to work](https://discuss.elastic.co/t/index-template-order-fields-seems-not-to-work/271778)

<div class="topic-metadata">

**Author:** [@Adriann](https://discuss.elastic.co/u/Adriann)\
**Replies:** 6\
**Last updated:** [May 6, 2021, 6:07pm UTC](https://discuss.elastic.co/t/index-template-order-fields-seems-not-to-work/271778 "2021-05-06T18:07:33Z")

</div>

Hello, I have few templates each for every index name based on the module name for ilm management. I notice that after the update to 7.12.1 all my indices have applied templates with order value 10 event though there a…

---

## [Is it possible to replicate the index WITHOUT yellow status? (replication disabled due to faster reindex)](https://discuss.elastic.co/t/is-it-possible-to-replicate-the-index-without-yellow-status-replication-disabled-due-to-faster-reindex/272308)

<div class="topic-metadata">

**Author:** [@astrodi](https://discuss.elastic.co/u/astrodi)\
**Replies:** 2\
**Last updated:** [May 6, 2021, 2:42pm UTC](https://discuss.elastic.co/t/is-it-possible-to-replicate-the-index-without-yellow-status-replication-disabled-due-to-faster-reindex/272308 "2021-05-06T14:42:15Z")

</div>

Hi there, due to speedup of re-indexing, I'm setting "number\_of\_replicas": 0 while re-indexing is running. Once finished, than I'm setting 1 replica: PUT bmpf\_claim\_docs\_v2/\_settings { "number\_of\_replicas": 1 } U…

---

## [Text Embedding in Elastic Search](https://discuss.elastic.co/t/text-embedding-in-elastic-search/272242)

<div class="topic-metadata">

**Author:** [@harry\_richard](https://discuss.elastic.co/u/harry_richard)\
**Replies:** 1\
**Last updated:** [May 6, 2021, 2:42pm UTC](https://discuss.elastic.co/t/text-embedding-in-elastic-search/272242 "2021-05-06T14:42:36Z")

</div>

Hi All, I have implemented text embedding using doc 2 vec and stored the vectors in elastic search , using cosine similarity I am trying to search for similar texts. But the issue is whenver I am giving a same text twi…

---

## [No alive nodes found in your cluster](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/272216)

<div class="topic-metadata">

**Author:** [@chrisan](https://discuss.elastic.co/u/chrisan)\
**Replies:** 2\
**Last updated:** [May 6, 2021, 10:49am UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster/272216 "2021-05-06T10:49:32Z")

</div>

I'm on Ubuntu 20.04 with Elasticsearch 7.10.2 (though this has happened in previous minor versions too) We have a PHP script that runs every night using 7.12.0 of the PHP SDK where it re-indexes live documents and delet…

---

## [Are nested docs efficiently skipped?](https://discuss.elastic.co/t/are-nested-docs-efficiently-skipped/271847)

<div class="topic-metadata">

**Author:** [@egalpin](https://discuss.elastic.co/u/egalpin)\
**Replies:** 4\
**Last updated:** [May 6, 2021, 10:44am UTC](https://discuss.elastic.co/t/are-nested-docs-efficiently-skipped/271847 "2021-05-06T10:44:35Z")

</div>

Hi all, I’m curious if anyone is able to comment on the handling of nested documents at query time. Are nested documents skipped over in the advance or nextDoc step, or must they also be considered if, for example, nest…

---

## [Spark scala "saveToEs" got the wrong ip](https://discuss.elastic.co/t/spark-scala-savetoes-got-the-wrong-ip/272269)

<div class="topic-metadata">

**Author:** [@nameisnotimportant](https://discuss.elastic.co/u/nameisnotimportant)\
**Replies:** 0\
**Last updated:** [May 6, 2021, 9:40am UTC](https://discuss.elastic.co/t/spark-scala-savetoes-got-the-wrong-ip/272269 "2021-05-06T09:40:40Z")

</div>

Hi, I am trying spark and elasticsearch. setting: windows 10 pro spark version: 2.4.0 scala version: 2.11.12 ELK version: 7.10 start like so: .\\spark-shell --jars C:\\spark\\jars\\elasticsearch-spark-20\_2.11-7.10.0…

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

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