# Elasticsearch

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

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

**Page:** 1537

---

## [Indexing Documents in batches](https://discuss.elastic.co/t/indexing-documents-in-batches/150111)

<div class="topic-metadata">

**Author:** [@ecarmona](https://discuss.elastic.co/u/ecarmona)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 4:54am UTC](https://discuss.elastic.co/t/indexing-documents-in-batches/150111 "2018-09-27T04:54:03Z")

</div>

Hi There, Is there a way to index various of documents in one request? for instance, if I would like to index a list of employees, where each employee will become one document; Is there a way to POST into an index a JS…

---

## ["timed out when collecting data" error](https://discuss.elastic.co/t/timed-out-when-collecting-data-error/150105)

<div class="topic-metadata">

**Author:** [@af615dbd55cac2cacf32](https://discuss.elastic.co/u/af615dbd55cac2cacf32)\
**Replies:** 0\
**Last updated:** [September 27, 2018, 2:45am UTC](https://discuss.elastic.co/t/timed-out-when-collecting-data-error/150105 "2018-09-27T02:45:31Z")

</div>

Hello, I am seeing "timed out when collecting data" error from our warm nodes. Yes we are using hot-warm architecture. Our Elasticsearch node descriptions are below. suy-prd-opr-els-01 - client suy-prd-opr-els-02 - m…

---

## [Why mapping does not work as respect?](https://discuss.elastic.co/t/why-mapping-does-not-work-as-respect/150103)

<div class="topic-metadata">

**Author:** [@hellokitty](https://discuss.elastic.co/u/hellokitty)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 2:44am UTC](https://discuss.elastic.co/t/why-mapping-does-not-work-as-respect/150103 "2018-09-27T02:44:24Z")

</div>

ElasticSearch 6.3 I create one index call \[myindex3\]. It's mapping look like below. { "myindex3": { "mappings": { "\_doc": { "properties": { "tags": { "type": "long" } } } } } } I can create docs which has …

---

## [How does synonym filter work in search phase](https://discuss.elastic.co/t/how-does-synonym-filter-work-in-search-phase/148401)

<div class="topic-metadata">

**Author:** [@merlinv](https://discuss.elastic.co/u/merlinv)\
**Replies:** 4\
**Last updated:** [September 27, 2018, 2:28am UTC](https://discuss.elastic.co/t/how-does-synonym-filter-work-in-search-phase/148401 "2018-09-27T02:28:07Z")

</div>

Hi there, I create a sample synonym filter like below PUT /test\_index { "settings": { "index" : { "analysis" : { "analyzer" : { "synonym" : { …

---

## [Regarding Elasticsearch and Docker](https://discuss.elastic.co/t/regarding-elasticsearch-and-docker/145579)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 4\
**Last updated:** [September 27, 2018, 2:25am UTC](https://discuss.elastic.co/t/regarding-elasticsearch-and-docker/145579 "2018-09-27T02:25:45Z")

</div>

Hi, I have a question regarding memory sizing for an elasticsearch docker container. If a node requires 8GB of HEAP then it is normal to provision 16GB of RAM for filesystem caching. When running elasticsearch in docker…

---

## [How to auto delete empty indices?](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095)

<div class="topic-metadata">

**Author:** [@xlbrlx](https://discuss.elastic.co/u/xlbrlx)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 2:09am UTC](https://discuss.elastic.co/t/how-to-auto-delete-empty-indices/150095 "2018-09-27T02:09:16Z")

</div>

Hi there, What are ways to auto delete empty indices on elasticsearch 6.2?

---

## [Options for getting curator logs into elasticsearch without using filebeat?](https://discuss.elastic.co/t/options-for-getting-curator-logs-into-elasticsearch-without-using-filebeat/149886)

<div class="topic-metadata">

**Author:** [@jonassteinberg1](https://discuss.elastic.co/u/jonassteinberg1)\
**Replies:** 5\
**Last updated:** [September 26, 2018, 11:26pm UTC](https://discuss.elastic.co/t/options-for-getting-curator-logs-into-elasticsearch-without-using-filebeat/149886 "2018-09-26T23:26:50Z")

</div>

@theuntergeek I'd like to pump my curator logs to ES and I don't want to use Filebeat. What are my architectural options, if any? I've been trying to work it out in my head, but no joy. I have read this but I belie…

---

## [Simple sort in painless (for MediaWiki)](https://discuss.elastic.co/t/simple-sort-in-painless-for-mediawiki/149569)

<div class="topic-metadata">

**Author:** [@freephile](https://discuss.elastic.co/u/freephile)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 10:51pm UTC](https://discuss.elastic.co/t/simple-sort-in-painless-for-mediawiki/149569 "2018-09-26T22:51:34Z")

</div>

I'm using ElasticSearch for MediaWiki and have the following script which seems to be working (this is in PHP, as the interface to ElasticSearch for MediaWiki is in PHP: // Contsruct the script array $this-\>sort = \[ …

---

## [How to run more than one Scripts independently](https://discuss.elastic.co/t/how-to-run-more-than-one-scripts-independently/150037)

<div class="topic-metadata">

**Author:** [@Data\_Statistics](https://discuss.elastic.co/u/Data_Statistics)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 9:34pm UTC](https://discuss.elastic.co/t/how-to-run-more-than-one-scripts-independently/150037 "2018-09-26T21:34:12Z")

</div>

Hi, i would like to know how to have more than one script in same code, which i need to run them when the search match. my code is (only script part, before i have the match part that is running ok) "script": {"sou…

---

## [\_map name exception with redmine elastic search plugin](https://discuss.elastic.co/t/map-name-exception-with-redmine-elastic-search-plugin/150092)

<div class="topic-metadata">

**Author:** [@gessel](https://discuss.elastic.co/u/gessel)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 9:26pm UTC](https://discuss.elastic.co/t/map-name-exception-with-redmine-elastic-search-plugin/150092 "2018-09-26T21:26:59Z")

</div>

I realize this is likely an issue with the Redmine Elasticsearch plugin and likely requires an update from the author, but any advice would be much appreciated. The error reported when executing a $ bundle exec rake r…

---

## [Cluster failing after changing path.data in elasticsearch.yml](https://discuss.elastic.co/t/cluster-failing-after-changing-path-data-in-elasticsearch-yml/150081)

<div class="topic-metadata">

**Author:** [@maxKimoby](https://discuss.elastic.co/u/maxKimoby)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 8:04pm UTC](https://discuss.elastic.co/t/cluster-failing-after-changing-path-data-in-elasticsearch-yml/150081 "2018-09-26T20:04:34Z")

</div>

ES 6.4 I recently changed my path.data on some nodes to point to mounted volume disk space. This is the only config I changed and since then my cluster fails to start. This is the error I get from logs when running curl…

---

## [App-specific Telemetry around C# Scroll API usage](https://discuss.elastic.co/t/app-specific-telemetry-around-c-scroll-api-usage/150076)

<div class="topic-metadata">

**Author:** [@BrianH](https://discuss.elastic.co/u/BrianH)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 7:35pm UTC](https://discuss.elastic.co/t/app-specific-telemetry-around-c-scroll-api-usage/150076 "2018-09-26T19:35:56Z")

</div>

Overall goal: tag search requests with application-specific correlation data (e.g. event context) so that packetbeat can parse and index es activity by these correlation data. Our application is written in C#, and we'r…

---

## [Filebeat not able to create a ES Index](https://discuss.elastic.co/t/filebeat-not-able-to-create-a-es-index/150072)

<div class="topic-metadata">

**Author:** [@srijan.nandi](https://discuss.elastic.co/u/srijan.nandi)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 6:48pm UTC](https://discuss.elastic.co/t/filebeat-not-able-to-create-a-es-index/150072 "2018-09-26T18:48:29Z")

</div>

I have installed elasticsearch, kibana and logstash on 3 separate machines. I am able to use metricbeat, packetbeat and auditbeat without any issue. But when I install filebeat, it does not create an index on elasticsea…

---

## [About usage of List of Values (LOV) and elastic API](https://discuss.elastic.co/t/about-usage-of-list-of-values-lov-and-elastic-api/150071)

<div class="topic-metadata">

**Author:** [@casimir](https://discuss.elastic.co/u/casimir)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 6:29pm UTC](https://discuss.elastic.co/t/about-usage-of-list-of-values-lov-and-elastic-api/150071 "2018-09-26T18:29:16Z")

</div>

As Example : https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html I notice that you describe in a web page static lists of values, such as Unit quantities, distance Units, Time Units, Byt…

---

## [Explanation/correction about Flat Settings](https://discuss.elastic.co/t/explanation-correction-about-flat-settings/150069)

<div class="topic-metadata">

**Author:** [@casimir](https://discuss.elastic.co/u/casimir)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 6:19pm UTC](https://discuss.elastic.co/t/explanation-correction-about-flat-settings/150069 "2018-09-26T18:19:34Z")

</div>

Following my understanding you have an error When you do GET twitter/\_settings?flat\_settings=true "index.provided\_name" : "twitter" must be "provided\_name" "twitter" provided\_name is Under settings NOT Under index. …

---

## [Filter indices for range query in time based indices](https://discuss.elastic.co/t/filter-indices-for-range-query-in-time-based-indices/149913)

<div class="topic-metadata">

**Author:** [@Ha\_Truong](https://discuss.elastic.co/u/Ha_Truong)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 5:39pm UTC](https://discuss.elastic.co/t/filter-indices-for-range-query-in-time-based-indices/149913 "2018-09-26T17:39:56Z")

</div>

We are using Index Roll Over api to create new index based on size. We are having 1 alias for write and another alias for read. Read alias is obviously pointing to all indices. For range query, we want to limit search t…

---

## [Error when creating index with synonyms file](https://discuss.elastic.co/t/error-when-creating-index-with-synonyms-file/143484)

<div class="topic-metadata">

**Author:** [@Ong](https://discuss.elastic.co/u/Ong)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 3:23pm UTC](https://discuss.elastic.co/t/error-when-creating-index-with-synonyms-file/143484 "2018-09-26T15:23:31Z")

</div>

I am creating an index mapping which uses a synonyms file. The synonyms file contents are as follows: ms, microsoft usa, united states of america When I tried to create the index, an error was returned. "reason": "te…

---

## [Elasticsearch Service Fails to create Node Environment (5.5.6)](https://discuss.elastic.co/t/elasticsearch-service-fails-to-create-node-environment-5-5-6/146355)

<div class="topic-metadata">

**Author:** [@tbugbee](https://discuss.elastic.co/u/tbugbee)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 3:07pm UTC](https://discuss.elastic.co/t/elasticsearch-service-fails-to-create-node-environment-5-5-6/146355 "2018-09-26T15:07:58Z")

</div>

Hello, I'm running Elasticsearch 5.5.2 on Windows Server 2012 R2. The service has been working for months with no change to the machine or the service (config, bin, etc.) as far as I know. Here are the log messages gene…

---

## [Append some kind of a phrase to text field while keeping the search score](https://discuss.elastic.co/t/append-some-kind-of-a-phrase-to-text-field-while-keeping-the-search-score/147410)

<div class="topic-metadata">

**Author:** [@Destroy666](https://discuss.elastic.co/u/Destroy666)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 3:02pm UTC](https://discuss.elastic.co/t/append-some-kind-of-a-phrase-to-text-field-while-keeping-the-search-score/147410 "2018-09-26T15:02:50Z")

</div>

Elasticsearch 6.3. Let's assume I have an index called food (I would like to keep it as one index), which stores a name in two languages. For now I have search that can considers both full (scored higher) and ngram resul…

---

## [Create snapshot in s3 - issue to create snapshot in region eu-west-2](https://discuss.elastic.co/t/create-snapshot-in-s3-issue-to-create-snapshot-in-region-eu-west-2/149852)

<div class="topic-metadata">

**Author:** [@Ronshaiko](https://discuss.elastic.co/u/Ronshaiko)\
**Replies:** 4\
**Last updated:** [September 26, 2018, 2:50pm UTC](https://discuss.elastic.co/t/create-snapshot-in-s3-issue-to-create-snapshot-in-region-eu-west-2/149852 "2018-09-26T14:50:51Z")

</div>

Hi guys, I'm trying to create es snapshots in s3, region: eu-west-2 (London) and facing failure. Please see below more info: es version: curl -XGET 'localhost:9200' { "name" : "node-name", "cluster\_name" : "es-cl…

---

## [Delay watcher trigger time | Heartbeat](https://discuss.elastic.co/t/delay-watcher-trigger-time-heartbeat/149996)

<div class="topic-metadata">

**Author:** [@max17](https://discuss.elastic.co/u/max17)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 2:41pm UTC](https://discuss.elastic.co/t/delay-watcher-trigger-time-heartbeat/149996 "2018-09-26T14:41:46Z")

</div>

Team, I have created a heartbeat watcher which is working fine, whenever a website goes down, it triggers an alert for it, but my query is, I have multiple website hosted in same server i.e 3 sites. Sometime 1 website t…

---

## [ML alert for non-reporting servers and which server](https://discuss.elastic.co/t/ml-alert-for-non-reporting-servers-and-which-server/149898)

<div class="topic-metadata">

**Author:** [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 1:14pm UTC](https://discuss.elastic.co/t/ml-alert-for-non-reporting-servers-and-which-server/149898 "2018-09-26T13:14:08Z")

</div>

I'm trying to set up a ML job that can track the servers that we have deployed metricbeat/packetbeat to and get alerted when one stops reporting. From what I understand of the ML functions is that many of them use numbe…

---

## [Show\_indices is not equal to /\_cat/indices](https://discuss.elastic.co/t/show-indices-is-not-equal-to-cat-indices/149842)

<div class="topic-metadata">

**Author:** [@igemon](https://discuss.elastic.co/u/igemon)\
**Replies:** 1\
**Last updated:** [September 25, 2018, 3:03pm UTC](https://discuss.elastic.co/t/show-indices-is-not-equal-to-cat-indices/149842 "2018-09-25T15:03:54Z")

</div>

Hi guys. I have a question. Does the curator\_cli show\_indices show all indexes? In my case, output curator\_cli show\_indices is not equal to output GET /\_cat/indices?v Running the command (GET /\_cat/indices?v) shows a …

---

## [Type of Metrics is invalid](https://discuss.elastic.co/t/type-of-metrics-is-invalid/148811)

<div class="topic-metadata">

**Author:** [@wheelq](https://discuss.elastic.co/u/wheelq)\
**Replies:** 4\
**Last updated:** [September 26, 2018, 11:06am UTC](https://discuss.elastic.co/t/type-of-metrics-is-invalid/148811 "2018-09-26T11:06:13Z")

</div>

Hi, I am experiencing same issue as decribed here: and here: In both cases, question was the same - how do I fix this. Currently I have run into exactly same issue, and I'd like to fix this. I don't want to upgrade …

---

## [Multiple inner hits for the same path](https://discuss.elastic.co/t/multiple-inner-hits-for-the-same-path/149972)

<div class="topic-metadata">

**Author:** [@lbugar](https://discuss.elastic.co/u/lbugar)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 9:47am UTC](https://discuss.elastic.co/t/multiple-inner-hits-for-the-same-path/149972 "2018-09-26T09:47:52Z")

</div>

Inner hit result contains more hits as i expect. for code/\_id: 2757 inner hit "inner\_hit\_1" and for code/\_id: 1342 "inner hit\_2" is unnecessary How can I get the correct result ? elastic version: 6.4.1 query: "sho…

---

## [Starting elasticsearch root](https://discuss.elastic.co/t/starting-elasticsearch-root/149975)

<div class="topic-metadata">

**Author:** [@Shaik\_Nayeem](https://discuss.elastic.co/u/Shaik_Nayeem)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 10:19am UTC](https://discuss.elastic.co/t/starting-elasticsearch-root/149975 "2018-09-26T10:19:34Z")

</div>

Hi i wanted to know can we start elasticsearch with root user ? if yes, can you please tell the process .

---

## [Like query \*string\*](https://discuss.elastic.co/t/like-query-string/149971)

<div class="topic-metadata">

**Author:** [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Replies:** 8\
**Last updated:** [September 26, 2018, 10:15am UTC](https://discuss.elastic.co/t/like-query-string/149971 "2018-09-26T10:15:21Z")

</div>

Hi guys, Specification: Elasticsearch version : 6.2.2 I have data which having "emailaddress" field. Suppose my one of the value is "user@example.com". I might have search input like "@exam", "user@" , "user", ".com" …

---

## [How to use the custom analyzer to split the following product information](https://discuss.elastic.co/t/how-to-use-the-custom-analyzer-to-split-the-following-product-information/149978)

<div class="topic-metadata">

**Author:** [@Zhen\_Zhang](https://discuss.elastic.co/u/Zhen_Zhang)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-the-custom-analyzer-to-split-the-following-product-information/149978 "2018-09-26T10:13:57Z")

</div>

According to the product condition + time condition, query the qualified customer information, the data format is as follows,For example, if you enter A product +2018010, you should query 1 data. If you only enter the ti…

---

## [Elasticsearch 2.4 - How search special characters in elasticsearch?](https://discuss.elastic.co/t/elasticsearch-2-4-how-search-special-characters-in-elasticsearch/149976)

<div class="topic-metadata">

**Author:** [@cturbe](https://discuss.elastic.co/u/cturbe)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 10:03am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-how-search-special-characters-in-elasticsearch/149976 "2018-09-26T10:03:47Z")

</div>

Hello, I'm working on an elasticsearch 2.4 and i can't modify the mapping. The field that interests me in the mapping: "message": { "analyzer": "standard", "doc\_values": false, "index": true, "standards": false, …

---

## [Clusters in yellow state due to upcoming License Expiry Alert](https://discuss.elastic.co/t/clusters-in-yellow-state-due-to-upcoming-license-expiry-alert/149970)

<div class="topic-metadata">

**Author:** [@rshetty](https://discuss.elastic.co/u/rshetty)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 9:35am UTC](https://discuss.elastic.co/t/clusters-in-yellow-state-due-to-upcoming-license-expiry-alert/149970 "2018-09-26T09:35:06Z")

</div>

Hi, We have set up a dedicated non -prod and prod monitoring cluster for the different clusters in our environments. We are facing an issue at present that all the clusters are in a yellow state due to the following: L…

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

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