# Elasticsearch

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

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

**Page:** 1468

---

## [Migrating Elasticsearch data from single node to a Elasticsearch-cluster](https://discuss.elastic.co/t/migrating-elasticsearch-data-from-single-node-to-a-elasticsearch-cluster/157890)

<div class="topic-metadata">

**Author:** [@Punith](https://discuss.elastic.co/u/Punith)\
**Replies:** 1\
**Last updated:** [November 30, 2018, 10:31am UTC](https://discuss.elastic.co/t/migrating-elasticsearch-data-from-single-node-to-a-elasticsearch-cluster/157890 "2018-11-30T10:31:58Z")

</div>

Hi, I have a single node elasticsearch in kubernetes having pvc storage of 50GB.Elasticsearch version being 6.4.2 .Since Resizing of pvc cannot be done in kubernetes i have created a kubernetes elastic cluster using sta…

---

## [How to get DocCount for all terms?](https://discuss.elastic.co/t/how-to-get-doccount-for-all-terms/157856)

<div class="topic-metadata">

**Author:** [@Xiaofei\_Sun](https://discuss.elastic.co/u/Xiaofei_Sun)\
**Replies:** 1\
**Last updated:** [November 30, 2018, 10:28am UTC](https://discuss.elastic.co/t/how-to-get-doccount-for-all-terms/157856 "2018-11-30T10:28:34Z")

</div>

Hi everyone, I really want to know how to get document count for all terms. That is, for every term, I want to know how many documents contain it. I'm using term aggregation now but it seems that it's not a good idea b…

---

## [What are the disadvantages of having 6 level nesting in index?](https://discuss.elastic.co/t/what-are-the-disadvantages-of-having-6-level-nesting-in-index/158865)

<div class="topic-metadata">

**Author:** [@SankalpSood](https://discuss.elastic.co/u/SankalpSood)\
**Replies:** 3\
**Last updated:** [November 30, 2018, 9:32am UTC](https://discuss.elastic.co/t/what-are-the-disadvantages-of-having-6-level-nesting-in-index/158865 "2018-11-30T09:32:22Z")

</div>

Need to document cons of having 6 level nesting in my index . How it can effect my queries and response time?. And How it can effect the shards and response level?

---

## [Provisioning the cluster using Rally](https://discuss.elastic.co/t/provisioning-the-cluster-using-rally/157845)

<div class="topic-metadata">

**Author:** [@hym](https://discuss.elastic.co/u/hym)\
**Replies:** 1\
**Last updated:** [November 30, 2018, 9:21am UTC](https://discuss.elastic.co/t/provisioning-the-cluster-using-rally/157845 "2018-11-30T09:21:37Z")

</div>

Hi all, Is there any way to ask ESRally to establish the cluster (cloud or on-prem) of more than one node? Thanks in advance

---

## [Reindex from 2.4 to 6.5 failed on boolean type](https://discuss.elastic.co/t/reindex-from-2-4-to-6-5-failed-on-boolean-type/158846)

<div class="topic-metadata">

**Author:** [@cynosureabu](https://discuss.elastic.co/u/cynosureabu)\
**Replies:** 2\
**Last updated:** [November 30, 2018, 8:26am UTC](https://discuss.elastic.co/t/reindex-from-2-4-to-6-5-failed-on-boolean-type/158846 "2018-11-30T08:26:16Z")

</div>

In 2.4, a Boolean type supports 0|1|true|false, but seems 6.5 does not support 0|1 any more. So my reindex failed with error "failed to parse field \[claimed\] of type \[boolean\]" reason":"Current token (VALUE\_NUMBER\_INT…

---

## [Utilization all path.data in elasticsearch](https://discuss.elastic.co/t/utilization-all-path-data-in-elasticsearch/158699)

<div class="topic-metadata">

**Author:** [@unix196](https://discuss.elastic.co/u/unix196)\
**Replies:** 2\
**Last updated:** [November 30, 2018, 8:16am UTC](https://discuss.elastic.co/t/utilization-all-path-data-in-elasticsearch/158699 "2018-11-30T08:16:59Z")

</div>

Is it impossible? We have 3 elasticsearch servers with similar config: path: data: - /data/1/elasticsearch - /data/2/elasticsearch - /data/3/elasticsearch - /data/4/elasticsearch df -h: /dev/sda4 …

---

## [Es search is not working for a specific field](https://discuss.elastic.co/t/es-search-is-not-working-for-a-specific-field/158850)

<div class="topic-metadata">

**Author:** [@arunvinodh](https://discuss.elastic.co/u/arunvinodh)\
**Replies:** 5\
**Last updated:** [November 30, 2018, 7:51am UTC](https://discuss.elastic.co/t/es-search-is-not-working-for-a-specific-field/158850 "2018-11-30T07:51:33Z")

</div>

Hi Team, I am facing an issue in elastic search, I have 10 records in elastic search and while searching a field "URL" I am not able to get the relevant/required results for one field and for the other fields it is sh…

---

## [Best way to store 2 data sources with 1 linked field (document\_type OR new index)?](https://discuss.elastic.co/t/best-way-to-store-2-data-sources-with-1-linked-field-document-type-or-new-index/158661)

<div class="topic-metadata">

**Author:** [@nandrik](https://discuss.elastic.co/u/nandrik)\
**Replies:** 11\
**Last updated:** [November 30, 2018, 7:25am UTC](https://discuss.elastic.co/t/best-way-to-store-2-data-sources-with-1-linked-field-document-type-or-new-index/158661 "2018-11-30T07:25:47Z")

</div>

Hi, I've read the blog post on Index Vs. Type but I find it hard to understand what's better in my case. I have a certain application's log files and a great majority of the log lines mention a few remote IP addresses …

---

## [How to Delete (Hard Delete) document from Elasticsearch Disk?](https://discuss.elastic.co/t/how-to-delete-hard-delete-document-from-elasticsearch-disk/158351)

<div class="topic-metadata">

**Author:** [@HARSHAL\_CHAUDHARI](https://discuss.elastic.co/u/HARSHAL_CHAUDHARI)\
**Replies:** 10\
**Last updated:** [November 30, 2018, 6:38am UTC](https://discuss.elastic.co/t/how-to-delete-hard-delete-document-from-elasticsearch-disk/158351 "2018-11-30T06:38:55Z")

</div>

Hi, I am trying to delete a document from elastic search (using .Net NEST library), but a document is not deleted from a segment, just marked as deleted. (does not free the disk space.) Could you please let us know how…

---

## [Caused by: java.lang.IllegalStateException: jar hell!](https://discuss.elastic.co/t/caused-by-java-lang-illegalstateexception-jar-hell/158748)

<div class="topic-metadata">

**Author:** [@afeef1915](https://discuss.elastic.co/u/afeef1915)\
**Replies:** 1\
**Last updated:** [November 30, 2018, 6:15am UTC](https://discuss.elastic.co/t/caused-by-java-lang-illegalstateexception-jar-hell/158748 "2018-11-30T06:15:45Z")

</div>

After Installing Pom.xml of High Level Client i was not able to start elastic search in local machine. i tried to run localhost:9200 it's giving error Caused by: java.lang.IllegalStateException: jar hell! class: org…

---

## [How to sync elasticsearch in 2 diffrent data centers](https://discuss.elastic.co/t/how-to-sync-elasticsearch-in-2-diffrent-data-centers/158836)

<div class="topic-metadata">

**Author:** [@rmadoori](https://discuss.elastic.co/u/rmadoori)\
**Replies:** 1\
**Last updated:** [November 30, 2018, 2:55am UTC](https://discuss.elastic.co/t/how-to-sync-elasticsearch-in-2-diffrent-data-centers/158836 "2018-11-30T02:55:36Z")

</div>

Hi, We are planning to have 2 elasticsearch cluster in 2 different data centers. How do we keep both the clusters in sync. elastic version: 6.3.2 Thanks Rajesh

---

## [Elasticsearch cpu/load high with search thread pool queues high](https://discuss.elastic.co/t/elasticsearch-cpu-load-high-with-search-thread-pool-queues-high/158264)

<div class="topic-metadata">

**Author:** [@orivera](https://discuss.elastic.co/u/orivera)\
**Replies:** 4\
**Last updated:** [November 30, 2018, 1:54am UTC](https://discuss.elastic.co/t/elasticsearch-cpu-load-high-with-search-thread-pool-queues-high/158264 "2018-11-30T01:54:46Z")

</div>

Elasticsearch cluster queues spike constanly, cpu/load increasing and mostly looking for advice on optimization, not looking for a single answer though. Main indices constantly being updated (bulk) with 300s refresh int…

---

## [How to highlight stopwords only on an exact phrase match?](https://discuss.elastic.co/t/how-to-highlight-stopwords-only-on-an-exact-phrase-match/158835)

<div class="topic-metadata">

**Author:** [@Ying\_Wang](https://discuss.elastic.co/u/Ying_Wang)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 10:36pm UTC](https://discuss.elastic.co/t/how-to-highlight-stopwords-only-on-an-exact-phrase-match/158835 "2018-11-29T22:36:29Z")

</div>

Is it possible to configure Elasticsearch to highlight stopwords in a phrase, but not to highlight stopwords which occur alone? For example, I want to highlight "the lord of the rings", "rings", or "lord". But I don't w…

---

## [No interface named 'gce' when trying to setup passwords](https://discuss.elastic.co/t/no-interface-named-gce-when-trying-to-setup-passwords/158818)

<div class="topic-metadata">

**Author:** [@Brieuc\_Schaff](https://discuss.elastic.co/u/Brieuc_Schaff)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 8:31pm UTC](https://discuss.elastic.co/t/no-interface-named-gce-when-trying-to-setup-passwords/158818 "2018-11-29T20:31:25Z")

</div>

Hi, Trying to set up Elastic 6.5.1 on Compute Engine. I did previously install 6.2.x without issue on another Compute Engine VM, but now I'm facing an issue with GCE settings. I did install discovery-gce plugin which s…

---

## [Elasticsearch repository-s3 plugin doesn't work](https://discuss.elastic.co/t/elasticsearch-repository-s3-plugin-doesnt-work/158797)

<div class="topic-metadata">

**Author:** [@Vetal](https://discuss.elastic.co/u/Vetal)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 8:28pm UTC](https://discuss.elastic.co/t/elasticsearch-repository-s3-plugin-doesnt-work/158797 "2018-11-29T20:28:26Z")

</div>

hi guys, i have ES cluster of 3 nodes, and when i am trying to register repository for my snapshots via curl command - i get empty server reply from server, and elasticsearch service ends up failed and disconnected from…

---

## [Elstaic search data node fails with \[Too many errors, abort\]](https://discuss.elastic.co/t/elstaic-search-data-node-fails-with-too-many-errors-abort/158814)

<div class="topic-metadata">

**Author:** [@rmadoori](https://discuss.elastic.co/u/rmadoori)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 7:34pm UTC](https://discuss.elastic.co/t/elstaic-search-data-node-fails-with-too-many-errors-abort/158814 "2018-11-29T19:34:35Z")

</div>

Hi, I have been running elatsicsearch 6.3.2 cluster with basic license. I have been facing issues with data nodes failing due to below errors \`## A fatal error has been detected by the Java Runtime Environment: SIGS…

---

## [Allocation awareness seems to prefer local shards even when preferred node is at 100% CPU](https://discuss.elastic.co/t/allocation-awareness-seems-to-prefer-local-shards-even-when-preferred-node-is-at-100-cpu/158698)

<div class="topic-metadata">

**Author:** [@gnilchee](https://discuss.elastic.co/u/gnilchee)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 6:29pm UTC](https://discuss.elastic.co/t/allocation-awareness-seems-to-prefer-local-shards-even-when-preferred-node-is-at-100-cpu/158698 "2018-11-29T18:29:31Z")

</div>

Setup: We have a 6 node Elasticsearch 5.2.2 cluster with 3 dedicated masters and 3 data nodes evenly spread across 3 AWS availability zones (see details below). Our indexes have the default 5 primary shards all around 1…

---

## [Elasticsearch is taking too long between a BulkImport and another](https://discuss.elastic.co/t/elasticsearch-is-taking-too-long-between-a-bulkimport-and-another/158720)

<div class="topic-metadata">

**Author:** [@andreatera](https://discuss.elastic.co/u/andreatera)\
**Replies:** 9\
**Last updated:** [November 29, 2018, 4:53pm UTC](https://discuss.elastic.co/t/elasticsearch-is-taking-too-long-between-a-bulkimport-and-another/158720 "2018-11-29T16:53:58Z")

</div>

Hi all, we have a microservice application that is getting data from Kafka and importing them into Elasticsearch using BulkImport operation. The microservice application is running in docker using docker-compose and s…

---

## [Which xpack/elasticsearch priviliges to use HEAD?](https://discuss.elastic.co/t/which-xpack-elasticsearch-priviliges-to-use-head/157741)

<div class="topic-metadata">

**Author:** [@cbarton](https://discuss.elastic.co/u/cbarton)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 3:25pm UTC](https://discuss.elastic.co/t/which-xpack-elasticsearch-priviliges-to-use-head/157741 "2018-11-29T15:25:00Z")

</div>

I have a user that's running some 3rd party code utilizing the python client. It looks like it tries to do a HEAD request on a non-existent index (checking that it isn't there before creating it, I'm told) but instead o…

---

## [Install elasticsearch 6.5.1 on Debian 9 fails with sudo dpkg -i elasticsearch-6.5.1.deb](https://discuss.elastic.co/t/install-elasticsearch-6-5-1-on-debian-9-fails-with-sudo-dpkg-i-elasticsearch-6-5-1-deb/158781)

<div class="topic-metadata">

**Author:** [@Stanislas](https://discuss.elastic.co/u/Stanislas)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 3:04pm UTC](https://discuss.elastic.co/t/install-elasticsearch-6-5-1-on-debian-9-fails-with-sudo-dpkg-i-elasticsearch-6-5-1-deb/158781 "2018-11-29T15:04:46Z")

</div>

$ sudo dpkg -i elasticsearch-6.5.1.deb (Reading database ... 59595 files and directories currently installed.) Preparing to unpack elasticsearch-6.5.1.deb ... dpkg: error processing archive elasticsearch-6.5.1.deb (--…

---

## [How can I fix document version issues / conflicts](https://discuss.elastic.co/t/how-can-i-fix-document-version-issues-conflicts/158617)

<div class="topic-metadata">

**Author:** [@afshinmoshrefi](https://discuss.elastic.co/u/afshinmoshrefi)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 2:54pm UTC](https://discuss.elastic.co/t/how-can-i-fix-document-version-issues-conflicts/158617 "2018-11-29T14:54:26Z")

</div>

I made a mistake when creating an index by doing an update before the last update was finished. The consequence is that I have version conflicts when trying to do updates across the whole index. How can I reset the doc…

---

## [Error while reindexing from 1.7 to 2.4](https://discuss.elastic.co/t/error-while-reindexing-from-1-7-to-2-4/158598)

<div class="topic-metadata">

**Author:** [@sylvainb](https://discuss.elastic.co/u/sylvainb)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 2:33pm UTC](https://discuss.elastic.co/t/error-while-reindexing-from-1-7-to-2-4/158598 "2018-11-29T14:33:36Z")

</div>

Hi there, I'm migrating an elasticsearch instance from 1.7 to 2.4. When trying to reindex my documents, after having upgraded my server, I got the following error: curl -XPOST "$ES\_IP:9200/\_reindex?pretty" 2\>/dev/null…

---

## [Retrieving specific amount of nested documents](https://discuss.elastic.co/t/retrieving-specific-amount-of-nested-documents/158306)

<div class="topic-metadata">

**Author:** [@Slade](https://discuss.elastic.co/u/Slade)\
**Replies:** 1\
**Last updated:** [November 29, 2018, 2:27pm UTC](https://discuss.elastic.co/t/retrieving-specific-amount-of-nested-documents/158306 "2018-11-29T14:27:00Z")

</div>

Say I have an index with mapping: PUT /item { "mappings": { "\_doc" : { "properties" : { "name": { "type" : "keyword" }, "supplierName": { "type" : "keyword" }, …

---

## [Error starting ES](https://discuss.elastic.co/t/error-starting-es/158774)

<div class="topic-metadata">

**Author:** [@sbampa](https://discuss.elastic.co/u/sbampa)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 2:15pm UTC](https://discuss.elastic.co/t/error-starting-es/158774 "2018-11-29T14:15:50Z")

</div>

I'm trying to start ES on solaris 11. With 6.2.2 version, no problem after some tweak, but with 6.5.1 version, i receive the following error: Unrecognized option: -d Error: Could not create the Java Virtual Machine. E…

---

## [Can't connect to localhost:9200](https://discuss.elastic.co/t/cant-connect-to-localhost-9200/158744)

<div class="topic-metadata">

**Author:** [@tomthecat](https://discuss.elastic.co/u/tomthecat)\
**Replies:** 4\
**Last updated:** [November 29, 2018, 2:07pm UTC](https://discuss.elastic.co/t/cant-connect-to-localhost-9200/158744 "2018-11-29T14:07:21Z")

</div>

I hope someone could point out a solution for my problem, I am at my wit's end. I am running a VPS (CentOS 7.5, WHM) with elasticsearch.noarch installed from the repo (6.5.1-1) and the latest ingest-attachment-plugin. T…

---

## [Stopping elasticsearch service causing app crash](https://discuss.elastic.co/t/stopping-elasticsearch-service-causing-app-crash/158769)

<div class="topic-metadata">

**Author:** [@PavolHocko](https://discuss.elastic.co/u/PavolHocko)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 1:39pm UTC](https://discuss.elastic.co/t/stopping-elasticsearch-service-causing-app-crash/158769 "2018-11-29T13:39:07Z")

</div>

Hi.. I have a problem when I am stopping ES service. I install service with "elsticsearch-service.bat install". When I stop this service in Task Manager its seems to be stooped but after while I get error. There is nothi…

---

## [Low index troughput during simultaneous indices creation](https://discuss.elastic.co/t/low-index-troughput-during-simultaneous-indices-creation/158745)

<div class="topic-metadata">

**Author:** [@alan.santos](https://discuss.elastic.co/u/alan.santos)\
**Replies:** 3\
**Last updated:** [November 29, 2018, 12:54pm UTC](https://discuss.elastic.co/t/low-index-troughput-during-simultaneous-indices-creation/158745 "2018-11-29T12:54:22Z")

</div>

Hi all, My scenario: Kafka-input 5.1.11 LS 5.6 ES 2.2 Number of topics: 110 (and increasing) Number of shard per index (original data): 2 Number of shard per index (modifed data): 1 The LS consumes data from vari…

---

## [Setup mail trigger while error in kiaban log](https://discuss.elastic.co/t/setup-mail-trigger-while-error-in-kiaban-log/158761)

<div class="topic-metadata">

**Author:** [@Ram\_Sharma](https://discuss.elastic.co/u/Ram_Sharma)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 12:57pm UTC](https://discuss.elastic.co/t/setup-mail-trigger-while-error-in-kiaban-log/158761 "2018-11-29T12:57:36Z")

</div>

Hi Guys , I wan to know how to setup a email while there is error triggers in logs.

---

## [Filtering based on results of aggregations is not supported](https://discuss.elastic.co/t/filtering-based-on-results-of-aggregations-is-not-supported/158760)

<div class="topic-metadata">

**Author:** [@cezet](https://discuss.elastic.co/u/cezet)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 12:43pm UTC](https://discuss.elastic.co/t/filtering-based-on-results-of-aggregations-is-not-supported/158760 "2018-11-29T12:43:33Z")

</div>

Hi! in 2014 there was a question regarding filtering over aggregation: the answer was: Filtering based on results of aggregations is not supported unfortunately Whether filtreing based on results of aggregation possi…

---

## [The request for this panel failed : metricbeat-6.5.1-2018.11.29](https://discuss.elastic.co/t/the-request-for-this-panel-failed-metricbeat-6-5-1-2018-11-29/158757)

<div class="topic-metadata">

**Author:** [@Karthick\_Nagarajan](https://discuss.elastic.co/u/Karthick_Nagarajan)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 12:32pm UTC](https://discuss.elastic.co/t/the-request-for-this-panel-failed-metricbeat-6-5-1-2018-11-29/158757 "2018-11-29T12:32:53Z")

</div>

\[2018-11-29T12:31:03,568\]\[DEBUG\]\[o.e.a.s.TransportSearchAction\] \[82Ll0tA\] All shards failed for phase: \[query\] org.elasticsearch.ElasticsearchException$1: Fielddata is disabled on text fields by default. Set fielddata=tr…

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

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