# Elasticsearch

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

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

**Page:** 1202

---

## [Partition for Elasticsearch](https://discuss.elastic.co/t/partition-for-elasticsearch/193904)

<div class="topic-metadata">

**Author:** [@mancharagopan](https://discuss.elastic.co/u/mancharagopan)\
**Replies:** 0\
**Last updated:** [August 6, 2019, 2:00am UTC](https://discuss.elastic.co/t/partition-for-elasticsearch/193904 "2019-08-06T02:00:00Z")

</div>

What is the best partition sizes for Elasticsearch? I am using a vm with 500GB storage.

---

## [Invoking saved searchers using elasticsearch python API](https://discuss.elastic.co/t/invoking-saved-searchers-using-elasticsearch-python-api/193903)

<div class="topic-metadata">

**Author:** [@mkain](https://discuss.elastic.co/u/mkain)\
**Replies:** 0\
**Last updated:** [August 6, 2019, 1:49am UTC](https://discuss.elastic.co/t/invoking-saved-searchers-using-elasticsearch-python-api/193903 "2019-08-06T01:49:54Z")

</div>

Hi, I have saved a few searches in Kibana. Now I want to invoke these searches by just defining time period through elastic pyhon API to get CSV output of data. Is this possible ? how can I achieve it ? Any lead/clue …

---

## [Installing watcher plugin fails on elasticsearch 6.7](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386)

<div class="topic-metadata">

**Author:** [@mkain](https://discuss.elastic.co/u/mkain)\
**Replies:** 7\
**Last updated:** [August 6, 2019, 1:44am UTC](https://discuss.elastic.co/t/installing-watcher-plugin-fails-on-elasticsearch-6-7/192386 "2019-08-06T01:44:52Z")

</div>

Hi, I have elasticsearch ver 6.7. I want to install watcher plugin. My ELK can reach internet only via proxy. So to install plugin I am doing following as elasticsearch user ES\_JAVA\_OPTS="-Dhttp.proxyHost=my\_proxy\_i…

---

## [Elasticsearch not starting - failed to notify ClusterStateListener unable to parse step for policy](https://discuss.elastic.co/t/elasticsearch-not-starting-failed-to-notify-clusterstatelistener-unable-to-parse-step-for-policy/193435)

<div class="topic-metadata">

**Author:** [@Daniel6](https://discuss.elastic.co/u/Daniel6)\
**Replies:** 4\
**Last updated:** [August 2, 2019, 7:33am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-failed-to-notify-clusterstatelistener-unable-to-parse-step-for-policy/193435 "2019-08-02T07:33:24Z")

</div>

Hi, I run Elasticsearch on liunx (CetnOS7) server in intranet environment. In the beginning I run Elasticsearch as a cluster with 5 nodes. I also install Kibana, Logstash, Beats and it run perfectly. When I try to …

---

## [\[Solved\] Elasticsearch 7.2.0, Python and Date Range Query](https://discuss.elastic.co/t/solved-elasticsearch-7-2-0-python-and-date-range-query/193891)

<div class="topic-metadata">

**Author:** [@pritchey](https://discuss.elastic.co/u/pritchey)\
**Replies:** 2\
**Last updated:** [August 6, 2019, 12:50am UTC](https://discuss.elastic.co/t/solved-elasticsearch-7-2-0-python-and-date-range-query/193891 "2019-08-06T00:50:55Z")

</div>

I'm really pulling my hair out on something that should be working (I think) but is returning no results. I'm using packetbeats to feed data into my Elasticsearch setup (7.2.0). Data is there - I can see it in Kibana. …

---

## [Update blog attachment code example](https://discuss.elastic.co/t/update-blog-attachment-code-example/193862)

<div class="topic-metadata">

**Author:** [@futureshock2038](https://discuss.elastic.co/u/futureshock2038)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 11:52pm UTC](https://discuss.elastic.co/t/update-blog-attachment-code-example/193862 "2019-08-05T23:52:04Z")

</div>

Russ, I am hoping you can help me get the code working from the following blog post: It is written using a previous version of NEST, but the Attachment method seems to have been deprecated and will not work with NEST…

---

## [Connection failed thru ODBC (x\_content\_parse\_exception) to ES 7.2.0](https://discuss.elastic.co/t/connection-failed-thru-odbc-x-content-parse-exception-to-es-7-2-0/191957)

<div class="topic-metadata">

**Author:** [@jakubg](https://discuss.elastic.co/u/jakubg)\
**Replies:** 5\
**Last updated:** [August 5, 2019, 11:42pm UTC](https://discuss.elastic.co/t/connection-failed-thru-odbc-x-content-parse-exception-to-es-7-2-0/191957 "2019-08-05T23:42:02Z")

</div>

Hi, I am trying to connect via ODBC driver in version 7.2.0 on Windows 10 to our Elasticsearch cluster. Everything was working fine on Elasticsearch v7.1.1, but after upgrading to 7.2.0 we are receiving just this error m…

---

## [Fielddata is disabled on text fields by default. Set fielddata=true](https://discuss.elastic.co/t/fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true/193898)

<div class="topic-metadata">

**Author:** [@ntsh999](https://discuss.elastic.co/u/ntsh999)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 11:31pm UTC](https://discuss.elastic.co/t/fielddata-is-disabled-on-text-fields-by-default-set-fielddata-true/193898 "2019-08-05T23:31:45Z")

</div>

I am running elastic stack v 7.2.0 on kubernetes and I am getting this error in the elasticsearch while accessing the metricbeat dashboard Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fi…

---

## [Elasticsearch node has no shards](https://discuss.elastic.co/t/elasticsearch-node-has-no-shards/193871)

<div class="topic-metadata">

**Author:** [@userR](https://discuss.elastic.co/u/userR)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 7:58pm UTC](https://discuss.elastic.co/t/elasticsearch-node-has-no-shards/193871 "2019-08-05T19:58:16Z")

</div>

I recently restarted the master node and found that no shards have been allocated to it. Master node version is 7.20 and data nodes are 7.21. Is that an issue? How do I go about updating the Master node version (instal…

---

## [Unable to Start ElasticSearch 5.6.16](https://discuss.elastic.co/t/unable-to-start-elasticsearch-5-6-16/192791)

<div class="topic-metadata">

**Author:** [@jboyes](https://discuss.elastic.co/u/jboyes)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 9:06pm UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-5-6-16/192791 "2019-08-05T21:06:05Z")

</div>

I just downgraded from v6.5.4 to v5.6.16 to meet the requirements of a web app I am installing. When I start the service (service elasticsearch start) it says OK, but when I check the status (service elasticsearch start…

---

## [Maxing out update queue \`remote\_transport\_exception\`](https://discuss.elastic.co/t/maxing-out-update-queue-remote-transport-exception/193874)

<div class="topic-metadata">

**Author:** [@minder1](https://discuss.elastic.co/u/minder1)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 7:46pm UTC](https://discuss.elastic.co/t/maxing-out-update-queue-remote-transport-exception/193874 "2019-08-05T19:46:02Z")

</div>

I have set up ES to handle a basic Tinder like dating app data stream for profiles and their swipes. My mapping looks something like this: { name: text, dob: date, ..., swipedOnBy: Array\<(profile IDs)\>, liked: Arra…

---

## [Minimum should match is not working](https://discuss.elastic.co/t/minimum-should-match-is-not-working/193528)

<div class="topic-metadata">

**Author:** [@sballa](https://discuss.elastic.co/u/sballa)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 8:11pm UTC](https://discuss.elastic.co/t/minimum-should-match-is-not-working/193528 "2019-08-05T20:11:56Z")

</div>

I have a query with an array of 'must' clauses. Two of those clauses have array of 'should' clauses in them as follows just providing pseuodocode here): must: \[ { clause 1 }, { clause 2 }, { bool: should: \[ {clause…

---

## [Boosting negatively (or demoting) documents based on an array of values for a given field](https://discuss.elastic.co/t/boosting-negatively-or-demoting-documents-based-on-an-array-of-values-for-a-given-field/193879)

<div class="topic-metadata">

**Author:** [@ToddDtown](https://discuss.elastic.co/u/ToddDtown)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 8:09pm UTC](https://discuss.elastic.co/t/boosting-negatively-or-demoting-documents-based-on-an-array-of-values-for-a-given-field/193879 "2019-08-05T20:09:25Z")

</div>

Can anyone help with a query to do a negative boost on documents based on an array of values that i have when creating the query postData? Example: A user has viewed 100 images and those 100 image id's are stored in a…

---

## [Multiple Nested Documents Must Match](https://discuss.elastic.co/t/multiple-nested-documents-must-match/193878)

<div class="topic-metadata">

**Author:** [@kfarbman](https://discuss.elastic.co/u/kfarbman)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 8:06pm UTC](https://discuss.elastic.co/t/multiple-nested-documents-must-match/193878 "2019-08-05T20:06:41Z")

</div>

I have an index where the documents have nested documents. Is there a way that I can return only documents where 5 or more nested documents match the search criteria? For example: Document A has a nested field of "comme…

---

## [Using Transport Client getting no hits but elastic log has CircuitBreakingException](https://discuss.elastic.co/t/using-transport-client-getting-no-hits-but-elastic-log-has-circuitbreakingexception/193695)

<div class="topic-metadata">

**Author:** [@esuser1027](https://discuss.elastic.co/u/esuser1027)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 7:16pm UTC](https://discuss.elastic.co/t/using-transport-client-getting-no-hits-but-elastic-log-has-circuitbreakingexception/193695 "2019-08-05T19:16:20Z")

</div>

I am using Java API to talk to Elasticsearch version 5.5.3. My queries were getting no hits. Only by looking at the elastic search logs found that it reached the memory limits while sorting. How is this exception lost…

---

## [ES API that return local persisted cluster state, even before it is initialized/recovered](https://discuss.elastic.co/t/es-api-that-return-local-persisted-cluster-state-even-before-it-is-initialized-recovered/193173)

<div class="topic-metadata">

**Author:** [@itiyamas](https://discuss.elastic.co/u/itiyamas)\
**Replies:** 7\
**Last updated:** [August 5, 2019, 5:58pm UTC](https://discuss.elastic.co/t/es-api-that-return-local-persisted-cluster-state-even-before-it-is-initialized-recovered/193173 "2019-08-05T17:58:06Z")

</div>

Is there an API that returns local persisted cluster state before the cluster state is recovered. I tried /\_cluster/state?local, but it does not return the persisted state on disk, if the state is not yet initialized. I…

---

## [Pagination + Sorting + Aggregaition? Has Anyone done this magic yeat ? PLS HELP](https://discuss.elastic.co/t/pagination-sorting-aggregaition-has-anyone-done-this-magic-yeat-pls-help/193854)

<div class="topic-metadata">

**Author:** [@Bidzina\_Goginashvili](https://discuss.elastic.co/u/Bidzina_Goginashvili)\
**Replies:** 3\
**Last updated:** [August 5, 2019, 5:31pm UTC](https://discuss.elastic.co/t/pagination-sorting-aggregaition-has-anyone-done-this-magic-yeat-pls-help/193854 "2019-08-05T17:31:58Z")

</div>

Please it will be helpfull if you give me a script...

---

## [Service not starting on Windows server 16](https://discuss.elastic.co/t/service-not-starting-on-windows-server-16/193850)

<div class="topic-metadata">

**Author:** [@Ugen](https://discuss.elastic.co/u/Ugen)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 5:18pm UTC](https://discuss.elastic.co/t/service-not-starting-on-windows-server-16/193850 "2019-08-05T17:18:16Z")

</div>

Hi, Service won't start : Missing service ImageFile. Elasticsearch v 7.2 Elastic has been installed and uses its own jdk supplied java. I added JAVA\_HOME to point it in case the service needs the path. Any ideas? \[20…

---

## [Elasticsearch 7.2 on Windows security problem](https://discuss.elastic.co/t/elasticsearch-7-2-on-windows-security-problem/193406)

<div class="topic-metadata">

**Author:** [@tdmboro](https://discuss.elastic.co/u/tdmboro)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 5:00pm UTC](https://discuss.elastic.co/t/elasticsearch-7-2-on-windows-security-problem/193406 "2019-08-05T17:00:58Z")

</div>

TLDR; it seems the built-in account set is losing credential setup information under certain conditions, maybe due to incorrect config? See config below. Now for story time... I have a basic license, single node insta…

---

## [ILM rollover failing](https://discuss.elastic.co/t/ilm-rollover-failing/193839)

<div class="topic-metadata">

**Author:** [@topher](https://discuss.elastic.co/u/topher)\
**Replies:** 1\
**Last updated:** [August 5, 2019, 3:50pm UTC](https://discuss.elastic.co/t/ilm-rollover-failing/193839 "2019-08-05T15:50:15Z")

</div>

OK, I am trying to figure out my ILM situation again. I've reset my policies, template and aliases through last week and I'm getting close; now it's at least trying to rollover and failing. My index is (very creativel…

---

## [Index mgmt as it relates to elastic ingest rate](https://discuss.elastic.co/t/index-mgmt-as-it-relates-to-elastic-ingest-rate/193835)

<div class="topic-metadata">

**Author:** [@ethrbunny](https://discuss.elastic.co/u/ethrbunny)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 3:39pm UTC](https://discuss.elastic.co/t/index-mgmt-as-it-relates-to-elastic-ingest-rate/193835 "2019-08-05T15:39:41Z")

</div>

Im running into some problems with elastic ingest. We're running 5 data nodes on kubernetes (hosts have 56 cores / 64Gb RAM). Data is coming as beats -\> kafka -\> logstash (also via k8) -\> elastic Ingest rate seems to b…

---

## [Does ES 6.2.\* support MultiSearchTemplateRequest or SearchTemplateRequestBuilder? How do you perform multisearch with templates?](https://discuss.elastic.co/t/does-es-6-2-support-multisearchtemplaterequest-or-searchtemplaterequestbuilder-how-do-you-perform-multisearch-with-templates/193829)

<div class="topic-metadata">

**Author:** [@zqd](https://discuss.elastic.co/u/zqd)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 3:08pm UTC](https://discuss.elastic.co/t/does-es-6-2-support-multisearchtemplaterequest-or-searchtemplaterequestbuilder-how-do-you-perform-multisearch-with-templates/193829 "2019-08-05T15:08:48Z")

</div>

https://github.com/spring-projects/spring-data-elasticsearch supports up to ES 6.2. I converted all my queries to templates and is trying to use multi-search for all my template queries. I tried // code val multiReque…

---

## [Deleting index using curator older than 25 days](https://discuss.elastic.co/t/deleting-index-using-curator-older-than-25-days/193489)

<div class="topic-metadata">

**Author:** [@swapnali](https://discuss.elastic.co/u/swapnali)\
**Replies:** 4\
**Last updated:** [August 5, 2019, 3:05pm UTC](https://discuss.elastic.co/t/deleting-index-using-curator-older-than-25-days/193489 "2019-08-05T15:05:41Z")

</div>

Hi, I am trying to deleting index which is older than 25 days. Below are error i am getting \[root@eltest1 elasticsearch-curator\]# curator delete\_3mOdl.yml 2019-08-02 14:02:50,739 INFO Preparing Action ID: 1, "de…

---

## [Config nodes ElasticSearch Production](https://discuss.elastic.co/t/config-nodes-elasticsearch-production/193827)

<div class="topic-metadata">

**Author:** [@Phuc\_L\_i\_Ly](https://discuss.elastic.co/u/Phuc_L_i_Ly)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 3:02pm UTC](https://discuss.elastic.co/t/config-nodes-elasticsearch-production/193827 "2019-08-05T15:02:45Z")

</div>

Hello, everyone, I have 3 servers: Centos 6 15GB ram, 8 CPU, 300GB disk Where is the best config for 3 nodes elastic search (JVM, nodes)? I have an index about 150GB data ~4 mils record, for saving the contact of th…

---

## [Shard Sizing question](https://discuss.elastic.co/t/shard-sizing-question/193576)

<div class="topic-metadata">

**Author:** [@iamrags](https://discuss.elastic.co/u/iamrags)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 2:24pm UTC](https://discuss.elastic.co/t/shard-sizing-question/193576 "2019-08-05T14:24:52Z")

</div>

Hello Group, I am currently sizing my production cluster and had some questions. PLease help me out with some pointers. Based on my research shard size should not exceed more than 50 GB to perform optimally. Below is my…

---

## [Limit multiple bool query in elasticsearch](https://discuss.elastic.co/t/limit-multiple-bool-query-in-elasticsearch/193815)

<div class="topic-metadata">

**Author:** [@Youssfi\_Mohamed](https://discuss.elastic.co/u/Youssfi_Mohamed)\
**Replies:** 0\
**Last updated:** [August 5, 2019, 2:23pm UTC](https://discuss.elastic.co/t/limit-multiple-bool-query-in-elasticsearch/193815 "2019-08-05T14:23:52Z")

</div>

i have to search infos from elastic search so for that requirment i use a multiple bool query i want to limit each bool query size with different value from the other, that means each bool query have its own limit . so f…

---

## [Search on frozen index cause huge usage of JVM Heap](https://discuss.elastic.co/t/search-on-frozen-index-cause-huge-usage-of-jvm-heap/193101)

<div class="topic-metadata">

**Author:** [@Ali\_Reza\_Haghighat](https://discuss.elastic.co/u/Ali_Reza_Haghighat)\
**Replies:** 8\
**Last updated:** [August 5, 2019, 2:17pm UTC](https://discuss.elastic.co/t/search-on-frozen-index-cause-huge-usage-of-jvm-heap/193101 "2019-08-05T14:17:22Z")

</div>

Hi, I have run the following test to analyze the effect of using frozen indices of JVM heap usage. I have a single node cluster with the following properties: JVM Heap: 6 GB Number of indices: 200 Number of shards:…

---

## [Downgrade from 6.8 to 5.6](https://discuss.elastic.co/t/downgrade-from-6-8-to-5-6/193808)

<div class="topic-metadata">

**Author:** [@tomsk](https://discuss.elastic.co/u/tomsk)\
**Replies:** 2\
**Last updated:** [August 5, 2019, 2:07pm UTC](https://discuss.elastic.co/t/downgrade-from-6-8-to-5-6/193808 "2019-08-05T14:07:47Z")

</div>

Hello, Elastic 6.8 works great, but because of 3rd party software we have to downgrade to version 5.6, so l wonder how can l downgrade to 5.6 version. Thank you very much

---

## [Red cluster status - nodes restarting and unallocated shards](https://discuss.elastic.co/t/red-cluster-status-nodes-restarting-and-unallocated-shards/193781)

<div class="topic-metadata">

**Author:** [@ngg971](https://discuss.elastic.co/u/ngg971)\
**Replies:** 3\
**Last updated:** [August 5, 2019, 1:53pm UTC](https://discuss.elastic.co/t/red-cluster-status-nodes-restarting-and-unallocated-shards/193781 "2019-08-05T13:53:15Z")

</div>

Hi, A few days ago, my Elastic cluster status turned to red for reasons that are unclear to me. I received several emails over the last 48 hours saying "We restarted a node in your cluster after it ran out of memory.", …

---

## [Trying to import JSON fails](https://discuss.elastic.co/t/trying-to-import-json-fails/193200)

<div class="topic-metadata">

**Author:** [@elasticHT](https://discuss.elastic.co/u/elasticHT)\
**Replies:** 3\
**Last updated:** [August 5, 2019, 1:50pm UTC](https://discuss.elastic.co/t/trying-to-import-json-fails/193200 "2019-08-05T13:50:36Z")

</div>

I'm simply trying to get some data into ES to experiment with. My JSON looks like this (randomly generated names): { "RECORDS":\[ { "fname":"Hyon", "last":"Washko", "addr":"18 Ratliff", "City":"Cabot", "State":"MN" }, {…

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

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