# Elasticsearch

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

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

**Page:** 807

---

## [Investigating a "stuck" node](https://discuss.elastic.co/t/investigating-a-stuck-node/248864)

<div class="topic-metadata">

**Author:** [@JnBrymn](https://discuss.elastic.co/u/JnBrymn)\
**Replies:** 6\
**Last updated:** [September 17, 2020, 10:44pm UTC](https://discuss.elastic.co/t/investigating-a-stuck-node/248864 "2020-09-17T22:44:01Z")

</div>

I'm setting up a new search application on ES 7.3.1 and I am seeing some unusual behavior. I have 16 storage nodes and 5 coordinator nodes (no storage). All queries go though the coordinators. We have 400K docs, 4TB tota…

---

## [Bulk Requests and Routing](https://discuss.elastic.co/t/bulk-requests-and-routing/248995)

<div class="topic-metadata">

**Author:** [@munasia](https://discuss.elastic.co/u/munasia)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 10:38pm UTC](https://discuss.elastic.co/t/bulk-requests-and-routing/248995 "2020-09-17T22:38:51Z")

</div>

Is there a difference in indexing performance between a bulk request whose individual items have the same routing value vs a bulk request whose items have different values? Background: I'm fetching rows from a DB to be …

---

## [Es score from 0 to 1 when finding similar documents to existing one](https://discuss.elastic.co/t/es-score-from-0-to-1-when-finding-similar-documents-to-existing-one/248919)

<div class="topic-metadata">

**Author:** [@johanson](https://discuss.elastic.co/u/johanson)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 10:30pm UTC](https://discuss.elastic.co/t/es-score-from-0-to-1-when-finding-similar-documents-to-existing-one/248919 "2020-09-17T22:30:24Z")

</div>

Is it possible to calculate relative score from 0 to 1 when searching similar documents to existing one? Need to calculate relative score from 0 to 1 when searching similar documents to existing one. So existing one has…

---

## [Wrong data in Elasticsearch](https://discuss.elastic.co/t/wrong-data-in-elasticsearch/248913)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 10:14pm UTC](https://discuss.elastic.co/t/wrong-data-in-elasticsearch/248913 "2020-09-17T22:14:34Z")

</div>

I have installed elk on linux server and winlogbeat on windows.I am using syslog input plugin but i don't know why it is showing me winlogbeat data input { syslog { port =\> 10514 host =\> "10.198.0.133" } } output { el…

---

## [Open 92 00 port](https://discuss.elastic.co/t/open-92-00-port/248964)

<div class="topic-metadata">

**Author:** [@YURA](https://discuss.elastic.co/u/YURA)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 10:05pm UTC](https://discuss.elastic.co/t/open-92-00-port/248964 "2020-09-17T22:05:21Z")

</div>

Good day! CentOS Linux release 8.2.2004 (Core) there was installed (number "7.9.0") so what we need. open 9200 for only one IP. what I did iptables -I INPUT -s myserverip/32 -p tcp -m tcp --dport 9200 -j ACCEPT ip…

---

## [Elasticsearch - Setting replica to 0 for new indices](https://discuss.elastic.co/t/elasticsearch-setting-replica-to-0-for-new-indices/248986)

<div class="topic-metadata">

**Author:** [@Elk\_huh](https://discuss.elastic.co/u/Elk_huh)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 10:03pm UTC](https://discuss.elastic.co/t/elasticsearch-setting-replica-to-0-for-new-indices/248986 "2020-09-17T22:03:09Z")

</div>

If I wanted to set all new replicas to 0 , will the \* affect system indices ? { "index\_patterns": \["\*"\], "settings": { "index": { "number\_of\_replicas": 0 } } }

---

## [ShardNotInPrimaryModeException when indexing to a cluster while shards move](https://discuss.elastic.co/t/shardnotinprimarymodeexception-when-indexing-to-a-cluster-while-shards-move/248925)

<div class="topic-metadata">

**Author:** [@zorah](https://discuss.elastic.co/u/zorah)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 7:28am UTC](https://discuss.elastic.co/t/shardnotinprimarymodeexception-when-indexing-to-a-cluster-while-shards-move/248925 "2020-09-17T07:28:43Z")

</div>

When I add a new node to my Elasticsearch cluster, the cluster will rebalance shards and shards will move onto the new node. When I want to remove a node from the cluster, I will force shards off the node before decommis…

---

## [Just need to find the length of Array in DOC](https://discuss.elastic.co/t/just-need-to-find-the-length-of-array-in-doc/249021)

<div class="topic-metadata">

**Author:** [@Md\_Iburahimsha\_S](https://discuss.elastic.co/u/Md_Iburahimsha_S)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 6:38pm UTC](https://discuss.elastic.co/t/just-need-to-find-the-length-of-array-in-doc/249021 "2020-09-17T18:38:22Z")

</div>

'''I have a doc, just need to get the length of array in kibana objects,' 'Query:''' ''' GET .kibana/\_search { "query": {"match": { "\_id" : "dashboard:Dashboard1" }} } ''' Query results: ''' { "\_index" : ".ki…

---

## [Transactions per hour elastic agent](https://discuss.elastic.co/t/transactions-per-hour-elastic-agent/245030)

<div class="topic-metadata">

**Author:** [@javig12](https://discuss.elastic.co/u/javig12)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 7:23pm UTC](https://discuss.elastic.co/t/transactions-per-hour-elastic-agent/245030 "2020-09-17T19:23:03Z")

</div>

Hello Community, In your experiences how many transaction or events can do per hour any device with agent? what about network devices? hope your comments. Regards!

---

## [Exception occurred java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED](https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479)

<div class="topic-metadata">

**Author:** [@reddroid](https://discuss.elastic.co/u/reddroid)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 5:07pm UTC](https://discuss.elastic.co/t/exception-occurred-java-lang-runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/244479 "2020-09-17T17:07:43Z")

</div>

Exception occurred java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:831) at org.elasticsearch…

---

## [Why so huge memory requirements when creating new replicas?](https://discuss.elastic.co/t/why-so-huge-memory-requirements-when-creating-new-replicas/248560)

<div class="topic-metadata">

**Author:** [@zdeseb](https://discuss.elastic.co/u/zdeseb)\
**Replies:** 14\
**Last updated:** [September 17, 2020, 5:04pm UTC](https://discuss.elastic.co/t/why-so-huge-memory-requirements-when-creating-new-replicas/248560 "2020-09-17T17:04:31Z")

</div>

Hello, does anyone know what exactly is going on on data nodes when number of replica setting is increased and new replicas are started to build? When I change the replica number from 0 to 1 on some slightly larger ind…

---

## [Elastic Search High Level Client Aggregation to get Index wise Hits on Alias Search](https://discuss.elastic.co/t/elastic-search-high-level-client-aggregation-to-get-index-wise-hits-on-alias-search/248994)

<div class="topic-metadata">

**Author:** [@hackerzpark](https://discuss.elastic.co/u/hackerzpark)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 3:52pm UTC](https://discuss.elastic.co/t/elastic-search-high-level-client-aggregation-to-get-index-wise-hits-on-alias-search/248994 "2020-09-17T15:52:27Z")

</div>

Hi, I am using ES 7.3.1 and Elasticsearch high level client 7.3.1 We have an alias which comprises of 3 indexes. Alias Name : employee\_search Indexes in this alias : contract\_employee,permanent\_employee,client…

---

## [Tutorials and Examples of Aggregations in the Java High Level Client](https://discuss.elastic.co/t/tutorials-and-examples-of-aggregations-in-the-java-high-level-client/248980)

<div class="topic-metadata">

**Author:** [@robshep](https://discuss.elastic.co/u/robshep)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 2:16pm UTC](https://discuss.elastic.co/t/tutorials-and-examples-of-aggregations-in-the-java-high-level-client/248980 "2020-09-17T14:16:25Z")

</div>

Hi, I'm looking for tutorials and examples of building aggregates using the Java High Level client API. Google doesn't throw up much, the ES guide is an overview of functionality and the Javadocs just list the API of c…

---

## [CPU usage behavior in the frozen indices](https://discuss.elastic.co/t/cpu-usage-behavior-in-the-frozen-indices/248988)

<div class="topic-metadata">

**Author:** [@vakhtang](https://discuss.elastic.co/u/vakhtang)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 1:56pm UTC](https://discuss.elastic.co/t/cpu-usage-behavior-in-the-frozen-indices/248988 "2020-09-17T13:56:58Z")

</div>

Hello, We try to benchmark the frozen indices part, and recognize some strange CPU behavior: We have Hot - Cold architecture In the test time, we test the nodes only with frozen indices. We do not write in the test t…

---

## [Word delimiter (or switch from hyphen to underline) for all existing indexes](https://discuss.elastic.co/t/word-delimiter-or-switch-from-hyphen-to-underline-for-all-existing-indexes/248984)

<div class="topic-metadata">

**Author:** [@sandikata](https://discuss.elastic.co/u/sandikata)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 1:42pm UTC](https://discuss.elastic.co/t/word-delimiter-or-switch-from-hyphen-to-underline-for-all-existing-indexes/248984 "2020-09-17T13:42:24Z")

</div>

Hello, i am trying to use word\_delimiter for existing indexes, because all the hyphens are ignored while search for example "test-test" is searched as two separate patterns "test test" instead of test-test. Documentatio…

---

## [Starting a continuous Transform](https://discuss.elastic.co/t/starting-a-continuous-transform/248839)

<div class="topic-metadata">

**Author:** [@mykael](https://discuss.elastic.co/u/mykael)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 6:20am UTC](https://discuss.elastic.co/t/starting-a-continuous-transform/248839 "2020-09-17T06:20:17Z")

</div>

I'm setting up a new ELK instance and want to have some continuous transforms running on it. So I load up may table definitions, my transform definitions, bootstrap the transfrom datasets and tell ELK to start them runn…

---

## [How to use minhash filter?](https://discuss.elastic.co/t/how-to-use-minhash-filter/248320)

<div class="topic-metadata">

**Author:** [@ennian001](https://discuss.elastic.co/u/ennian001)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 1:39pm UTC](https://discuss.elastic.co/t/how-to-use-minhash-filter/248320 "2020-09-17T13:39:31Z")

</div>

could someone give me some search example for minhash filter ???

---

## [Boolean filter question](https://discuss.elastic.co/t/boolean-filter-question/248346)

<div class="topic-metadata">

**Author:** [@shon3r](https://discuss.elastic.co/u/shon3r)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 1:32pm UTC](https://discuss.elastic.co/t/boolean-filter-question/248346 "2020-09-17T13:32:37Z")

</div>

Hello, I have a problem with filter in boolean query. I want to apply a filter based on 3 fields with 1 minimum filter match : $params = \[ 'from' =\> 0, 'size' =\> 25, 'index' =\> 'document', 'body' =\> \[ …

---

## [Where to add min\_doc-count](https://discuss.elastic.co/t/where-to-add-min-doc-count/248612)

<div class="topic-metadata">

**Author:** [@imantha](https://discuss.elastic.co/u/imantha)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 12:45pm UTC](https://discuss.elastic.co/t/where-to-add-min-doc-count/248612 "2020-09-17T12:45:40Z")

</div>

let peopleCount = { size: 0, aggs: { 'min\_doc\_count': 0, group\_by\_day: { // min\_doc\_count: 0, date\_histogram: { field: 'timestamp', interval: '1d', time\_zone: '+11:00', …

---

## [Enrich Processor - If the fields do not match](https://discuss.elastic.co/t/enrich-processor-if-the-fields-do-not-match/248707)

<div class="topic-metadata">

**Author:** [@subash](https://discuss.elastic.co/u/subash)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 12:40pm UTC](https://discuss.elastic.co/t/enrich-processor-if-the-fields-do-not-match/248707 "2020-09-17T12:40:06Z")

</div>

Hi, I am using enrich processor to enrich some fields from the already existing Index in elasticsearch. The problem is, if the enrich processor does not find any match, it skips the document. I want to ingest both mat…

---

## [Skipping duplicates with search\_as\_you\_type field in Elasticsearch](https://discuss.elastic.co/t/skipping-duplicates-with-search-as-you-type-field-in-elasticsearch/248845)

<div class="topic-metadata">

**Author:** [@zaidw21](https://discuss.elastic.co/u/zaidw21)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 12:35pm UTC](https://discuss.elastic.co/t/skipping-duplicates-with-search-as-you-type-field-in-elasticsearch/248845 "2020-09-17T12:35:35Z")

</div>

We are using the completion suggester for showing text suggestions and autocomplete functionality in our search implementation. We recently migrated to the Elasticsearch v7.4 from v7.1. As a new field (search\_as\_you\_typ…

---

## [How to parse Watcher/Aggs in JSON format into a table automatically?](https://discuss.elastic.co/t/how-to-parse-watcher-aggs-in-json-format-into-a-table-automatically/247623)

<div class="topic-metadata">

**Author:** [@kelk](https://discuss.elastic.co/u/kelk)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 12:32pm UTC](https://discuss.elastic.co/t/how-to-parse-watcher-aggs-in-json-format-into-a-table-automatically/247623 "2020-09-17T12:32:12Z")

</div>

The output of an aggregation in search (or in watcher), currently comes as JSON and contains key-value. The outcome is different and may contain different fields, so hardcoding them into an html body is not possible. Is …

---

## [Using FVH Highlighter and multi pre/post tags to map query string to highlight tag](https://discuss.elastic.co/t/using-fvh-highlighter-and-multi-pre-post-tags-to-map-query-string-to-highlight-tag/248969)

<div class="topic-metadata">

**Author:** [@jackhodkinson](https://discuss.elastic.co/u/jackhodkinson)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 11:22am UTC](https://discuss.elastic.co/t/using-fvh-highlighter-and-multi-pre-post-tags-to-map-query-string-to-highlight-tag/248969 "2020-09-17T11:22:58Z")

</div>

I am using Elasticsearch Version 7.1.1 Given a search object like this: { "query": { "bool": { "must": { {"query\_string": {"query": "bar", "default\_field": "text"}, {"query\_string": {"query"…

---

## [Validation API got error with highlight.(org.elasticsearch.common.ParsingException: request does not support \[highlight\]](https://discuss.elastic.co/t/validation-api-got-error-with-highlight-org-elasticsearch-common-parsingexception-request-does-not-support-highlight/248953)

<div class="topic-metadata">

**Author:** [@po3rin](https://discuss.elastic.co/u/po3rin)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 9:48am UTC](https://discuss.elastic.co/t/validation-api-got-error-with-highlight-org-elasticsearch-common-parsingexception-request-does-not-support-highlight/248953 "2020-09-17T09:48:14Z")

</div>

Hello :slight\_smile: I tried highlight with reference to the following document. (using docker.elastic.co/elasticsearch/elasticsearch:7.5.1) This example works fine, but when I check it with the validation api, I ge…

---

## [Getting org.elasticsearch.discovery.MasterNotDiscoveredException, while I use only one node](https://discuss.elastic.co/t/getting-org-elasticsearch-discovery-masternotdiscoveredexception-while-i-use-only-one-node/248662)

<div class="topic-metadata">

**Author:** [@111320](https://discuss.elastic.co/u/111320)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 6:19am UTC](https://discuss.elastic.co/t/getting-org-elasticsearch-discovery-masternotdiscoveredexception-while-i-use-only-one-node/248662 "2020-09-17T06:19:26Z")

</div>

I'm running elasticsearch (7.6.2) on RHEL 6.1 with only one node and I get: org.elasticsearch.discovery.MasterNotDiscoveredException org.elasticsearch.discovery.MasterNotDiscoveredException This is my elasticsearch.ym…

---

## [Import/Export elasticsearch users and roles](https://discuss.elastic.co/t/import-export-elasticsearch-users-and-roles/248805)

<div class="topic-metadata">

**Author:** [@atharvak](https://discuss.elastic.co/u/atharvak)\
**Replies:** 2\
**Last updated:** [September 17, 2020, 5:55am UTC](https://discuss.elastic.co/t/import-export-elasticsearch-users-and-roles/248805 "2020-09-17T05:55:56Z")

</div>

Greetings, I have to backup user and roles from one server to another server. I am following the given method to achieve this. Take JSON dump of .security-7 index from source server. Re-index .security-7 index on dest…

---

## [Elasticsearch7.8 Could not create the Java Virtual Machine](https://discuss.elastic.co/t/elasticsearch7-8-could-not-create-the-java-virtual-machine/248825)

<div class="topic-metadata">

**Author:** [@HKN\_MZ](https://discuss.elastic.co/u/HKN_MZ)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 4:37am UTC](https://discuss.elastic.co/t/elasticsearch7-8-could-not-create-the-java-virtual-machine/248825 "2020-09-17T04:37:02Z")

</div>

---

## [Helm3 chart version v7.9.1 Elasticsearch and Kibana both on the same Minikube profile](https://discuss.elastic.co/t/helm3-chart-version-v7-9-1-elasticsearch-and-kibana-both-on-the-same-minikube-profile/248655)

<div class="topic-metadata">

**Author:** [@vugar](https://discuss.elastic.co/u/vugar)\
**Replies:** 4\
**Last updated:** [September 17, 2020, 4:09am UTC](https://discuss.elastic.co/t/helm3-chart-version-v7-9-1-elasticsearch-and-kibana-both-on-the-same-minikube-profile/248655 "2020-09-17T04:09:12Z")

</div>

Hi there! Anyone had any luck with deploying both Elasticsearch and Kibana on the same Minikube profile with Helm3 ? It seems as if I can deploy only Elasticsearch or Kibana but not both...

---

## [How do I storage ES data into HDFS](https://discuss.elastic.co/t/how-do-i-storage-es-data-into-hdfs/248902)

<div class="topic-metadata">

**Author:** [@vpzlin](https://discuss.elastic.co/u/vpzlin)\
**Replies:** 4\
**Last updated:** [September 17, 2020, 3:42am UTC](https://discuss.elastic.co/t/how-do-i-storage-es-data-into-hdfs/248902 "2020-09-17T03:42:12Z")

</div>

Hello guys, I'm using ElasticSearch 6.6.0. Recently I recieved a requirement that ES data should storage into HDFS, because Solr can do this. So I mounted HDFS as a local path '/esdata' by HDFS NFS3 Gateway, and set dat…

---

## [New install - unable to start Elasticsearch](https://discuss.elastic.co/t/new-install-unable-to-start-elasticsearch/248875)

<div class="topic-metadata">

**Author:** [@rcoote](https://discuss.elastic.co/u/rcoote)\
**Replies:** 5\
**Last updated:** [September 17, 2020, 2:56am UTC](https://discuss.elastic.co/t/new-install-unable-to-start-elasticsearch/248875 "2020-09-17T02:56:06Z")

</div>

Hello, Fresh install on Ubuntu server following along with Rob's video. When starting Elasticsearch for the first time it fails. admin@oeg-elk-01:~ sudo systemctl start elasticsearch Job for elasticsearch.service faile…

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

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