# Elasticsearch

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

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

**Page:** 511

---

## [Cluster load while updating mappings of live production indexes](https://discuss.elastic.co/t/cluster-load-while-updating-mappings-of-live-production-indexes/293718)

<div class="topic-metadata">

**Author:** [@ginopino](https://discuss.elastic.co/u/ginopino)\
**Replies:** 4\
**Last updated:** [January 16, 2022, 6:14pm UTC](https://discuss.elastic.co/t/cluster-load-while-updating-mappings-of-live-production-indexes/293718 "2022-01-16T18:14:38Z")

</div>

Hello! I need to add a couple of new keyword fields to a significant quantity of production indexes which are using a mapping with dynamic: strict I was hoping to be able to use a wildcard with the update mapping API, …

---

## [I want to get the same results if the words have empty space or no space](https://discuss.elastic.co/t/i-want-to-get-the-same-results-if-the-words-have-empty-space-or-no-space/294492)

<div class="topic-metadata">

**Author:** [@Amir\_Faramarzi](https://discuss.elastic.co/u/Amir_Faramarzi)\
**Replies:** 3\
**Last updated:** [January 16, 2022, 12:46pm UTC](https://discuss.elastic.co/t/i-want-to-get-the-same-results-if-the-words-have-empty-space-or-no-space/294492 "2022-01-16T12:46:18Z")

</div>

Hi everyone I want to get the same results if the words have empty space or no space. For example, we have a product called "washing mach ine" and I want the washing machine to return if the user searches for the word …

---

## [Is there a query that makes the word searched closer to the beginning of the text get more points?](https://discuss.elastic.co/t/is-there-a-query-that-makes-the-word-searched-closer-to-the-beginning-of-the-text-get-more-points/294483)

<div class="topic-metadata">

**Author:** [@Amir\_Faramarzi](https://discuss.elastic.co/u/Amir_Faramarzi)\
**Replies:** 3\
**Last updated:** [January 16, 2022, 12:44pm UTC](https://discuss.elastic.co/t/is-there-a-query-that-makes-the-word-searched-closer-to-the-beginning-of-the-text-get-more-points/294483 "2022-01-16T12:44:44Z")

</div>

hello Is there a query that makes the word searched closer to the beginning of the text get more points ?? For example, if we have two texts as follows Samsung mobile phone cover TypeC charger with fast charging capa…

---

## [Elasticsearch With Node.js throwing an Error: connect EADDRNOTAVAIL](https://discuss.elastic.co/t/elasticsearch-with-node-js-throwing-an-error-connect-eaddrnotavail/294495)

<div class="topic-metadata">

**Author:** [@qadeer.sipra](https://discuss.elastic.co/u/qadeer.sipra)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 10:00am UTC](https://discuss.elastic.co/t/elasticsearch-with-node-js-throwing-an-error-connect-eaddrnotavail/294495 "2022-01-16T10:00:58Z")

</div>

I am using Elasticsearch6.8.3 docker on an AWS ec2 machine for the production environment. For this purpose, I have installed the Elasticsearch via docker compose. In a microservice architecture many of the other service…

---

## [How to denormalize array with huge number of values Elasticsearch?](https://discuss.elastic.co/t/how-to-denormalize-array-with-huge-number-of-values-elasticsearch/293870)

<div class="topic-metadata">

**Author:** [@aldm](https://discuss.elastic.co/u/aldm)\
**Replies:** 2\
**Last updated:** [January 16, 2022, 9:03am UTC](https://discuss.elastic.co/t/how-to-denormalize-array-with-huge-number-of-values-elasticsearch/293870 "2022-01-16T09:03:26Z")

</div>

Hi, We're building an app which is using Elasticsearch. For each user there will be followers (array of longs - ids of user who follow this user). With time, number of followers might increase to hundreds of thousands, …

---

## [Analyze two-words phrase as one token](https://discuss.elastic.co/t/analyze-two-words-phrase-as-one-token/294305)

<div class="topic-metadata">

**Author:** [@Talya](https://discuss.elastic.co/u/Talya)\
**Replies:** 4\
**Last updated:** [January 16, 2022, 8:59am UTC](https://discuss.elastic.co/t/analyze-two-words-phrase-as-one-token/294305 "2022-01-16T08:59:04Z")

</div>

When dealing with phrases consisting with two words, I want to index them as one token and not retrieve them when the search matching one of those words. For ex. I have document with "French Toast", when someone is searc…

---

## [Partial matching against dates](https://discuss.elastic.co/t/partial-matching-against-dates/294190)

<div class="topic-metadata">

**Author:** [@snoopy20](https://discuss.elastic.co/u/snoopy20)\
**Replies:** 7\
**Last updated:** [January 15, 2022, 7:45pm UTC](https://discuss.elastic.co/t/partial-matching-against-dates/294190 "2022-01-15T19:45:03Z")

</div>

I'm sure this is is easy but couldn't find a simple answer. If I have 'XXXX2000' in an index and I search '01022000' how can I accept that as a partial match, whereby the more of the word that matches the higher the sco…

---

## [org.elasticsearch.action.get.MultiGetShardResponse extremly high "\[took\]" value](https://discuss.elastic.co/t/org-elasticsearch-action-get-multigetshardresponse-extremly-high-took-value/294434)

<div class="topic-metadata">

**Author:** [@trocade](https://discuss.elastic.co/u/trocade)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 4:45pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-get-multigetshardresponse-extremly-high-took-value/294434 "2022-01-15T16:45:44Z")

</div>

So we have some problems that something in our environment is causing our nodes to run out of HEAP memory (30GB per node) While looking at this I found these messages: server es\_server\[1635\]: {"type": "server", "timest…

---

## [Service wont run with "Environment Variable"](https://discuss.elastic.co/t/service-wont-run-with-environment-variable/294124)

<div class="topic-metadata">

**Author:** [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Replies:** 1\
**Last updated:** [January 15, 2022, 11:49am UTC](https://discuss.elastic.co/t/service-wont-run-with-environment-variable/294124 "2022-01-15T11:49:26Z")

</div>

Hi dears, I have a secure cluster with some services such as Kibana, Metricbeat, APM-server, Elastic Agent and... In their config.yml I have user/pass for Elasticsearch: output: elasticsearch hosts: "\[my\_hosts\]" usern…

---

## [Elasticsearch cluster UUID is not available after version upgrade](https://discuss.elastic.co/t/elasticsearch-cluster-uuid-is-not-available-after-version-upgrade/294441)

<div class="topic-metadata">

**Author:** [@learning\_fun](https://discuss.elastic.co/u/learning_fun)\
**Replies:** 4\
**Last updated:** [January 15, 2022, 10:27am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-uuid-is-not-available-after-version-upgrade/294441 "2022-01-15T10:27:13Z")

</div>

Hi There, we use only Elasticsearch and upgraded it from 6.7.0 to 7.16.2 . we run the Elasticsearch in kubernetes and after version upgrade, cluster UUID is not available. We have one master node , 3 data nodes, 1 coord…

---

## [Why Elasticsearch Mapping Explosion can causes OOM？](https://discuss.elastic.co/t/why-elasticsearch-mapping-explosion-can-causes-oom/294371)

<div class="topic-metadata">

**Author:** [@jiankunking](https://discuss.elastic.co/u/jiankunking)\
**Replies:** 4\
**Last updated:** [January 15, 2022, 10:25am UTC](https://discuss.elastic.co/t/why-elasticsearch-mapping-explosion-can-causes-oom/294371 "2022-01-15T10:25:45Z")

</div>

I think index Mapping is a large JSON object. Even if each node sends a copy, the memory usage is limited. Why does it cause OOM?

---

## [Inconsistent node role display for the same configuration](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449)

<div class="topic-metadata">

**Author:** [@co88liwan](https://discuss.elastic.co/u/co88liwan)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 10:24am UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449 "2022-01-15T10:24:26Z")

</div>

Elasticsearch version: 7.16.2 In our case, all data nodes in elasticsearch.yml file are configured as node.roles: \[data\_hot, data\_content, \] But running cat node in dev tool we see inconsistent node role display, some…

---

## [Strict terms query (exclusive)](https://discuss.elastic.co/t/strict-terms-query-exclusive/294471)

<div class="topic-metadata">

**Author:** [@Cholley\_Alexandre](https://discuss.elastic.co/u/Cholley_Alexandre)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 7:51am UTC](https://discuss.elastic.co/t/strict-terms-query-exclusive/294471 "2022-01-15T07:51:50Z")

</div>

Hi, I am looking to make a terms query but strictly containing specified terms and excluding all docs that do not contain only those terms (eg. docs matches if I have strictly and only A and B =\> no doc matches if I have…

---

## [FSCrawler : Retry connection, when it gets failure](https://discuss.elastic.co/t/fscrawler-retry-connection-when-it-gets-failure/293488)

<div class="topic-metadata">

**Author:** [@joseph-l.amalraj](https://discuss.elastic.co/u/joseph-l.amalraj)\
**Replies:** 15\
**Last updated:** [January 15, 2022, 5:41am UTC](https://discuss.elastic.co/t/fscrawler-retry-connection-when-it-gets-failure/293488 "2022-01-15T05:41:26Z")

</div>

Hi David, Please share your suggestions. We are using fscrawler-2.4.. When we startup.. getting below connection error.. is there way to look (or) wait for connection success, then continue the process within the \_sett…

---

## [How to read logs from a Checkpoint Firewall from IPS / IDS Blade](https://discuss.elastic.co/t/how-to-read-logs-from-a-checkpoint-firewall-from-ips-ids-blade/294430)

<div class="topic-metadata">

**Author:** [@duvids](https://discuss.elastic.co/u/duvids)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 4:02pm UTC](https://discuss.elastic.co/t/how-to-read-logs-from-a-checkpoint-firewall-from-ips-ids-blade/294430 "2022-01-14T16:02:57Z")

</div>

Hello there, i'm new to Elastic. I'm trying to understand how can i retrieve logs from a Checkpoint firewall more specifically from the Blade IDS/IPS has anyone achieved this or could give some guidance? thank you in adv…

---

## [Failed to add match 'elasticsearch': Invalid argument](https://discuss.elastic.co/t/failed-to-add-match-elasticsearch-invalid-argument/294388)

<div class="topic-metadata">

**Author:** [@Penchev](https://discuss.elastic.co/u/Penchev)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 3:17pm UTC](https://discuss.elastic.co/t/failed-to-add-match-elasticsearch-invalid-argument/294388 "2022-01-14T15:17:20Z")

</div>

Hi, I have the following issue after upgrading ELasticsearch from 6.8.22 to 7.14.2. When trying to start the service: Job for elasticsearch.service failed because the control process exited with error code. See "syste…

---

## [Search by word order](https://discuss.elastic.co/t/search-by-word-order/294188)

<div class="topic-metadata">

**Author:** [@Amir\_Faramarzi](https://discuss.elastic.co/u/Amir_Faramarzi)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 3:11pm UTC](https://discuss.elastic.co/t/search-by-word-order/294188 "2022-01-14T15:11:38Z")

</div>

Hello I have a product search system. Now I want the system to be such that if the user searches for the word "washing machine", priority will be given to products whose name starts with "washing machine" and displays t…

---

## [Organize search by priority with/without spaces](https://discuss.elastic.co/t/organize-search-by-priority-with-without-spaces/294276)

<div class="topic-metadata">

**Author:** [@gagasusrock](https://discuss.elastic.co/u/gagasusrock)\
**Replies:** 2\
**Last updated:** [January 14, 2022, 2:05pm UTC](https://discuss.elastic.co/t/organize-search-by-priority-with-without-spaces/294276 "2022-01-14T14:05:42Z")

</div>

Hello. I am using elastic 7.15.0. I want to organize search by priority with/without spaces. What does it mean? query - "surf coff" I want to see records contains or startswith "surf coff" - (SURF COFFEE, SURF CAFFE…

---

## [Need help on setting up OpenId with Elasticsearch](https://discuss.elastic.co/t/need-help-on-setting-up-openid-with-elasticsearch/294418)

<div class="topic-metadata">

**Author:** [@Prav](https://discuss.elastic.co/u/Prav)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 1:59pm UTC](https://discuss.elastic.co/t/need-help-on-setting-up-openid-with-elasticsearch/294418 "2022-01-14T13:59:00Z")

</div>

Getting below error while setting up SSO using OPenId in OKTA application for Elasticsearch Error: https://infracloudpothuspraveen.okta.com/oauth2/v1/authorize?idp=0oac6n0h5JCMaNxnU696&client\_id=0oac6mbg7UwfM5VFZ696&re…

---

## [QueryBuilders.moreLikeThis() bug in 7.16 Java API?](https://discuss.elastic.co/t/querybuilders-morelikethis-bug-in-7-16-java-api/294413)

<div class="topic-metadata">

**Author:** [@ndtreviv](https://discuss.elastic.co/u/ndtreviv)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 1:11pm UTC](https://discuss.elastic.co/t/querybuilders-morelikethis-bug-in-7-16-java-api/294413 "2022-01-14T13:11:55Z")

</div>

I'm trying to create a SearchRequest with a MoreLikeThisQuery like so: JsonData jsonDocument = JsonData.of(document); LikeDocument likeDocument = new LikeDocument.Builder().doc(jsonDocument).build(); …

---

## [Python bulk insert customize date parser](https://discuss.elastic.co/t/python-bulk-insert-customize-date-parser/294113)

<div class="topic-metadata">

**Author:** [@StevenZL](https://discuss.elastic.co/u/StevenZL)\
**Replies:** 4\
**Last updated:** [January 14, 2022, 12:56pm UTC](https://discuss.elastic.co/t/python-bulk-insert-customize-date-parser/294113 "2022-01-14T12:56:02Z")

</div>

Hi all, I'm new to Elasticsearch and I'm trying to bulk-insert into Elasticsearch using python After I read in the data using pandas, I created an index: es = Elasticsearch() es.indices.create( index="cars", …

---

## [Post filter results by score and max\_score](https://discuss.elastic.co/t/post-filter-results-by-score-and-max-score/294366)

<div class="topic-metadata">

**Author:** [@faza.zheten123](https://discuss.elastic.co/u/faza.zheten123)\
**Replies:** 5\
**Last updated:** [January 14, 2022, 11:59am UTC](https://discuss.elastic.co/t/post-filter-results-by-score-and-max-score/294366 "2022-01-14T11:59:59Z")

</div>

Hello, I want to show only max scored results. Is it possible? If possible could you tell me how to do it? Thanks as lot!

---

## [Language identification making Elasticsearch cluster unresponsive?](https://discuss.elastic.co/t/language-identification-making-elasticsearch-cluster-unresponsive/294406)

<div class="topic-metadata">

**Author:** [@Pyppe](https://discuss.elastic.co/u/Pyppe)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 11:36am UTC](https://discuss.elastic.co/t/language-identification-making-elasticsearch-cluster-unresponsive/294406 "2022-01-14T11:36:07Z")

</div>

We've got a dockerized 7.16.2 Elaticsearch server running. E.g. /\_cat/indices and /\_cat/nodes endpoints hang out and never give a response. In logs we have warnings such as: {"type": "server", "timestamp": "2022-01-14T…

---

## [Range queries with custom format dates](https://discuss.elastic.co/t/range-queries-with-custom-format-dates/292852)

<div class="topic-metadata">

**Author:** [@vincen.zo](https://discuss.elastic.co/u/vincen.zo)\
**Replies:** 4\
**Last updated:** [January 14, 2022, 10:31am UTC](https://discuss.elastic.co/t/range-queries-with-custom-format-dates/292852 "2022-01-14T10:31:07Z")

</div>

Hi, I am having some troubles using single and multiple range clauses in queries with date fields that use dynamic mappings. I frist create an empty index with the following dynamic mappings, including a custom date fo…

---

## [Failed to load metata when restarting elasticsearch](https://discuss.elastic.co/t/failed-to-load-metata-when-restarting-elasticsearch/293709)

<div class="topic-metadata">

**Author:** [@bruce2](https://discuss.elastic.co/u/bruce2)\
**Replies:** 7\
**Last updated:** [January 14, 2022, 8:23am UTC](https://discuss.elastic.co/t/failed-to-load-metata-when-restarting-elasticsearch/293709 "2022-01-14T08:23:05Z")

</div>

When I restart a node of the elasticsearch cluster, it failed to start. I set log level to trace. The logs is like below: \[2022-01-05T19:2...\]\[TRACE\]\[o.e.g.PersistedClusterStateService\] \[HOSTNAME\] found index metadata …

---

## [Confused about Explicit Mapping in Synonym Graph](https://discuss.elastic.co/t/confused-about-explicit-mapping-in-synonym-graph/294368)

<div class="topic-metadata">

**Author:** [@learningmore](https://discuss.elastic.co/u/learningmore)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 6:35am UTC](https://discuss.elastic.co/t/confused-about-explicit-mapping-in-synonym-graph/294368 "2022-01-14T06:35:31Z")

</div>

I've read the document on Synonym Graph, but I am still confused about explicit mapping. Assume that we have the following data: horse mouse chicken rooster duck cow Let's assume the synonym file has the following ent…

---

## [Updating documents within a Hot-Warm-Cold Index Management Lifecycle](https://discuss.elastic.co/t/updating-documents-within-a-hot-warm-cold-index-management-lifecycle/294314)

<div class="topic-metadata">

**Author:** [@Amphagory](https://discuss.elastic.co/u/Amphagory)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 6:43pm UTC](https://discuss.elastic.co/t/updating-documents-within-a-hot-warm-cold-index-management-lifecycle/294314 "2022-01-13T18:43:41Z")

</div>

Hello, I have set up an index lifecycle policy with rollover enable either for a max index size of 50gb or 30 days. The indices will move to a warm phase on rollover and to a cold phase after 90 days. Phase descriptio…

---

## [Get parent field from join mapping](https://discuss.elastic.co/t/get-parent-field-from-join-mapping/294341)

<div class="topic-metadata">

**Author:** [@tleduong](https://discuss.elastic.co/u/tleduong)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 11:26pm UTC](https://discuss.elastic.co/t/get-parent-field-from-join-mapping/294341 "2022-01-13T23:26:58Z")

</div>

I have a join mapping relationship where units is the parent and wells is child. I'm trying to run this query to return the child but also include a field from the parent. This would only return the parent ID. How do i …

---

## [Deprecating less popular technology support in es-hadoop](https://discuss.elastic.co/t/deprecating-less-popular-technology-support-in-es-hadoop/294336)

<div class="topic-metadata">

**Author:** [@Keith\_Massey](https://discuss.elastic.co/u/Keith_Massey)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 10:07pm UTC](https://discuss.elastic.co/t/deprecating-less-popular-technology-support-in-es-hadoop/294336 "2022-01-13T22:07:33Z")

</div>

We are deprecating support for Apache Pig, Apache Storm, Hadoop 1, Spark 1, and Scala 2.10 on Spark 2 (we are still supporting Scala 2.11 and 2.12 on Spark 2). See Deprecating old technology by masseyke · Pull Request #1…

---

## [Stuck with lots of empty indices for every beat version I've ever used](https://discuss.elastic.co/t/stuck-with-lots-of-empty-indices-for-every-beat-version-ive-ever-used/294204)

<div class="topic-metadata">

**Author:** [@nemhods](https://discuss.elastic.co/u/nemhods)\
**Replies:** 6\
**Last updated:** [January 13, 2022, 8:10pm UTC](https://discuss.elastic.co/t/stuck-with-lots-of-empty-indices-for-every-beat-version-ive-ever-used/294204 "2022-01-13T20:10:14Z")

</div>

Hello, I run a small 2-node cluster with a kitchen sink of beats and elastic agents on approx. 20 hosts. Nevertheless, I have a ton of indices and I'm hitting the cluster.max\_shards\_per\_node. There is not much data in …

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

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