# Elasticsearch

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

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

**Page:** 1654

---

## [Replace a node as part of a planned upgrade](https://discuss.elastic.co/t/replace-a-node-as-part-of-a-planned-upgrade/135934)

<div class="topic-metadata">

**Author:** [@Ant](https://discuss.elastic.co/u/Ant)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 1:36pm UTC](https://discuss.elastic.co/t/replace-a-node-as-part-of-a-planned-upgrade/135934 "2018-06-14T13:36:58Z")

</div>

Hi, So I've got a cluster with 3 nodes running 5.6.6. I run 1 replica shard and have passed 66% disk use on all nodes. I have no capacity to increase storage on the existing nodes so plan to renew the hardware for boxe…

---

## [Elastic TCP node: NoNodeAvailableException](https://discuss.elastic.co/t/elastic-tcp-node-nonodeavailableexception/135933)

<div class="topic-metadata">

**Author:** [@Lorenzo\_Prinsloo](https://discuss.elastic.co/u/Lorenzo_Prinsloo)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 1:36pm UTC](https://discuss.elastic.co/t/elastic-tcp-node-nonodeavailableexception/135933 "2018-06-14T13:36:20Z")

</div>

Some background Im using TCP client on Scala to connect to my elasticsearch container on docker but im having issues with the client not finding the configured nodes. Im used kitematic to setup the official docker image…

---

## [Score with ngram filter](https://discuss.elastic.co/t/score-with-ngram-filter/135912)

<div class="topic-metadata">

**Author:** [@Francisco\_Fernandez](https://discuss.elastic.co/u/Francisco_Fernandez)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 1:28pm UTC](https://discuss.elastic.co/t/score-with-ngram-filter/135912 "2018-06-14T13:28:37Z")

</div>

Hi, I have a problem with the score in a search. I have two elements, for example: "London Barking" and "Derry / Londonderry". When I execute this query: "query": { "match": { "name": { …

---

## [Elasticsearch multi path and RAID-0](https://discuss.elastic.co/t/elasticsearch-multi-path-and-raid-0/135254)

<div class="topic-metadata">

**Author:** [@svarup](https://discuss.elastic.co/u/svarup)\
**Replies:** 5\
**Last updated:** [June 14, 2018, 1:11pm UTC](https://discuss.elastic.co/t/elasticsearch-multi-path-and-raid-0/135254 "2018-06-14T13:11:17Z")

</div>

ElasticSearch give one option to add multiple data path so my question is, is it beneficial to give multiple path that are configured in RAID-0 Ex: path.data: /mnt/md0, /mnt/md1 are the path we use in elasticsearch.yml…

---

## [How do I conditionally reindex values (structured arrays) as nested types?](https://discuss.elastic.co/t/how-do-i-conditionally-reindex-values-structured-arrays-as-nested-types/135823)

<div class="topic-metadata">

**Author:** [@RyanT](https://discuss.elastic.co/u/RyanT)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 3:20am UTC](https://discuss.elastic.co/t/how-do-i-conditionally-reindex-values-structured-arrays-as-nested-types/135823 "2018-06-14T03:20:09Z")

</div>

Hello, I'm hoping to run Elasticsearch aggregation functions however my dataset no longer fits the index/mapping I originally implemented. I originally only had a single data dimension, however now need to handle 2D data…

---

## [Fuzzy options on CompletionSuggestionBuilder - migration from 2.5 -\> 5.6](https://discuss.elastic.co/t/fuzzy-options-on-completionsuggestionbuilder-migration-from-2-5-5-6/135913)

<div class="topic-metadata">

**Author:** [@Tomek\_Kurek](https://discuss.elastic.co/u/Tomek_Kurek)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 12:27pm UTC](https://discuss.elastic.co/t/fuzzy-options-on-completionsuggestionbuilder-migration-from-2-5-5-6/135913 "2018-06-14T12:27:27Z")

</div>

Hi everyone, I am trying migrate es from version 2.4 to 5.6 and I have problem with understanding fuzzy options in CompletionSuggestionBuilder. Before upgrade we used api in the way CompletionSuggestionFuzzyBuilder(su…

---

## [ES version 6.3. IOException: listener timeout after waiting for \[60000\] ms](https://discuss.elastic.co/t/es-version-6-3-ioexception-listener-timeout-after-waiting-for-60000-ms/135899)

<div class="topic-metadata">

**Author:** [@porunov](https://discuss.elastic.co/u/porunov)\
**Replies:** 5\
**Last updated:** [June 14, 2018, 12:31pm UTC](https://discuss.elastic.co/t/es-version-6-3-ioexception-listener-timeout-after-waiting-for-60000-ms/135899 "2018-06-14T12:31:23Z")

</div>

Hello, I've just updated to elasticsearch version 6.3.0 and seems that rest high level client doesn't work there as has to. Right now I am using the next code to refresh indexes: Settings settings = Settings.builder()…

---

## [Fscrawler to find line number of an indexed file](https://discuss.elastic.co/t/fscrawler-to-find-line-number-of-an-indexed-file/135915)

<div class="topic-metadata">

**Author:** [@stackoverflow\_s](https://discuss.elastic.co/u/stackoverflow_s)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 12:29pm UTC](https://discuss.elastic.co/t/fscrawler-to-find-line-number-of-an-indexed-file/135915 "2018-06-14T12:29:23Z")

</div>

Use Case : I want to search for a duplicate method name across all local java files and retrieve the filename, linenumber and foldername to which it belongs. In one of my local drive I have a several folders, where each…

---

## [Getting \[docsnew\] IndexNotFoundException\[no such index\]](https://discuss.elastic.co/t/getting-docsnew-indexnotfoundexception-no-such-index/135715)

<div class="topic-metadata">

**Author:** [@stackoverflow\_s](https://discuss.elastic.co/u/stackoverflow_s)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 12:10pm UTC](https://discuss.elastic.co/t/getting-docsnew-indexnotfoundexception-no-such-index/135715 "2018-06-14T12:10:26Z")

</div>

Running the command http://localhost:9200/\_cat/indices lists out the index docsnew from the elasticsearch database. Also, able the entries are listed when i enter the following in the browser http://localhost:9200/docsn…

---

## [Unable to start elastic search 2.4 after enabling shield](https://discuss.elastic.co/t/unable-to-start-elastic-search-2-4-after-enabling-shield/135711)

<div class="topic-metadata">

**Author:** [@karthik9u](https://discuss.elastic.co/u/karthik9u)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 11:38am UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-2-4-after-enabling-shield/135711 "2018-06-14T11:38:53Z")

</div>

Hi, When I am starting the elasticsearch after enabling shield SSL, the elastic search fails to start. \[2018-06-13 06:37:27,804\]\[INFO \]\[node \] \[Namor McKenzie\] version\[2.4.0\], pid\[5629\], build\[ce9f…

---

## [ELK 6.3 XPACK is not supported for WIN-x86](https://discuss.elastic.co/t/elk-6-3-xpack-is-not-supported-for-win-x86/135842)

<div class="topic-metadata">

**Author:** [@TechGeek](https://discuss.elastic.co/u/TechGeek)\
**Replies:** 6\
**Last updated:** [June 14, 2018, 11:35am UTC](https://discuss.elastic.co/t/elk-6-3-xpack-is-not-supported-for-win-x86/135842 "2018-06-14T11:35:59Z")

</div>

Please suggest, if any workaround is available ? Exception org.elasticsearch.ElasticsearchException: X-Pack is not supported and Machine Learning is not available for \[windows-x86\]; you can use the other X-Pack featur…

---

## [Upgrading to ES version 6.3.0 from 6.2.3 using puppet changed owner to root](https://discuss.elastic.co/t/upgrading-to-es-version-6-3-0-from-6-2-3-using-puppet-changed-owner-to-root/135859)

<div class="topic-metadata">

**Author:** [@A\_B](https://discuss.elastic.co/u/A_B)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 10:30am UTC](https://discuss.elastic.co/t/upgrading-to-es-version-6-3-0-from-6-2-3-using-puppet-changed-owner-to-root/135859 "2018-06-14T10:30:16Z")

</div>

Not sure if this is just my config or something in the puppet module or in the Debian package of Elasticsearch 6.3.0 but when I just upgraded the owner of /etc/elasticsearch changed to root.elasticsearch It was easily f…

---

## [Force merge](https://discuss.elastic.co/t/force-merge/135796)

<div class="topic-metadata">

**Author:** [@andreacfm](https://discuss.elastic.co/u/andreacfm)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 9:53am UTC](https://discuss.elastic.co/t/force-merge/135796 "2018-06-14T09:53:08Z")

</div>

I see many examples where a force merge is listed as a required step after resetting the refresh interval from -1 to 1s. Btw the docs advise to execute a force merge only on read only indexes that are not intended to be …

---

## [Store clickstream data in ES](https://discuss.elastic.co/t/store-clickstream-data-in-es/135882)

<div class="topic-metadata">

**Author:** [@remco\_zwaan](https://discuss.elastic.co/u/remco_zwaan)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 9:33am UTC](https://discuss.elastic.co/t/store-clickstream-data-in-es/135882 "2018-06-14T09:33:22Z")

</div>

Hi, We want to store clickstream (search data, like date, guests, price ect) in index. So per user\_id we want to build a profile. Someone some documentation to set this up? Specially in storing clickstream data. cia…

---

## [Filtering Elasticsearch fields from index/store](https://discuss.elastic.co/t/filtering-elasticsearch-fields-from-index-store/135454)

<div class="topic-metadata">

**Author:** [@Ali\_Nazemian](https://discuss.elastic.co/u/Ali_Nazemian)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 9:30am UTC](https://discuss.elastic.co/t/filtering-elasticsearch-fields-from-index-store/135454 "2018-06-14T09:30:41Z")

</div>

I was wondering what is the recommended approach to filter out some of the fields that are sent to Elasticsearch from Store and Index? I want to filter our some fields from getting indexed in Elasticsearch. You may ask …

---

## [Memory for Elasticsearch node](https://discuss.elastic.co/t/memory-for-elasticsearch-node/135443)

<div class="topic-metadata">

**Author:** [@br14nb0](https://discuss.elastic.co/u/br14nb0)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 9:30am UTC](https://discuss.elastic.co/t/memory-for-elasticsearch-node/135443 "2018-06-14T09:30:03Z")

</div>

I have 3000 EPS from 300 log sources and retention rate is 1 month, so is 16Gb RAM 1Tb SSD for 2 eligible master-data nodes enough ?

---

## [ERROR: this distribution of Elasticsearch contains X-Pack by default](https://discuss.elastic.co/t/error-this-distribution-of-elasticsearch-contains-x-pack-by-default/135873)

<div class="topic-metadata">

**Author:** [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 9:11am UTC](https://discuss.elastic.co/t/error-this-distribution-of-elasticsearch-contains-x-pack-by-default/135873 "2018-06-14T09:11:12Z")

</div>

Hello, When we updated elasticsearch in the past we had to remove x-pack and reinstall after the update. Starting from 6.3, it seems x-pack is provided in the yum package. So our automation generates an error during at…

---

## [Join queries between indices](https://discuss.elastic.co/t/join-queries-between-indices/135828)

<div class="topic-metadata">

**Author:** [@Akib\_Ali](https://discuss.elastic.co/u/Akib_Ali)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 8:49am UTC](https://discuss.elastic.co/t/join-queries-between-indices/135828 "2018-06-14T08:49:13Z")

</div>

We are indexing some entities in elasticsearch indices which have relationships with each other. Can we perform query which will perform some joins between indices and returns the results in single call.

---

## [.kibana index is not created bydefault](https://discuss.elastic.co/t/kibana-index-is-not-created-bydefault/135848)

<div class="topic-metadata">

**Author:** [@Akhilesh-Tiwari](https://discuss.elastic.co/u/Akhilesh-Tiwari)\
**Replies:** 8\
**Last updated:** [June 14, 2018, 8:20am UTC](https://discuss.elastic.co/t/kibana-index-is-not-created-bydefault/135848 "2018-06-14T08:20:27Z")

</div>

Hi all, After successful installation of ELK\_6.2.4 and Kibana\_6.2.4,i am starting the kibana and elasticsearch but befault index(.kibana) is not creating by kibana. can anyone help me out.

---

## [Why Nested Aggregations do not perform well](https://discuss.elastic.co/t/why-nested-aggregations-do-not-perform-well/135867)

<div class="topic-metadata">

**Author:** [@neelam.mamtani](https://discuss.elastic.co/u/neelam.mamtani)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 8:06am UTC](https://discuss.elastic.co/t/why-nested-aggregations-do-not-perform-well/135867 "2018-06-14T08:06:03Z")

</div>

Hi, I have been trying a couple of queries which includes nested aggregations and filteredAggregations with subAggregation. But I have heard the fact that try to reduce nesting in aggregation since they degrade the perf…

---

## [Rollup API - Which X-Pack tier?](https://discuss.elastic.co/t/rollup-api-which-x-pack-tier/135830)

<div class="topic-metadata">

**Author:** [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 7:22am UTC](https://discuss.elastic.co/t/rollup-api-which-x-pack-tier/135830 "2018-06-14T07:22:54Z")

</div>

Which X-Pack tier is necessary for the Rollup API. It is not in the docs or on the subscriptions page?

---

## [How do you preregister a search template with conditional clauses?](https://discuss.elastic.co/t/how-do-you-preregister-a-search-template-with-conditional-clauses/135768)

<div class="topic-metadata">

**Author:** [@ashokc](https://discuss.elastic.co/u/ashokc)\
**Replies:** 4\
**Last updated:** [June 14, 2018, 6:53am UTC](https://discuss.elastic.co/t/how-do-you-preregister-a-search-template-with-conditional-clauses/135768 "2018-06-14T06:53:17Z")

</div>

We use mustache search templates that have conditional clauses (those # symbols). Worked fine in 5.x when we could simply dump them to config/scripts folder... and ES would reload them pretty quick Does not look like th…

---

## [Aggregation size 0 for top results](https://discuss.elastic.co/t/aggregation-size-0-for-top-results/135512)

<div class="topic-metadata">

**Author:** [@sylvainb](https://discuss.elastic.co/u/sylvainb)\
**Replies:** 13\
**Last updated:** [June 14, 2018, 6:39am UTC](https://discuss.elastic.co/t/aggregation-size-0-for-top-results/135512 "2018-06-14T06:39:18Z")

</div>

Hi everyone, I'm just migrating my application from elasticsearch 1.7 to 5.6 but I'm stuck with the following aggregation which previously relies on size:"0" (removed in 5.x). GET /stats/event/\_search { "query": { …

---

## [Multi word, single field AND query](https://discuss.elastic.co/t/multi-word-single-field-and-query/134898)

<div class="topic-metadata">

**Author:** [@fattyAtty](https://discuss.elastic.co/u/fattyAtty)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 4:38am UTC](https://discuss.elastic.co/t/multi-word-single-field-and-query/134898 "2018-06-14T04:38:17Z")

</div>

Hi. I have a field TAGS that takes in a List of Strings. I want the user to specify the tags and the result should be records that contain at least all of the tags. For example, if she searches for A, B,C , i want the re…

---

## [Reindex select fields using Nest](https://discuss.elastic.co/t/reindex-select-fields-using-nest/135076)

<div class="topic-metadata">

**Author:** [@kabcampbell](https://discuss.elastic.co/u/kabcampbell)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 3:36am UTC](https://discuss.elastic.co/t/reindex-select-fields-using-nest/135076 "2018-06-14T03:36:29Z")

</div>

I can't figure out how to re-index select fields using the Nest client for Elasticsearch. Basically, I want to do this: POST \_reindex { "source": { "index": "twitter", "\_source": \["user", "\_doc"\] }, "dest…

---

## [Please assist me to understand how Update By Query works to update source data](https://discuss.elastic.co/t/please-assist-me-to-understand-how-update-by-query-works-to-update-source-data/135822)

<div class="topic-metadata">

**Author:** [@TechGeek](https://discuss.elastic.co/u/TechGeek)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 3:01am UTC](https://discuss.elastic.co/t/please-assist-me-to-understand-how-update-by-query-works-to-update-source-data/135822 "2018-06-14T03:01:39Z")

</div>

Problem Statement :- Using \_update\_by\_query not able to update the data at the source of index. I have index with a name "poc" carries below data. I want to update the Color White with Red. To do so I am using following…

---

## [Is NEST 6.x backwards compatible with Elasticsearch 5.x?](https://discuss.elastic.co/t/is-nest-6-x-backwards-compatible-with-elasticsearch-5-x/135058)

<div class="topic-metadata">

**Author:** [@Ben\_Joldersma](https://discuss.elastic.co/u/Ben_Joldersma)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 2:35am UTC](https://discuss.elastic.co/t/is-nest-6-x-backwards-compatible-with-elasticsearch-5-x/135058 "2018-06-14T02:35:21Z")

</div>

I'm trying to plan our rollout and am wondering if I need to orchestrate my clients with the ES 6 upgrade, or if I can push them out first. Thanks!

---

## [Elasticsearch\[43061\]: which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)](https://discuss.elastic.co/t/elasticsearch-43061-which-no-java-in-usr-local-sbin-usr-local-bin-usr-sbin-usr-bin/135820)

<div class="topic-metadata">

**Author:** [@damvinod](https://discuss.elastic.co/u/damvinod)\
**Replies:** 0\
**Last updated:** [June 14, 2018, 2:37am UTC](https://discuss.elastic.co/t/elasticsearch-43061-which-no-java-in-usr-local-sbin-usr-local-bin-usr-sbin-usr-bin/135820 "2018-06-14T02:37:04Z")

</div>

Not able to start Elasticsearch in RHEL 7.5 with rpm package getting below error elasticsearch\[43061\]: which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin) Configurations with Root user: \[root@xxxx ~\]…

---

## [Problem in DateRange query in C#](https://discuss.elastic.co/t/problem-in-daterange-query-in-c/135239)

<div class="topic-metadata">

**Author:** [@r1go](https://discuss.elastic.co/u/r1go)\
**Replies:** 7\
**Last updated:** [June 14, 2018, 12:34am UTC](https://discuss.elastic.co/t/problem-in-daterange-query-in-c/135239 "2018-06-14T00:34:48Z")

</div>

Hi there! im very new to Elastic Search and just need some help. Im trying to performe an complex query in c# with my own list of "Indexes", "Dateranges" and "Terms" as well but with out success.. result = client.Searc…

---

## [How to create a parent-child documents using High Level ES REST client](https://discuss.elastic.co/t/how-to-create-a-parent-child-documents-using-high-level-es-rest-client/135807)

<div class="topic-metadata">

**Author:** [@sudeepkumarnair](https://discuss.elastic.co/u/sudeepkumarnair)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 12:26am UTC](https://discuss.elastic.co/t/how-to-create-a-parent-child-documents-using-high-level-es-rest-client/135807 "2018-06-14T00:26:34Z")

</div>

Consider the following piece of indexing code and please set know how i can add attributes to link parent and child documents. This piece of documentation is missing on Elasticseach site. Schema: PUT discovery-index/\_d…

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

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