# Elasticsearch

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

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

**Page:** 1773

---

## [Help me in searching hyphen contains parts](https://discuss.elastic.co/t/help-me-in-searching-hyphen-contains-parts/121476)

<div class="topic-metadata">

**Author:** [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Replies:** 2\
**Last updated:** [February 28, 2018, 6:25am UTC](https://discuss.elastic.co/t/help-me-in-searching-hyphen-contains-parts/121476 "2018-02-28T06:25:01Z")

</div>

Hi All, I am working on Searching parts in elasticsearch I have elasticsearch version 5.1.1 with me.the index has contains partNumbers which has values like 044-1215S etc.. and mostly it contains dots and special charac…

---

## [Location default stemmer files (Linux)](https://discuss.elastic.co/t/location-default-stemmer-files-linux/121782)

<div class="topic-metadata">

**Author:** [@JdKock](https://discuss.elastic.co/u/JdKock)\
**Replies:** 0\
**Last updated:** [February 28, 2018, 6:14am UTC](https://discuss.elastic.co/t/location-default-stemmer-files-linux/121782 "2018-02-28T06:14:46Z")

</div>

What is the location of the default stemmer files for Elasticsearch on a Linux file system ?

---

## [Elasticsearch 6.2.2 not able to run as root user](https://discuss.elastic.co/t/elasticsearch-6-2-2-not-able-to-run-as-root-user/121703)

<div class="topic-metadata">

**Author:** [@tushar\_raut](https://discuss.elastic.co/u/tushar_raut)\
**Replies:** 2\
**Last updated:** [February 28, 2018, 6:04am UTC](https://discuss.elastic.co/t/elasticsearch-6-2-2-not-able-to-run-as-root-user/121703 "2018-02-28T06:04:23Z")

</div>

I have downloaded the tar file elasticsearch-6.2.2.tar.gz and trying to run /bin/elasticsearch but it giving me error as following : \[root@tushar-nginx elasticsearch-6.2.2\]# bin/elasticsearch \[2018-02-27T17:14:42,298\]\[…

---

## [How to restart an elastic cluster?](https://discuss.elastic.co/t/how-to-restart-an-elastic-cluster/121550)

<div class="topic-metadata">

**Author:** [@antonpious](https://discuss.elastic.co/u/antonpious)\
**Replies:** 4\
**Last updated:** [February 28, 2018, 5:31am UTC](https://discuss.elastic.co/t/how-to-restart-an-elastic-cluster/121550 "2018-02-28T05:31:32Z")

</div>

Have tried to follow the following articles. Talking about Rolling Updates Talking about Full Restart While these are predominantly based on upgrades, I have a requirement of restarting an elastic search. What we nee…

---

## [Cluster State RED after opening a closed index](https://discuss.elastic.co/t/cluster-state-red-after-opening-a-closed-index/121619)

<div class="topic-metadata">

**Author:** [@Tamjid\_Ahmed](https://discuss.elastic.co/u/Tamjid_Ahmed)\
**Replies:** 6\
**Last updated:** [February 28, 2018, 5:46am UTC](https://discuss.elastic.co/t/cluster-state-red-after-opening-a-closed-index/121619 "2018-02-28T05:46:39Z")

</div>

HI, I have a managed cluster hosted by elastio.co. Here is the configuration |Platform =\> Amazon Web Services| |Region =\> \*\*\*| |Memory =\> 4 GB| |Storage =\> 96 GB| |SSD =\> Yes | |High availability …

---

## [Failed to save list of maps content to elasticsearch](https://discuss.elastic.co/t/failed-to-save-list-of-maps-content-to-elasticsearch/121709)

<div class="topic-metadata">

**Author:** [@kish](https://discuss.elastic.co/u/kish)\
**Replies:** 1\
**Last updated:** [February 28, 2018, 5:23am UTC](https://discuss.elastic.co/t/failed-to-save-list-of-maps-content-to-elasticsearch/121709 "2018-02-28T05:23:27Z")

</div>

i am trying to save list of maps contents to Elasticsearch(as nested type)and it is failing. sample code is below package main import ( "fmt" ) const RegisterIndex = "register" const KpiIndex = "kpi" // Register & …

---

## [Courier Fetch: Failure ELK STACK](https://discuss.elastic.co/t/courier-fetch-failure-elk-stack/121775)

<div class="topic-metadata">

**Author:** [@Methsri\_Wickramarath](https://discuss.elastic.co/u/Methsri_Wickramarath)\
**Replies:** 1\
**Last updated:** [February 28, 2018, 5:17am UTC](https://discuss.elastic.co/t/courier-fetch-failure-elk-stack/121775 "2018-02-28T05:17:32Z")

</div>

Hi All, I’m configure the ELK stack to analyze the syslog data. After Installing it worked for 4 months without any issues. Suddenly it starts to give the warning Courier Fetch: 74 of 825 shards failed Apart from th…

---

## [How to load data in elk by go language? Any example?](https://discuss.elastic.co/t/how-to-load-data-in-elk-by-go-language-any-example/121607)

<div class="topic-metadata">

**Author:** [@yuluopiaoyang](https://discuss.elastic.co/u/yuluopiaoyang)\
**Replies:** 1\
**Last updated:** [February 27, 2018, 12:57pm UTC](https://discuss.elastic.co/t/how-to-load-data-in-elk-by-go-language-any-example/121607 "2018-02-27T12:57:02Z")

</div>

How to load data in elk by go language?Any example? I want use go language to load data in elk. I should send data to elastic directly or though logstash?

---

## [Cross cluster search caches dns indefinitely](https://discuss.elastic.co/t/cross-cluster-search-caches-dns-indefinitely/121767)

<div class="topic-metadata">

**Author:** [@dylankpowers](https://discuss.elastic.co/u/dylankpowers)\
**Replies:** 0\
**Last updated:** [February 28, 2018, 2:24am UTC](https://discuss.elastic.co/t/cross-cluster-search-caches-dns-indefinitely/121767 "2018-02-28T02:24:19Z")

</div>

I want to be sure I'm not going crazy here, but it appears that cross cluster search will cache address values indefinitely? The only places in code I'm seeing the addresses resolved are upon initialization and when the …

---

## [Elasticsearch grok processor error](https://discuss.elastic.co/t/elasticsearch-grok-processor-error/121510)

<div class="topic-metadata">

**Author:** [@saiergon](https://discuss.elastic.co/u/saiergon)\
**Replies:** 4\
**Last updated:** [February 28, 2018, 2:09am UTC](https://discuss.elastic.co/t/elasticsearch-grok-processor-error/121510 "2018-02-28T02:09:57Z")

</div>

hi, can anybody tell me why this is error: POST /\_ingest/pipeline/\_simulate { "pipeline": { "description": "filebeat pipeline", "processors": \[ { "grok": { "field": "message", "patterns": \["%{TIMESTAMP\_ISO8601}:…

---

## [Querying](https://discuss.elastic.co/t/querying/121763)

<div class="topic-metadata">

**Author:** [@jmgarcia](https://discuss.elastic.co/u/jmgarcia)\
**Replies:** 0\
**Last updated:** [February 28, 2018, 1:55am UTC](https://discuss.elastic.co/t/querying/121763 "2018-02-28T01:55:11Z")

</div>

Hey fellas, I have been doing my best refraining from posting on here because I am pretty sure somebody else has solved this problem or has had similar issues and fixed it with Google. Unfortunately I am not that good a…

---

## [Storing associated data](https://discuss.elastic.co/t/storing-associated-data/121756)

<div class="topic-metadata">

**Author:** [@jimc](https://discuss.elastic.co/u/jimc)\
**Replies:** 0\
**Last updated:** [February 28, 2018, 12:49am UTC](https://discuss.elastic.co/t/storing-associated-data/121756 "2018-02-28T00:49:04Z")

</div>

Hi. I have a situation where I need to associate supplementary data with documents indexed in Elasticsearch. This extra data won't be searched, it won't be retrieved except in select cases, and its size per document coul…

---

## [Heap\_committed is incorrect](https://discuss.elastic.co/t/heap-committed-is-incorrect/121749)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 1\
**Last updated:** [February 27, 2018, 11:20pm UTC](https://discuss.elastic.co/t/heap-committed-is-incorrect/121749 "2018-02-27T23:20:20Z")

</div>

I set jvm.options to: -Xms2g -Xmx2g but when I go to /\_nodes/stats?human it shows: "mem": { "heap\_used":"817mb", "heap\_used\_in\_bytes":856776904, "heap\_used\_percent":81, "heap\_committed":"1007.3mb", "heap\_committed\_in\_…

---

## [Automatic \_timestamp upon indexing](https://discuss.elastic.co/t/automatic-timestamp-upon-indexing/121738)

<div class="topic-metadata">

**Author:** [@dr\_dob](https://discuss.elastic.co/u/dr_dob)\
**Replies:** 1\
**Last updated:** [February 27, 2018, 10:42pm UTC](https://discuss.elastic.co/t/automatic-timestamp-upon-indexing/121738 "2018-02-27T22:42:31Z")

</div>

Hi! I've been trying to find out how to automate timestamping of document indexing. I see that \_timestamp is not supported anymore, so I assume the following mapping does not work anymore: { "tweet" : { "\_timestamp" …

---

## [Elasticsearch index and curator](https://discuss.elastic.co/t/elasticsearch-index-and-curator/121389)

<div class="topic-metadata">

**Author:** [@Romain\_Pelissier](https://discuss.elastic.co/u/Romain_Pelissier)\
**Replies:** 2\
**Last updated:** [February 27, 2018, 10:41pm UTC](https://discuss.elastic.co/t/elasticsearch-index-and-curator/121389 "2018-02-27T22:41:23Z")

</div>

Hi all! I got a newbie question for you :slight\_smile: Right now, I have configured my logstash destination to my elastic only node like this: ex: if \[type\] == "syslog" { elasticsearch { hosts =\> loc…

---

## [Help for loop over variable \_source](https://discuss.elastic.co/t/help-for-loop-over-variable-source/121461)

<div class="topic-metadata">

**Author:** [@nabilberd](https://discuss.elastic.co/u/nabilberd)\
**Replies:** 0\
**Last updated:** [February 26, 2018, 9:55am UTC](https://discuss.elastic.co/t/help-for-loop-over-variable-source/121461 "2018-02-26T09:55:15Z")

</div>

Hello, I want loop over object \_source in painless script. I need your helps. Thanks.

---

## [S3 Repository Plugin - Why both SecretAccess Key AND Role for calling Snapshot APIs?](https://discuss.elastic.co/t/s3-repository-plugin-why-both-secretaccess-key-and-role-for-calling-snapshot-apis/121720)

<div class="topic-metadata">

**Author:** [@titan1978](https://discuss.elastic.co/u/titan1978)\
**Replies:** 1\
**Last updated:** [February 27, 2018, 8:35pm UTC](https://discuss.elastic.co/t/s3-repository-plugin-why-both-secretaccess-key-and-role-for-calling-snapshot-apis/121720 "2018-02-27T20:35:35Z")

</div>

I've been going through quite a few tutorials on how to setup s3 plugin. HEre's one: Configuring Elasticsearch to Use S3 for Snapshots | ObjectRocket I completely get that we have to install Roles to allow the plugin…

---

## [Best architecture](https://discuss.elastic.co/t/best-architecture/121731)

<div class="topic-metadata">

**Author:** [@ErikP](https://discuss.elastic.co/u/ErikP)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 8:02pm UTC](https://discuss.elastic.co/t/best-architecture/121731 "2018-02-27T20:02:16Z")

</div>

Hi all, After reading some tutorials it's time to start working with elasticsearch. Following the tutorial how to set-up was pretty easy. First of all a little history from my side. I am used to program website's and …

---

## [Remove Minimum Master Nodes Persistent Setting](https://discuss.elastic.co/t/remove-minimum-master-nodes-persistent-setting/121728)

<div class="topic-metadata">

**Author:** [@corona](https://discuss.elastic.co/u/corona)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 7:52pm UTC](https://discuss.elastic.co/t/remove-minimum-master-nodes-persistent-setting/121728 "2018-02-27T19:52:30Z")

</div>

Suppose I set the minimum master nodes setting via a dynamic API call: PUT /\_cluster/settings { "persistent" : { "discovery.zen.minimum\_master\_nodes" : 2 } } Later I want to remove that setting such tha…

---

## [Polling for query results](https://discuss.elastic.co/t/polling-for-query-results/121727)

<div class="topic-metadata">

**Author:** [@nemi](https://discuss.elastic.co/u/nemi)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 7:51pm UTC](https://discuss.elastic.co/t/polling-for-query-results/121727 "2018-02-27T19:51:20Z")

</div>

Hi, Is there a way or plan to provide an HTTP API to poll for results ? What I would like to do is : Shoot a search query to ES and if the query is well defined get an HTTP 201 response code and some ID Then poll ES u…

---

## [Ingest Attachment and Wildcard Queries](https://discuss.elastic.co/t/ingest-attachment-and-wildcard-queries/119977)

<div class="topic-metadata">

**Author:** [@colaci](https://discuss.elastic.co/u/colaci)\
**Replies:** 5\
**Last updated:** [February 27, 2018, 7:41pm UTC](https://discuss.elastic.co/t/ingest-attachment-and-wildcard-queries/119977 "2018-02-27T19:41:56Z")

</div>

Hello, I'm using the Ingest Attachment plugin to import PDF/DOC files into Elasticsearch. The "match" query works as expected, but I'm unable to make a "wildcard" query as I always get an empty result set. I just read (…

---

## [Aggregations using distinct query](https://discuss.elastic.co/t/aggregations-using-distinct-query/119652)

<div class="topic-metadata">

**Author:** [@nemi](https://discuss.elastic.co/u/nemi)\
**Replies:** 2\
**Last updated:** [February 27, 2018, 7:34pm UTC](https://discuss.elastic.co/t/aggregations-using-distinct-query/119652 "2018-02-27T19:34:18Z")

</div>

Hi, I am using ES to build term aggregations and was trying to see if there is some way of doing a "get distinct" based on a field as the first step of the aggregation. Here is what I am trying to do : Records {"my\_id"…

---

## [Search context missing exception](https://discuss.elastic.co/t/search-context-missing-exception/121723)

<div class="topic-metadata">

**Author:** [@praveen.vemuri](https://discuss.elastic.co/u/praveen.vemuri)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 7:19pm UTC](https://discuss.elastic.co/t/search-context-missing-exception/121723 "2018-02-27T19:19:42Z")

</div>

I am trying to reindex data (around 150gb). it works for sometime and throws an error search\_context\_missing\_exception. i tried logstash with elastcsearch as input and had similar issue. i tried to reingest in chunks o…

---

## [Elasticsearch nodes work wrong](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439)

<div class="topic-metadata">

**Author:** [@hasti\_gh](https://discuss.elastic.co/u/hasti_gh)\
**Replies:** 3\
**Last updated:** [February 27, 2018, 6:51pm UTC](https://discuss.elastic.co/t/elasticsearch-nodes-work-wrong/121439 "2018-02-27T18:51:53Z")

</div>

hi i have a question about nodes in a cluster in ES. i have 4 nodes in my cluster for example : host ip heap.percent ram.percent load node.role master name Switch182 127.0.1.1 13 …

---

## [Making User Recommendations](https://discuss.elastic.co/t/making-user-recommendations/121316)

<div class="topic-metadata">

**Author:** [@andrewzc](https://discuss.elastic.co/u/andrewzc)\
**Replies:** 3\
**Last updated:** [February 27, 2018, 6:42pm UTC](https://discuss.elastic.co/t/making-user-recommendations/121316 "2018-02-27T18:42:09Z")

</div>

Hi, I am new to Elasticsearch and am trying to use Elasticsearch to create a simple recommendation engine that recommends friends to users. I have an index consisting of users which have the properties like so: "id": …

---

## [Wildcard query with second condition on other field](https://discuss.elastic.co/t/wildcard-query-with-second-condition-on-other-field/121671)

<div class="topic-metadata">

**Author:** [@michele](https://discuss.elastic.co/u/michele)\
**Replies:** 5\
**Last updated:** [February 27, 2018, 6:39pm UTC](https://discuss.elastic.co/t/wildcard-query-with-second-condition-on-other-field/121671 "2018-02-27T18:39:44Z")

</div>

I would execute a query like this (sql like): SELECT \* FROM MYINDEX WHERE SUGGEST LIKE %FOO% AND YEAR=1999 How can I do in Elastic Search? I write a query with wild card but I don't know how to combine it with and cla…

---

## [Elasticsearch memlock limits in docker service/swarm env](https://discuss.elastic.co/t/elasticsearch-memlock-limits-in-docker-service-swarm-env/121715)

<div class="topic-metadata">

**Author:** [@pcrm](https://discuss.elastic.co/u/pcrm)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 6:10pm UTC](https://discuss.elastic.co/t/elasticsearch-memlock-limits-in-docker-service-swarm-env/121715 "2018-02-27T18:10:37Z")

</div>

Hi, how can I properly set the memlock limits when I run elastic as a docker service, without building custom docker image? p.s. it works with compose or as standalone container because of ulimits settings.. Thank you …

---

## [How is data within an index distributed into shards?](https://discuss.elastic.co/t/how-is-data-within-an-index-distributed-into-shards/121670)

<div class="topic-metadata">

**Author:** [@Jan\_Pisl](https://discuss.elastic.co/u/Jan_Pisl)\
**Replies:** 5\
**Last updated:** [February 27, 2018, 6:35pm UTC](https://discuss.elastic.co/t/how-is-data-within-an-index-distributed-into-shards/121670 "2018-02-27T18:35:55Z")

</div>

I am new to ES and although I have read several blog posts and articles, I still cannot find the answers I am looking for. I need to ensure that shards in my ES database will have the optimal size (performance-wise). I …

---

## [ElasticSearch service will not stay running after rolling upgrade to 6.2.2-1](https://discuss.elastic.co/t/elasticsearch-service-will-not-stay-running-after-rolling-upgrade-to-6-2-2-1/121536)

<div class="topic-metadata">

**Author:** [@msterne](https://discuss.elastic.co/u/msterne)\
**Replies:** 3\
**Last updated:** [February 27, 2018, 6:21pm UTC](https://discuss.elastic.co/t/elasticsearch-service-will-not-stay-running-after-rolling-upgrade-to-6-2-2-1/121536 "2018-02-27T18:21:42Z")

</div>

So, I'd like to start this off by making perfectly clear that I am very inexperienced with Linux (we have CentOS7) and Elasticsearch. I have inherited a complete ElasticSearch, Logstash and Kibana environment and have be…

---

## [Shards Distribution in Multiple disks](https://discuss.elastic.co/t/shards-distribution-in-multiple-disks/121489)

<div class="topic-metadata">

**Author:** [@moni15moni](https://discuss.elastic.co/u/moni15moni)\
**Replies:** 4\
**Last updated:** [February 27, 2018, 5:44pm UTC](https://discuss.elastic.co/t/shards-distribution-in-multiple-disks/121489 "2018-02-27T17:44:02Z")

</div>

Hi I would like to know the shards allocation in between the Disks in the ES Nodes . I have the cluster which have 6 data nodes - Each node have a 4 disks of /data/disk001, /data/disk002, /data/disk003, /data/disk004 …

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

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