# Elasticsearch

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

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

**Page:** 1567

---

## [Is it possible to "disable" the node without shutting it down completely?](https://discuss.elastic.co/t/is-it-possible-to-disable-the-node-without-shutting-it-down-completely/146351)

<div class="topic-metadata">

**Author:** [@Victor\_S](https://discuss.elastic.co/u/Victor_S)\
**Replies:** 4\
**Last updated:** [August 28, 2018, 3:16pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-the-node-without-shutting-it-down-completely/146351 "2018-08-28T15:16:46Z")

</div>

(and to re-enable it again later without restarting the process?) so the master node will promote replica shards from an another node to primary ones, node\_left timer will be started, and so on?

---

## [Does ES ensure diversity of shards for a set of nodes in a cluster](https://discuss.elastic.co/t/does-es-ensure-diversity-of-shards-for-a-set-of-nodes-in-a-cluster/146133)

<div class="topic-metadata">

**Author:** [@azitabh](https://discuss.elastic.co/u/azitabh)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 2:39pm UTC](https://discuss.elastic.co/t/does-es-ensure-diversity-of-shards-for-a-set-of-nodes-in-a-cluster/146133 "2018-08-28T14:39:50Z")

</div>

I am curious to know the things, apart from shard count, elasticsearch looks at while allocating shards to a node. I am mainly interested in knowing if it tries to maximize the diversity of shards available on any random…

---

## [Errors in Embedded elastic search server](https://discuss.elastic.co/t/errors-in-embedded-elastic-search-server/146368)

<div class="topic-metadata">

**Author:** [@Selvakumar\_Ponnusamy](https://discuss.elastic.co/u/Selvakumar_Ponnusamy)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 2:15pm UTC](https://discuss.elastic.co/t/errors-in-embedded-elastic-search-server/146368 "2018-08-28T14:15:19Z")

</div>

Im trying to run embedded elastic servers for Junit test cases. So I just extended a class ESIntegTestCase. But its not allowing me to run the test case. I use elastic search 6.0.0. My class: import org.elasticsearch.t…

---

## [Large Array Performance Optimization, Resource Costs](https://discuss.elastic.co/t/large-array-performance-optimization-resource-costs/146279)

<div class="topic-metadata">

**Author:** [@tecfu](https://discuss.elastic.co/u/tecfu)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 2:14pm UTC](https://discuss.elastic.co/t/large-array-performance-optimization-resource-costs/146279 "2018-08-28T14:14:04Z")

</div>

I'm interested in discovering how to optimize Elasticsearch. Requirements: \[1\] Using an index that contains 100,000 documents. \[2\] Each document contains 2 fields: "id", "my\_array" \[3\] MATCH a KEYWORD against the "myA…

---

## [Elasticsearch 5.6.5 upgrade to 6.4.0 Node will not start “failed to read local state”](https://discuss.elastic.co/t/elasticsearch-5-6-5-upgrade-to-6-4-0-node-will-not-start-failed-to-read-local-state/146363)

<div class="topic-metadata">

**Author:** [@rodolfobarbeiro](https://discuss.elastic.co/u/rodolfobarbeiro)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 1:58pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-5-upgrade-to-6-4-0-node-will-not-start-failed-to-read-local-state/146363 "2018-08-28T13:58:24Z")

</div>

Hi, I tried upgrading my Elasticsearch 5.6.5 to 6.4.0 on Centos 7 using the instructions describe here but everytime I start the service it fails with this exception: ... \[2018-08-24T10:16:42,096\]\[INFO \]\[o.e.x.s.a.s.Fi…

---

## [How to reclaim disk space for an index?](https://discuss.elastic.co/t/how-to-reclaim-disk-space-for-an-index/146341)

<div class="topic-metadata">

**Author:** [@tigermarques](https://discuss.elastic.co/u/tigermarques)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 1:45pm UTC](https://discuss.elastic.co/t/how-to-reclaim-disk-space-for-an-index/146341 "2018-08-28T13:45:24Z")

</div>

Hi, I'm starting a project with Elasticsearch (version 6.3.2), and I've got a disk which has a capacity of 100GB. I know that the disk has 40GB of free space, and the rest is occupied by Elasticsearch data (60GB). Howev…

---

## [NodeDisconnectedException in ES](https://discuss.elastic.co/t/nodedisconnectedexception-in-es/146357)

<div class="topic-metadata">

**Author:** [@Ramu\_B](https://discuss.elastic.co/u/Ramu_B)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 1:38pm UTC](https://discuss.elastic.co/t/nodedisconnectedexception-in-es/146357 "2018-08-28T13:38:21Z")

</div>

Hi, while i am running elastic search 6.4 i am getting the following exception, could you please help me to resolve this, while running , bin/nutch index -all 2018-08-28 05:59:25,618 INFO indexer.IndexWriters - Addin…

---

## [\[SQL\] Queries against nested datatypes may be mis-translated](https://discuss.elastic.co/t/sql-queries-against-nested-datatypes-may-be-mis-translated/145180)

<div class="topic-metadata">

**Author:** [@paulcarey](https://discuss.elastic.co/u/paulcarey)\
**Replies:** 7\
**Last updated:** [August 28, 2018, 1:26pm UTC](https://discuss.elastic.co/t/sql-queries-against-nested-datatypes-may-be-mis-translated/145180 "2018-08-28T13:26:35Z")

</div>

Hi Taking the example from Nested datatype and adapting it to avoid using a reserved keyword (group), we have the following setup. DELETE my\_index PUT my\_index { "mappings": { "\_doc": { "properties": { …

---

## [\[SQL\] Return type constraints are overly restrictive](https://discuss.elastic.co/t/sql-return-type-constraints-are-overly-restrictive/145185)

<div class="topic-metadata">

**Author:** [@paulcarey](https://discuss.elastic.co/u/paulcarey)\
**Replies:** 6\
**Last updated:** [August 28, 2018, 1:16pm UTC](https://discuss.elastic.co/t/sql-return-type-constraints-are-overly-restrictive/145185 "2018-08-28T13:16:10Z")

</div>

Hi Executing the following DELETE nested\_numbers POST /nested\_numbers/\_doc {"numbers": \[{"n": 1}, {"n": 2}\]} POST /\_xpack/sql?format=json { "query": "select \* from nested\_numbers" } will fail with an sql\_illegal\_arg…

---

## [SugarCRM 8.0.1 not recognizing increase in limit of total fields in Elasticsearch 5.6.9 index](https://discuss.elastic.co/t/sugarcrm-8-0-1-not-recognizing-increase-in-limit-of-total-fields-in-elasticsearch-5-6-9-index/142638)

<div class="topic-metadata">

**Author:** [@ifiredupufiredup](https://discuss.elastic.co/u/ifiredupufiredup)\
**Replies:** 5\
**Last updated:** [August 28, 2018, 1:04pm UTC](https://discuss.elastic.co/t/sugarcrm-8-0-1-not-recognizing-increase-in-limit-of-total-fields-in-elasticsearch-5-6-9-index/142638 "2018-08-28T13:04:59Z")

</div>

Here's a quick summary of the StackOverflow question: After the PUT request to increase the total field limit of my index, is there anything I have to do to make SugarCRM 8.0.1 recognize this change? In addition to w…

---

## [Elastic search cluster backup](https://discuss.elastic.co/t/elastic-search-cluster-backup/146345)

<div class="topic-metadata">

**Author:** [@ashok9177](https://discuss.elastic.co/u/ashok9177)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 12:59pm UTC](https://discuss.elastic.co/t/elastic-search-cluster-backup/146345 "2018-08-28T12:59:33Z")

</div>

I have a set up with 2 elasticsearch nodes, my question is... if I take a snapshot, does that snapshot contain data from both nodes? , can anyone suggest me how to take backup on elasticsearch cluster ?

---

## [How to find content from a url in kibana](https://discuss.elastic.co/t/how-to-find-content-from-a-url-in-kibana/146326)

<div class="topic-metadata">

**Author:** [@Kaushik\_Kalita](https://discuss.elastic.co/u/Kaushik_Kalita)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 11:16am UTC](https://discuss.elastic.co/t/how-to-find-content-from-a-url-in-kibana/146326 "2018-08-28T11:16:03Z")

</div>

Hi All, Can any one help me on this. Url: http://google.com:8080/struts2-showcase/%24{(111%2B111)}/actionChain1.action how to write a query to find 111%2B111 in the kibana logs

---

## [Update 6.4.0 Elasticsearch fails to start](https://discuss.elastic.co/t/update-6-4-0-elasticsearch-fails-to-start/146332)

<div class="topic-metadata">

**Author:** [@Hampel](https://discuss.elastic.co/u/Hampel)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 11:55am UTC](https://discuss.elastic.co/t/update-6-4-0-elasticsearch-fails-to-start/146332 "2018-08-28T11:55:39Z")

</div>

Hey guys, after the update to 6.4.0 the elasticsearch will not start... because: Could not load plugin descriptor for plugin directory \[x-pack\] Question: in 6.4 is x-pack automaticly installed or? do we need to do fur…

---

## [Hot-Warm Architecture - Storage Handling](https://discuss.elastic.co/t/hot-warm-architecture-storage-handling/146305)

<div class="topic-metadata">

**Author:** [@jorj](https://discuss.elastic.co/u/jorj)\
**Replies:** 3\
**Last updated:** [August 28, 2018, 10:37am UTC](https://discuss.elastic.co/t/hot-warm-architecture-storage-handling/146305 "2018-08-28T10:37:33Z")

</div>

Hello there I am making a HOT-WARM Elastic Search Design for a logging solution requirement. My total Storage calculations is: 180 TB for the below requirement 7200 EPS ingestion 350 Bytes / event (average Size) 1x R…

---

## [Elasticsearch engine service down - possible memory issue?](https://discuss.elastic.co/t/elasticsearch-engine-service-down-possible-memory-issue/146318)

<div class="topic-metadata">

**Author:** [@Simon\_Bryant](https://discuss.elastic.co/u/Simon_Bryant)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 10:27am UTC](https://discuss.elastic.co/t/elasticsearch-engine-service-down-possible-memory-issue/146318 "2018-08-28T10:27:47Z")

</div>

Hi all, Wondering if you could help me. I was told to contact the elasticsearch support team from our web host as we've been having some difficulties with our elasticsearch. I thought this might be something the communi…

---

## [Can multiple reindex command be triggered simultaneously](https://discuss.elastic.co/t/can-multiple-reindex-command-be-triggered-simultaneously/146317)

<div class="topic-metadata">

**Author:** [@George\_Cherian](https://discuss.elastic.co/u/George_Cherian)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 10:19am UTC](https://discuss.elastic.co/t/can-multiple-reindex-command-be-triggered-simultaneously/146317 "2018-08-28T10:19:56Z")

</div>

Hi I need to reindex my production data 20- 30 indexes with each index having data around 5 GB. Can I trigger multiple reindex command to reindex the various indices ?

---

## [X-Pack Index Template conflict with existing templates. Inconsistent overrides](https://discuss.elastic.co/t/x-pack-index-template-conflict-with-existing-templates-inconsistent-overrides/146162)

<div class="topic-metadata">

**Author:** [@cdekker](https://discuss.elastic.co/u/cdekker)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 10:09am UTC](https://discuss.elastic.co/t/x-pack-index-template-conflict-with-existing-templates-inconsistent-overrides/146162 "2018-08-28T10:09:12Z")

</div>

Almost all index templates that get generated by installing X-Pack have order:0 and the following settings: "settings": { "index": { "number\_of\_shards": "1", "auto\_expand\_replicas": "0-1", "numbe…

---

## [Search as like in elaticsearch with vietnamese](https://discuss.elastic.co/t/search-as-like-in-elaticsearch-with-vietnamese/146293)

<div class="topic-metadata">

**Author:** [@PhamVanTruong](https://discuss.elastic.co/u/PhamVanTruong)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 9:47am UTC](https://discuss.elastic.co/t/search-as-like-in-elaticsearch-with-vietnamese/146293 "2018-08-28T09:47:21Z")

</div>

I use package elaticsearch in laravel framework: I has task search name customer when i enter name into input search. I want search as like in elacticsearch. I want typing "an" will return "Tân", "Ánh","Bằng",.. th…

---

## [Maximum size for index limit size](https://discuss.elastic.co/t/maximum-size-for-index-limit-size/146020)

<div class="topic-metadata">

**Author:** [@deepsing](https://discuss.elastic.co/u/deepsing)\
**Replies:** 6\
**Last updated:** [August 28, 2018, 9:38am UTC](https://discuss.elastic.co/t/maximum-size-for-index-limit-size/146020 "2018-08-28T09:38:36Z")

</div>

Hi Elastic search Team I was facing below issue: java.lang.IllegalArgumentException: Limit of total fields \[1000\] in index \[event-2018.08.24\] has been exceeded at org.elasticsearch.index.mapper.MapperService.checkTota…

---

## [Define cluster and data replication in Elasticsearch 6.4](https://discuss.elastic.co/t/define-cluster-and-data-replication-in-elasticsearch-6-4/146056)

<div class="topic-metadata">

**Author:** [@kolli\_dilip](https://discuss.elastic.co/u/kolli_dilip)\
**Replies:** 3\
**Last updated:** [August 28, 2018, 9:09am UTC](https://discuss.elastic.co/t/define-cluster-and-data-replication-in-elasticsearch-6-4/146056 "2018-08-28T09:09:04Z")

</div>

Hi Can some one suggest me how to define the cluster details (ip's) and the data replication values in the new elasticsearch.yml, the below is my present yml ---------------------------------- Cluster -----------------…

---

## [I could not fuzzy search in Elasticsearch](https://discuss.elastic.co/t/i-could-not-fuzzy-search-in-elasticsearch/146127)

<div class="topic-metadata">

**Author:** [@ercancavusoglu](https://discuss.elastic.co/u/ercancavusoglu)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 8:25am UTC](https://discuss.elastic.co/t/i-could-not-fuzzy-search-in-elasticsearch/146127 "2018-08-28T08:25:19Z")

</div>

I want to autocomplete service via Elasticsearch.I need a "did you mean" of google style. I researched very much how can I to do. I was find a fuzzy search. When I entered to "Alman", I want to Almanya only. But I recei…

---

## [{"error":"Incorrect HTTP method for uri \[/\_plugin/HQ\] and method \[GET\], allowed: \[POST\]","status":405}](https://discuss.elastic.co/t/error-incorrect-http-method-for-uri-plugin-hq-and-method-get-allowed-post-status-405/146288)

<div class="topic-metadata">

**Author:** [@anwarshahtarn](https://discuss.elastic.co/u/anwarshahtarn)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 8:18am UTC](https://discuss.elastic.co/t/error-incorrect-http-method-for-uri-plugin-hq-and-method-get-allowed-post-status-405/146288 "2018-08-28T08:18:17Z")

</div>

How to install plugin HQ

---

## [Distance calculation](https://discuss.elastic.co/t/distance-calculation/146060)

<div class="topic-metadata">

**Author:** [@suresh1](https://discuss.elastic.co/u/suresh1)\
**Replies:** 4\
**Last updated:** [August 28, 2018, 7:48am UTC](https://discuss.elastic.co/t/distance-calculation/146060 "2018-08-28T07:48:01Z")

</div>

Hi, I am trying to calculate the distance please find the below PUT my\_index { "mappings": { "doc": { "properties": { "location": { "type": "geo\_point" } } } } POST my\_index/doc { "location": \[ { "lat":…

---

## [Elasticsearch cluster status is yellow. Allocate missing replica shards](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-yellow-allocate-missing-replica-shards/146146)

<div class="topic-metadata">

**Author:** [@Dave21854207](https://discuss.elastic.co/u/Dave21854207)\
**Replies:** 4\
**Last updated:** [August 28, 2018, 7:40am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-status-is-yellow-allocate-missing-replica-shards/146146 "2018-08-28T07:40:37Z")

</div>

Hi, Can i get some help with this error?

---

## [How can i get only index name from response](https://discuss.elastic.co/t/how-can-i-get-only-index-name-from-response/146280)

<div class="topic-metadata">

**Author:** [@BleedCode](https://discuss.elastic.co/u/BleedCode)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 7:19am UTC](https://discuss.elastic.co/t/how-can-i-get-only-index-name-from-response/146280 "2018-08-28T07:19:06Z")

</div>

How can i get only index name from response generated by calling \_cat/indices using java. Using EntityUtils i am getting the response as string which gives me information in the way how it looks when called using CURL co…

---

## [How to expand query terms using ontology](https://discuss.elastic.co/t/how-to-expand-query-terms-using-ontology/146267)

<div class="topic-metadata">

**Author:** [@amaljose123](https://discuss.elastic.co/u/amaljose123)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 7:08am UTC](https://discuss.elastic.co/t/how-to-expand-query-terms-using-ontology/146267 "2018-08-28T07:08:33Z")

</div>

i am a beginner in elasticsearch , i am searching for a way , to expand the search terms those provided by a user with the hierarchical information i got from one ontology file . is there any utilities for doing the sa…

---

## [Joining queries](https://discuss.elastic.co/t/joining-queries/146272)

<div class="topic-metadata">

**Author:** [@amit.patra](https://discuss.elastic.co/u/amit.patra)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 6:59am UTC](https://discuss.elastic.co/t/joining-queries/146272 "2018-08-28T06:59:03Z")

</div>

Hi, I know that performing full SQL-style joins in a distributed system like Elasticsearch is prohibitively expensive. So I am giving an example of from RDBMS concept. Can you please suggest that what will be the eff…

---

## [How can curator delete empty indices?](https://discuss.elastic.co/t/how-can-curator-delete-empty-indices/145874)

<div class="topic-metadata">

**Author:** [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Replies:** 7\
**Last updated:** [August 28, 2018, 6:17am UTC](https://discuss.elastic.co/t/how-can-curator-delete-empty-indices/145874 "2018-08-28T06:17:52Z")

</div>

Hi, We are using rollover with curator with max\_age + max\_size. In our automated index creation process we create multiple indices (think environments like like, dev, test, pre-prod etc ) BUT all of these indices are no…

---

## [Date range query using year](https://discuss.elastic.co/t/date-range-query-using-year/146160)

<div class="topic-metadata">

**Author:** [@prasad.ram1431](https://discuss.elastic.co/u/prasad.ram1431)\
**Replies:** 3\
**Last updated:** [August 28, 2018, 6:03am UTC](https://discuss.elastic.co/t/date-range-query-using-year/146160 "2018-08-28T06:03:39Z")

</div>

Hi All, I need a date range query for which input will be only year, but in the response, it should contain all the documents within that year like. Find the below example, "startDate": { "type": "date", "format": …

---

## [Bulk Index newline termination error from Elastic cloud](https://discuss.elastic.co/t/bulk-index-newline-termination-error-from-elastic-cloud/146247)

<div class="topic-metadata">

**Author:** [@Martin\_Arndt](https://discuss.elastic.co/u/Martin_Arndt)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 5:34am UTC](https://discuss.elastic.co/t/bulk-index-newline-termination-error-from-elastic-cloud/146247 "2018-08-28T05:34:45Z")

</div>

I am sending content-Type/x-ndjson from AWS Nodejs lambda functions to elastic cloud cluster using https and JSON.Stringify to create message that looks like this "{ "index" : { "\_index" : "requests-2018-08", "\_type" : …

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

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