# Elasticsearch

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

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

**Page:** 1649

---

## [Elasticsearch-linear-regression plugin installation on ES 5.5.2](https://discuss.elastic.co/t/elasticsearch-linear-regression-plugin-installation-on-es-5-5-2/134415)

<div class="topic-metadata">

**Author:** [@bptec009](https://discuss.elastic.co/u/bptec009)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 9:59am UTC](https://discuss.elastic.co/t/elasticsearch-linear-regression-plugin-installation-on-es-5-5-2/134415 "2018-06-19T09:59:56Z")

</div>

Hi All, I have installed Elastic search 5.5.2 and Java 1.8 I am trying to install plugin https://github.com/scaleborn/elasticsearch-linear-regression/releases/download/5.5.2.1/elasticsearch-linear-regression-5.5.2.1.zi…

---

## [Ubuntu 18.02 version x-pack support?](https://discuss.elastic.co/t/ubuntu-18-02-version-x-pack-support/136432)

<div class="topic-metadata">

**Author:** [@suhan\_kim](https://discuss.elastic.co/u/suhan_kim)\
**Replies:** 5\
**Last updated:** [June 19, 2018, 8:44am UTC](https://discuss.elastic.co/t/ubuntu-18-02-version-x-pack-support/136432 "2018-06-19T08:44:20Z")

</div>

Hello We are installing Elastic in Ubuntu 18.04 Does this version support X-pack Monitoring features? It will be displayed as below. We couldn't activate monitoring Here might be some things to check No Monitoring …

---

## [Elastic Search 6.3.0 feature x-pack clarification](https://discuss.elastic.co/t/elastic-search-6-3-0-feature-x-pack-clarification/136402)

<div class="topic-metadata">

**Author:** [@Sekhar1](https://discuss.elastic.co/u/Sekhar1)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 8:39am UTC](https://discuss.elastic.co/t/elastic-search-6-3-0-feature-x-pack-clarification/136402 "2018-06-19T08:39:55Z")

</div>

Elastic Search 6.3 on wards x-pack is open source telling some blog and other blog still its paid version. Can you please give me more clarity on elastic search 6.3 release with x-pack.If its free than what are the feat…

---

## [Errors after updating to 6.2.4](https://discuss.elastic.co/t/errors-after-updating-to-6-2-4/135724)

<div class="topic-metadata">

**Author:** [@Kvin](https://discuss.elastic.co/u/Kvin)\
**Replies:** 7\
**Last updated:** [June 19, 2018, 8:35am UTC](https://discuss.elastic.co/t/errors-after-updating-to-6-2-4/135724 "2018-06-19T08:35:24Z")

</div>

As suggested by the documentations I've made a rolling update from 5.2 from 5.6.9, and then from there to 6.2.4. Only Elasticsearch is at this state now, Kibana is still 5.6.9 and no Logstash is running at the moment. E…

---

## [Elasticsearch Upgrade 1.x to 2.x](https://discuss.elastic.co/t/elasticsearch-upgrade-1-x-to-2-x/136302)

<div class="topic-metadata">

**Author:** [@Mozuffer](https://discuss.elastic.co/u/Mozuffer)\
**Replies:** 4\
**Last updated:** [June 19, 2018, 8:21am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-1-x-to-2-x/136302 "2018-06-19T08:21:09Z")

</div>

Hi Guys, I'm trying to upgrade elasticsearch-1.4.5 to elasticsearch 2.x but I'm getting the following error on elasticsearch.log, and I can see from error message it's something related to index mapping. but I have arou…

---

## [Problem with filters and facets](https://discuss.elastic.co/t/problem-with-filters-and-facets/135508)

<div class="topic-metadata">

**Author:** [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)\
**Replies:** 17\
**Last updated:** [June 19, 2018, 8:02am UTC](https://discuss.elastic.co/t/problem-with-filters-and-facets/135508 "2018-06-19T08:02:54Z")

</div>

Hi everyone, I'm using ES 1.7, and i'm experiencing some issues with filters. each doc in our index has a language (PRL), Board of Appeal(BOA), and many other filter. Our application is developed in JAVA and deployed …

---

## [ES can not start, after startup error](https://discuss.elastic.co/t/es-can-not-start-after-startup-error/136441)

<div class="topic-metadata">

**Author:** [@moou](https://discuss.elastic.co/u/moou)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 8:07am UTC](https://discuss.elastic.co/t/es-can-not-start-after-startup-error/136441 "2018-06-19T08:07:03Z")

</div>

\[2018-06-19T14:19:39,869\]\[WARN \]\[o.e.c.a.s.ShardStateAction\] \[node-5\] \[.watches\]\[0\] received shard failed for shard id \[\[.watches\]\[0\]\], allocation id \[X8KQYSScToS\_Y1ZuKCN0Kw\], primary term \[3\], message \[mark copy as stal…

---

## [Combining Machine Learning forecasts with Watchers](https://discuss.elastic.co/t/combining-machine-learning-forecasts-with-watchers/136318)

<div class="topic-metadata">

**Author:** [@Angelos](https://discuss.elastic.co/u/Angelos)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 7:35am UTC](https://discuss.elastic.co/t/combining-machine-learning-forecasts-with-watchers/136318 "2018-06-19T07:35:53Z")

</div>

Hello, Anyone knows if we can combine forecasts data with watchers. For example, I have created a forecast job that predicts the behavior of a product after 3 weeks. So, now I want gather these data and create a thresho…

---

## [Sort aggregation by other query](https://discuss.elastic.co/t/sort-aggregation-by-other-query/136433)

<div class="topic-metadata">

**Author:** [@mihalikv](https://discuss.elastic.co/u/mihalikv)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 7:14am UTC](https://discuss.elastic.co/t/sort-aggregation-by-other-query/136433 "2018-06-19T07:14:56Z")

</div>

Hi, i want to ask you if it is possible to do something like this: Mapping { "mappings": { "test": { "properties": { "title": { "type": "text" …

---

## [Move huge ES data from one linux machine to another linux machine in order to continue working there](https://discuss.elastic.co/t/move-huge-es-data-from-one-linux-machine-to-another-linux-machine-in-order-to-continue-working-there/136428)

<div class="topic-metadata">

**Author:** [@davis](https://discuss.elastic.co/u/davis)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 6:58am UTC](https://discuss.elastic.co/t/move-huge-es-data-from-one-linux-machine-to-another-linux-machine-in-order-to-continue-working-there/136428 "2018-06-19T06:58:49Z")

</div>

Hi there... I have a problem and i need your help immediately. I have a project which works with elasticsearch and inserts data in it... Up to now, size of the data is more than 150G (the size of nodes directory in /var…

---

## [Sorting by Likes and Dislikes](https://discuss.elastic.co/t/sorting-by-likes-and-dislikes/136393)

<div class="topic-metadata">

**Author:** [@ehorodyski](https://discuss.elastic.co/u/ehorodyski)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 6:40am UTC](https://discuss.elastic.co/t/sorting-by-likes-and-dislikes/136393 "2018-06-19T06:40:57Z")

</div>

I've been struggling to express the current logic problem I'm trying to solve with Elasticsearch, and I think I have a good way to represent it. Let's say I'm building out an API to sort Mario Kart characters in order o…

---

## [Elasticsearch permissions](https://discuss.elastic.co/t/elasticsearch-permissions/136415)

<div class="topic-metadata">

**Author:** [@Julian\_Daly](https://discuss.elastic.co/u/Julian_Daly)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 6:11am UTC](https://discuss.elastic.co/t/elasticsearch-permissions/136415 "2018-06-19T06:11:03Z")

</div>

Hallo, It is not too clear for me... should elasticsearch be starting with root or with a user that has sudo rights? Should the user elasticsearch be used ? thank you Julian

---

## [Deprecated field \[id\] used, expected \[stored\] instead](https://discuss.elastic.co/t/deprecated-field-id-used-expected-stored-instead/136427)

<div class="topic-metadata">

**Author:** [@Gang\_Zhao](https://discuss.elastic.co/u/Gang_Zhao)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 6:31am UTC](https://discuss.elastic.co/t/deprecated-field-id-used-expected-stored-instead/136427 "2018-06-19T06:31:39Z")

</div>

I got a lot of these errors in deprecation log: \[2018-06-18T22:23:54,435\]\[WARN \]\[o.e.d.c.ParseField \] Deprecated field \[id\] used, expected \[stored\] instead \[2018-06-18T22:23:54,435\]\[WARN \]\[o.e.d.c.ParseField …

---

## [Elastic Search index getting automatically deleted](https://discuss.elastic.co/t/elastic-search-index-getting-automatically-deleted/136384)

<div class="topic-metadata">

**Author:** [@Arkapravo\_Das](https://discuss.elastic.co/u/Arkapravo_Das)\
**Replies:** 4\
**Last updated:** [June 19, 2018, 6:08am UTC](https://discuss.elastic.co/t/elastic-search-index-getting-automatically-deleted/136384 "2018-06-19T06:08:02Z")

</div>

Hi All, I am a newbie into this..working in a clustered environment where two nodes are configured as cluster.name: node.master: true node.data: true discovery.zen.ping.multicast.enabled: false discovery.zen.ping.…

---

## [CPU load avg goes very high all of a sudden](https://discuss.elastic.co/t/cpu-load-avg-goes-very-high-all-of-a-sudden/136407)

<div class="topic-metadata">

**Author:** [@Yogesh\_BG](https://discuss.elastic.co/u/Yogesh_BG)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 4:34am UTC](https://discuss.elastic.co/t/cpu-load-avg-goes-very-high-all-of-a-sudden/136407 "2018-06-19T04:34:16Z")

</div>

Hi am using elastic search 2.4 one node deployment pumping huge constant traffic, its stable for almost one day and suddenly started very high load. machines are of 14cpu, and ~30gb allocated to lucen + es, when i do h…

---

## [Elasticsearch Memory and CPU highest](https://discuss.elastic.co/t/elasticsearch-memory-and-cpu-highest/136404)

<div class="topic-metadata">

**Author:** [@Sharon\_wsf](https://discuss.elastic.co/u/Sharon_wsf)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 4:07am UTC](https://discuss.elastic.co/t/elasticsearch-memory-and-cpu-highest/136404 "2018-06-19T04:07:52Z")

</div>

Hi Team, how to reduce memory and CPU when using elasticsearch 6.2? when running elasticsearch, the memory and cpu will be leak.

---

## [Use java stream in ScoreFunction plugins](https://discuss.elastic.co/t/use-java-stream-in-scorefunction-plugins/136397)

<div class="topic-metadata">

**Author:** [@Tom.g](https://discuss.elastic.co/u/Tom.g)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 2:34am UTC](https://discuss.elastic.co/t/use-java-stream-in-scorefunction-plugins/136397 "2018-06-19T02:34:57Z")

</div>

Hi, I am trying to develop ScoreFunction plugin for elasticsearch 6.2.3. there is a matrix calculation between each doc and query input . To speed up the calculation, the idea is using java stream api. but it can't w…

---

## [Search in more than 1 index](https://discuss.elastic.co/t/search-in-more-than-1-index/136327)

<div class="topic-metadata">

**Author:** [@mkaczor](https://discuss.elastic.co/u/mkaczor)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 6:41pm UTC](https://discuss.elastic.co/t/search-in-more-than-1-index/136327 "2018-06-18T18:41:45Z")

</div>

Hello, I try to search with year of birth a name in elasticsearch but when I try it, it show me total 0. It's not the first time that my query print total 0 PUT person/delivery/EYYwE2QBbKQAAZyeN3Yb { "yearOfBirth": \[…

---

## [Unable to start ElasticSearch 6.3](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-3/136382)

<div class="topic-metadata">

**Author:** [@Ranjeet\_Kaur](https://discuss.elastic.co/u/Ranjeet_Kaur)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 10:07pm UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-6-3/136382 "2018-06-18T22:07:03Z")

</div>

Hi, I downloaded the elasticsearch msi installer, service is installed but I am unable to start the service. I tried command line to start the service (.\\elasticsearch.exe) it gives following error. Error occurred duri…

---

## [Querying nested objects with in nested objects and aggregation on the same](https://discuss.elastic.co/t/querying-nested-objects-with-in-nested-objects-and-aggregation-on-the-same/133170)

<div class="topic-metadata">

**Author:** [@ramchjob](https://discuss.elastic.co/u/ramchjob)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 9:31pm UTC](https://discuss.elastic.co/t/querying-nested-objects-with-in-nested-objects-and-aggregation-on-the-same/133170 "2018-06-18T21:31:18Z")

</div>

Dear ES Gurus, Have been facing difficulties in querying nested objects with in nested objects. DOC sample as below: { "Customer":{ "Profile":{ "id": "1234", "name":{ "firstName":"Test…

---

## [Publish and bind machine ip for elasticsearch nodes](https://discuss.elastic.co/t/publish-and-bind-machine-ip-for-elasticsearch-nodes/136373)

<div class="topic-metadata">

**Author:** [@pavw](https://discuss.elastic.co/u/pavw)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 9:08pm UTC](https://discuss.elastic.co/t/publish-and-bind-machine-ip-for-elasticsearch-nodes/136373 "2018-06-18T21:08:36Z")

</div>

Currently my es nodes publish on a private ip (172.xx.xx.xx) and I would like them to publish on the ip of the machine where they are created. I know that I can manually set the publish\_host option to the specific machin…

---

## [Type Self-Referential Relationships](https://discuss.elastic.co/t/type-self-referential-relationships/132526)

<div class="topic-metadata">

**Author:** [@ehorodyski](https://discuss.elastic.co/u/ehorodyski)\
**Replies:** 8\
**Last updated:** [June 18, 2018, 9:15pm UTC](https://discuss.elastic.co/t/type-self-referential-relationships/132526 "2018-06-18T21:15:42Z")

</div>

I'm very confused with self-referencial types in Elasticsearch 6.2. Something simple, I want to create a family tree where I map myself to all my brothers. We're all of person type, so how can I connect this relationship…

---

## [How to make stubs in Rspec tests for Elasticsearch Puppet modules](https://discuss.elastic.co/t/how-to-make-stubs-in-rspec-tests-for-elasticsearch-puppet-modules/135561)

<div class="topic-metadata">

**Author:** [@Alex\_Harvey](https://discuss.elastic.co/u/Alex_Harvey)\
**Replies:** 2\
**Last updated:** [June 18, 2018, 8:49pm UTC](https://discuss.elastic.co/t/how-to-make-stubs-in-rspec-tests-for-elasticsearch-puppet-modules/135561 "2018-06-18T20:49:43Z")

</div>

I need help making stubs in order to write Rspec-puppet unit tests for the Elasticsearch Puppet module. Right now, I am stuck on a bit of the code that declares an elasticsearch::template. elasticsearch::template { 'log…

---

## [ElasticSearch throwing 400 when deleting index on python](https://discuss.elastic.co/t/elasticsearch-throwing-400-when-deleting-index-on-python/136367)

<div class="topic-metadata">

**Author:** [@Wilson\_Kao](https://discuss.elastic.co/u/Wilson_Kao)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 8:21pm UTC](https://discuss.elastic.co/t/elasticsearch-throwing-400-when-deleting-index-on-python/136367 "2018-06-18T20:21:14Z")

</div>

I am getting a 400 error when trying to delete an index from elastic search using the python api res = es.indices.delete(index=index\_name) and we are getting this exception RequestError: TransportError(400, u'illegal\_…

---

## [Elastic Search Data from 5.6.9 to 5.6.8](https://discuss.elastic.co/t/elastic-search-data-from-5-6-9-to-5-6-8/136360)

<div class="topic-metadata">

**Author:** [@sreenivasu](https://discuss.elastic.co/u/sreenivasu)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 8:25pm UTC](https://discuss.elastic.co/t/elastic-search-data-from-5-6-9-to-5-6-8/136360 "2018-06-18T20:25:12Z")

</div>

Hi All, I have quite amount of data in my elasticsearch would like to say 160GB per index. The current elasticsearch version in 5.6.9. Now I wanted to take this data and wanted to put into the 5.6.8 version of elasticse…

---

## [Delete by query force delete on conflicts](https://discuss.elastic.co/t/delete-by-query-force-delete-on-conflicts/136190)

<div class="topic-metadata">

**Author:** [@pedro\_brentan](https://discuss.elastic.co/u/pedro_brentan)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 8:19pm UTC](https://discuss.elastic.co/t/delete-by-query-force-delete-on-conflicts/136190 "2018-06-18T20:19:09Z")

</div>

We are having a lot of version conflicts during delete\_by\_query, even been sure there's no new version of the documents. Is there a way to force the deletion? After having the conflicts we can see the documents are stil…

---

## [Run two nodes at ElasticSearch](https://discuss.elastic.co/t/run-two-nodes-at-elasticsearch/136016)

<div class="topic-metadata">

**Author:** [@cecoke](https://discuss.elastic.co/u/cecoke)\
**Replies:** 6\
**Last updated:** [June 18, 2018, 6:13pm UTC](https://discuss.elastic.co/t/run-two-nodes-at-elasticsearch/136016 "2018-06-18T18:13:52Z")

</div>

Hi, I checked out ElasticSearch from github and added some code. I was able to test it with "gradlew run" on a cluster of a single node. Now I would like to create a cluster of two nodes on the same development machine…

---

## [Are counts generally exact or approximate?](https://discuss.elastic.co/t/are-counts-generally-exact-or-approximate/135069)

<div class="topic-metadata">

**Author:** [@andrew\_rueckert](https://discuss.elastic.co/u/andrew_rueckert)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 6:12pm UTC](https://discuss.elastic.co/t/are-counts-generally-exact-or-approximate/135069 "2018-06-18T18:12:47Z")

</div>

I know that cardinality values and terms aggregation counts are approximate, because it's mentioned in the documentation. Should I assume that if a value is not explicitly called out as being an approximation, that it is…

---

## [Filter Report by Authenticated User](https://discuss.elastic.co/t/filter-report-by-authenticated-user/136355)

<div class="topic-metadata">

**Author:** [@paulo.leao](https://discuss.elastic.co/u/paulo.leao)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 6:08pm UTC](https://discuss.elastic.co/t/filter-report-by-authenticated-user/136355 "2018-06-18T18:08:16Z")

</div>

Hi, I created an index that ingests files information from our Windows File Server, and I want to share a report with our users. The challenge of sharing this report is to make sure user can see only the files they own …

---

## [Synonyms: Explicit mapping behaving like Equivalent synonyms](https://discuss.elastic.co/t/synonyms-explicit-mapping-behaving-like-equivalent-synonyms/136125)

<div class="topic-metadata">

**Author:** [@dmbaughman](https://discuss.elastic.co/u/dmbaughman)\
**Replies:** 3\
**Last updated:** [June 18, 2018, 6:05pm UTC](https://discuss.elastic.co/t/synonyms-explicit-mapping-behaving-like-equivalent-synonyms/136125 "2018-06-18T18:05:56Z")

</div>

For context, I'm using AWS Elasticsearch service, v6.2 I am trying to define a set of simple contraction synonyms for an index, but they are behaving like equivalent synonyms. For example, we have a multivitamin produc…

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

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