# Elasticsearch

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

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

**Page:** 1836

---

## [Synonyms in synonyms.txt not recognized](https://discuss.elastic.co/t/synonyms-in-synonyms-txt-not-recognized/113417)

<div class="topic-metadata">

**Author:** [@Aurelien\_Quillet](https://discuss.elastic.co/u/Aurelien_Quillet)\
**Replies:** 36\
**Last updated:** [January 8, 2018, 8:27am UTC](https://discuss.elastic.co/t/synonyms-in-synonyms-txt-not-recognized/113417 "2018-01-08T08:27:26Z")

</div>

I have created a synonyms.txt file as in Synonym token filter | Elasticsearch Guide \[8.11\] | Elastic . Synonyms.txt contains : i-pod, i pod =\> ipod, sea biscuit, sea biscit =\> seabiscuit I then use the following code…

---

## [Elasticon 2018 - Rally Workshops?](https://discuss.elastic.co/t/elasticon-2018-rally-workshops/114307)

<div class="topic-metadata">

**Author:** [@AndyDev2017](https://discuss.elastic.co/u/AndyDev2017)\
**Replies:** 1\
**Last updated:** [January 8, 2018, 7:46am UTC](https://discuss.elastic.co/t/elasticon-2018-rally-workshops/114307 "2018-01-08T07:46:12Z")

</div>

Are there going to be any workshops/demos on Rally? It would be really useful to know so I can prep some scenarios in advance. Regards, Andrew

---

## [How to set cluster in ES 6.0 using rest client](https://discuss.elastic.co/t/how-to-set-cluster-in-es-6-0-using-rest-client/113440)

<div class="topic-metadata">

**Author:** [@sunder\_thangaraj](https://discuss.elastic.co/u/sunder_thangaraj)\
**Replies:** 7\
**Last updated:** [January 8, 2018, 7:08am UTC](https://discuss.elastic.co/t/how-to-set-cluster-in-es-6-0-using-rest-client/113440 "2018-01-08T07:08:55Z")

</div>

Hi , I have been using Transport client to set and using cluster for the past. I want to set cluster and minimum nodes in ES by using latest Rest client like how i used to create cluster with Transport client . Is the…

---

## [Does synonyms.txt file in synonym token filter reside in cluster state?](https://discuss.elastic.co/t/does-synonyms-txt-file-in-synonym-token-filter-reside-in-cluster-state/114449)

<div class="topic-metadata">

**Author:** [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Replies:** 1\
**Last updated:** [January 8, 2018, 6:46am UTC](https://discuss.elastic.co/t/does-synonyms-txt-file-in-synonym-token-filter-reside-in-cluster-state/114449 "2018-01-08T06:46:24Z")

</div>

Hi, I have a synonym file which is about 300MB. When I define a synonym token filter which uses this file. Will the 300MB reside in the cluster state and get updated on all nodes at regular intervals? When I create an i…

---

## [Cross DC Cluster and Data Replication](https://discuss.elastic.co/t/cross-dc-cluster-and-data-replication/113532)

<div class="topic-metadata">

**Author:** [@senthil.nathanm](https://discuss.elastic.co/u/senthil.nathanm)\
**Replies:** 7\
**Last updated:** [January 8, 2018, 6:37am UTC](https://discuss.elastic.co/t/cross-dc-cluster-and-data-replication/113532 "2018-01-08T06:37:51Z")

</div>

Hi All We are in the process of establishing Elastic Search on enterprise scale which will span servers spread across two primary data centers located in US and Europe. We are using 5.5.x version and our goal is to have…

---

## [Trying to show all records in given time range using "size:0"](https://discuss.elastic.co/t/trying-to-show-all-records-in-given-time-range-using-size-0/114352)

<div class="topic-metadata">

**Author:** [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Replies:** 3\
**Last updated:** [January 8, 2018, 5:21am UTC](https://discuss.elastic.co/t/trying-to-show-all-records-in-given-time-range-using-size-0/114352 "2018-01-08T05:21:09Z")

</div>

I tried searching to find an option for this question. But all says to put the size value in the query to get the output. Rather than, define the size value in the query \[ by default it returns 10 records \], I need to s…

---

## [\[ES v2.3\] jvm keep gc with no index and query, slow down whole cluster](https://discuss.elastic.co/t/es-v2-3-jvm-keep-gc-with-no-index-and-query-slow-down-whole-cluster/114444)

<div class="topic-metadata">

**Author:** [@Yu\_Han](https://discuss.elastic.co/u/Yu_Han)\
**Replies:** 1\
**Last updated:** [January 8, 2018, 3:23am UTC](https://discuss.elastic.co/t/es-v2-3-jvm-keep-gc-with-no-index-and-query-slow-down-whole-cluster/114444 "2018-01-08T03:23:17Z")

</div>

we have a huge cluster. 5 nodes. about 15000000000 documents and 15000 shards. jvm: ES\_JAVA\_OPTS="-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=100 -XX:GCLogFileSize=10M -XX:+CMSIncrementalMode -XX:+CMSScavengeBef…

---

## [Match query with suggestion search](https://discuss.elastic.co/t/match-query-with-suggestion-search/113706)

<div class="topic-metadata">

**Author:** [@ankur\_singla](https://discuss.elastic.co/u/ankur_singla)\
**Replies:** 2\
**Last updated:** [January 8, 2018, 3:10am UTC](https://discuss.elastic.co/t/match-query-with-suggestion-search/113706 "2018-01-08T03:10:43Z")

</div>

I have created a mapping of index searchable: PUT searchable { "mappings": { "searchCol" : { "properties" : { "suggest" : { "type" : "completion" …

---

## [Timestamp range in watcher doesn't work](https://discuss.elastic.co/t/timestamp-range-in-watcher-doesnt-work/114436)

<div class="topic-metadata">

**Author:** [@saradac](https://discuss.elastic.co/u/saradac)\
**Replies:** 1\
**Last updated:** [January 8, 2018, 2:24am UTC](https://discuss.elastic.co/t/timestamp-range-in-watcher-doesnt-work/114436 "2018-01-08T02:24:50Z")

</div>

Hello, I added the watcher in Kibana manually. I am not sure where to add mappings to enable \_timestamp. Below is my watcher: Which return's nothing. All I added is "range": { "\_timestamp": { "gt": "now-5m" } } {…

---

## [Can I get an email alert on watcher when no data found?](https://discuss.elastic.co/t/can-i-get-an-email-alert-on-watcher-when-no-data-found/114437)

<div class="topic-metadata">

**Author:** [@saradac](https://discuss.elastic.co/u/saradac)\
**Replies:** 1\
**Last updated:** [January 8, 2018, 2:13am UTC](https://discuss.elastic.co/t/can-i-get-an-email-alert-on-watcher-when-no-data-found/114437 "2018-01-08T02:13:25Z")

</div>

Hi All, I want to execute a file. When no logs on specific time, I want email alert. Is this possible through watcher? When there is no data found, I can't get any email alerts.

---

## [Reroute single documents](https://discuss.elastic.co/t/reroute-single-documents/114412)

<div class="topic-metadata">

**Author:** [@yehosef](https://discuss.elastic.co/u/yehosef)\
**Replies:** 2\
**Last updated:** [January 7, 2018, 2:24pm UTC](https://discuss.elastic.co/t/reroute-single-documents/114412 "2018-01-07T14:24:53Z")

</div>

Is there a simple way to reindex a document just by changing it's routing? In my case I'm changing certain docs to be children docs and I want to move then to the appropriate shard for the parent. My plan now is to de…

---

## [Erorr: "\[query\_shard\_exception\] failed to find geo\_point field (in node js application)](https://discuss.elastic.co/t/erorr-query-shard-exception-failed-to-find-geo-point-field-in-node-js-application/114228)

<div class="topic-metadata">

**Author:** [@thealitahir](https://discuss.elastic.co/u/thealitahir)\
**Replies:** 1\
**Last updated:** [January 7, 2018, 1:08pm UTC](https://discuss.elastic.co/t/erorr-query-shard-exception-failed-to-find-geo-point-field-in-node-js-application/114228 "2018-01-07T13:08:52Z")

</div>

I'm working on node js (version 6.1.0 ) application and using elasticsearch (version 5.0.1) in it. But I'm having issues in geo\_point query. I'm doing mapping like this client.indices.putMapping({ index: 'newtestin…

---

## [ElasticSearch and Java](https://discuss.elastic.co/t/elasticsearch-and-java/114406)

<div class="topic-metadata">

**Author:** [@Deepak\_Goel](https://discuss.elastic.co/u/Deepak_Goel)\
**Replies:** 1\
**Last updated:** [January 7, 2018, 10:17am UTC](https://discuss.elastic.co/t/elasticsearch-and-java/114406 "2018-01-07T10:17:10Z")

</div>

Hello Which is the best way (in terms of high performance) of connecting with Elaasticsearch from Java? Thank You Deepak

---

## [Java & ElasticSearch](https://discuss.elastic.co/t/java-elasticsearch/114397)

<div class="topic-metadata">

**Author:** [@Deepak\_Goel](https://discuss.elastic.co/u/Deepak_Goel)\
**Replies:** 1\
**Last updated:** [January 6, 2018, 9:01pm UTC](https://discuss.elastic.co/t/java-elasticsearch/114397 "2018-01-06T21:01:58Z")

</div>

Hello I uploaded data of "Shakespeare" in ElasticSearch. The data looks like: {"index":{"\_index":"shakespeare","\_id":6}} {"type":"line","line\_id":7,"play\_name":"Antony","speech\_number":1,"line\_number":"1.1.4","speaker…

---

## [Some Issue in sql query with elasticsearch database](https://discuss.elastic.co/t/some-issue-in-sql-query-with-elasticsearch-database/114283)

<div class="topic-metadata">

**Author:** [@Devanshu\_Sharma](https://discuss.elastic.co/u/Devanshu_Sharma)\
**Replies:** 1\
**Last updated:** [January 6, 2018, 7:52pm UTC](https://discuss.elastic.co/t/some-issue-in-sql-query-with-elasticsearch-database/114283 "2018-01-06T19:52:17Z")

</div>

if i have run any sql query without column name space then It is successfully run. If i have run any sql query have space in column name that time it showing sql parse error. Example 1. without space in column name tha…

---

## [Has\`default\_operator\` of QueryString changed algorithm with \`multi field\` from ES2.3 to ES6.1?](https://discuss.elastic.co/t/has-default-operator-of-querystring-changed-algorithm-with-multi-field-from-es2-3-to-es6-1/113564)

<div class="topic-metadata">

**Author:** [@aiflu](https://discuss.elastic.co/u/aiflu)\
**Replies:** 7\
**Last updated:** [January 6, 2018, 6:13pm UTC](https://discuss.elastic.co/t/has-default-operator-of-querystring-changed-algorithm-with-multi-field-from-es2-3-to-es6-1/113564 "2018-01-06T18:13:37Z")

</div>

Hello, I'm updating my project from ES 2.3 to ES 6.1. I feel confused about the algorithm of QueryString with default\_operator and fields. My purpose is to search in the fields city.name and zipcode.raw with one query l…

---

## [No Nodes Available Exception](https://discuss.elastic.co/t/no-nodes-available-exception/114388)

<div class="topic-metadata">

**Author:** [@Deepak\_Goel](https://discuss.elastic.co/u/Deepak_Goel)\
**Replies:** 1\
**Last updated:** [January 6, 2018, 5:32pm UTC](https://discuss.elastic.co/t/no-nodes-available-exception/114388 "2018-01-06T17:32:37Z")

</div>

Hello I created two nodes (elasticsearch-node, client-node) on the same machine. Started them. Configuration is as follows: cluster.name: production node.name: elasticsearch-node node.master: true node.data : tr…

---

## [S3 snapshot repository](https://discuss.elastic.co/t/s3-snapshot-repository/114185)

<div class="topic-metadata">

**Author:** [@rpendela](https://discuss.elastic.co/u/rpendela)\
**Replies:** 3\
**Last updated:** [January 6, 2018, 4:24pm UTC](https://discuss.elastic.co/t/s3-snapshot-repository/114185 "2018-01-06T16:24:22Z")

</div>

Hello Community, I am trying to take the snapshots of indices and send them to S3, I installed S3 plugin and Curator. I am running ELK stack using docker compose, trying to create S3 as a repository but getting this er…

---

## [Ttl with node js](https://discuss.elastic.co/t/ttl-with-node-js/113908)

<div class="topic-metadata">

**Author:** [@ramveer](https://discuss.elastic.co/u/ramveer)\
**Replies:** 1\
**Last updated:** [January 6, 2018, 3:29pm UTC](https://discuss.elastic.co/t/ttl-with-node-js/113908 "2018-01-06T15:29:43Z")

</div>

I want to set ttl to a document using node js(ts) : below is the code private setTTL(indexName: string, indexType: string) { console.log("\*\*\*\*\*\*\*\*\*\*\*\*\*index: "+indexName+" and type is : "+indexType); console.log("con…

---

## [ElasticSearch - transport-couchbase](https://discuss.elastic.co/t/elasticsearch-transport-couchbase/114380)

<div class="topic-metadata">

**Author:** [@ataustin](https://discuss.elastic.co/u/ataustin)\
**Replies:** 1\
**Last updated:** [January 6, 2018, 3:03pm UTC](https://discuss.elastic.co/t/elasticsearch-transport-couchbase/114380 "2018-01-06T15:03:02Z")

</div>

We have run into a scenario where one of the fields in our couchbase documents has a "long" (0) instead of the string ("0"). We are using dynamic mapping. There are conflicting data types for this field "doc.gameJourna…

---

## [Error connecting ElasticSearch 5.4.3 or 5.4.1 maven project java](https://discuss.elastic.co/t/error-connecting-elasticsearch-5-4-3-or-5-4-1-maven-project-java/114345)

<div class="topic-metadata">

**Author:** [@khalildiouri](https://discuss.elastic.co/u/khalildiouri)\
**Replies:** 3\
**Last updated:** [January 6, 2018, 12:00pm UTC](https://discuss.elastic.co/t/error-connecting-elasticsearch-5-4-3-or-5-4-1-maven-project-java/114345 "2018-01-06T12:00:13Z")

</div>

I'm working on an app maven java using websphere server 8.5 and elasticsearch 5.4 this is all my dependencies for ES 5 \[ org.elasticsearch.client transport 5.4.1 org.apache.logging.log4j log4j-api 2.7 o…

---

## [Known issue, insert data loss for Elastic search](https://discuss.elastic.co/t/known-issue-insert-data-loss-for-elastic-search/114226)

<div class="topic-metadata">

**Author:** [@mrinalkamboj](https://discuss.elastic.co/u/mrinalkamboj)\
**Replies:** 1\
**Last updated:** [January 6, 2018, 10:03am UTC](https://discuss.elastic.co/t/known-issue-insert-data-loss-for-elastic-search/114226 "2018-01-06T10:03:05Z")

</div>

Are there known issues, which need a pre-emptive remedial, to avoid loss of data, as suggested in following links: Issue-12314, which can lead to, Issue-7572, the same behavior is also documented here Challenge remains…

---

## [How to sum two variable in REST API (script)](https://discuss.elastic.co/t/how-to-sum-two-variable-in-rest-api-script/114359)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 0\
**Last updated:** [January 6, 2018, 9:07am UTC](https://discuss.elastic.co/t/how-to-sum-two-variable-in-rest-api-script/114359 "2018-01-06T09:07:05Z")

</div>

such as title, I want to sum two variable using script syntax. such as sum download1+download2 and upload1+upload2: "aggs": { "download1" : { "filter" : { "term": { "IPV4\_DST\_ADDR":"120.127.160.91"} }, …

---

## [Debugging performance decrease after a node fault](https://discuss.elastic.co/t/debugging-performance-decrease-after-a-node-fault/114346)

<div class="topic-metadata">

**Author:** [@Pooy](https://discuss.elastic.co/u/Pooy)\
**Replies:** 3\
**Last updated:** [January 6, 2018, 8:39am UTC](https://discuss.elastic.co/t/debugging-performance-decrease-after-a-node-fault/114346 "2018-01-06T08:39:06Z")

</div>

Hello, I've got a cluster, 140 nodes, 128GB ram each, currently with a 10GB heap, was 30GB but found GC took so long it caused boxes to regularly disconnect, 3 dedicated masters, these have 128GB RAM with a 20GB ES hea…

---

## [ES 6.x removal of mapping types](https://discuss.elastic.co/t/es-6-x-removal-of-mapping-types/114023)

<div class="topic-metadata">

**Author:** [@jv123](https://discuss.elastic.co/u/jv123)\
**Replies:** 2\
**Last updated:** [January 6, 2018, 4:24am UTC](https://discuss.elastic.co/t/es-6-x-removal-of-mapping-types/114023 "2018-01-06T04:24:08Z")

</div>

Hello guys! I hope you are ok. I'm coming from ES 5.x . Around a year ago I had an objective to setup testing ELK service which I achieved. Due to various reasons I stopped using it and left pretty much as it is until…

---

## [Circuit\_breaking\_exception](https://discuss.elastic.co/t/circuit-breaking-exception/113693)

<div class="topic-metadata">

**Author:** [@karthik\_s1](https://discuss.elastic.co/u/karthik_s1)\
**Replies:** 5\
**Last updated:** [January 5, 2018, 9:41pm UTC](https://discuss.elastic.co/t/circuit-breaking-exception/113693 "2018-01-05T21:41:46Z")

</div>

We are having the following cluster setup 1 master node 2 client nodes 2 data nodes Master node: 8 Gb RAM Heap: -Xms2g -Xmx2g Each Client nodes: 16 Gb RAM Heap: -Xms8g -Xmx8g Each Data node 16 Gb RAM Heap: -X…

---

## [Dynamic Template Application Time?](https://discuss.elastic.co/t/dynamic-template-application-time/114183)

<div class="topic-metadata">

**Author:** [@alexkeyes](https://discuss.elastic.co/u/alexkeyes)\
**Replies:** 4\
**Last updated:** [January 5, 2018, 8:09pm UTC](https://discuss.elastic.co/t/dynamic-template-application-time/114183 "2018-01-05T20:09:51Z")

</div>

Hi I am wondering when Dynamic templates get applied to an index? If I am reindexing can I update the dynamic template? I've already created indices and templates. I've updated the dynamic template for an index and re…

---

## [Monitoring through x-pack not able to see disk and memory in MB or KB](https://discuss.elastic.co/t/monitoring-through-x-pack-not-able-to-see-disk-and-memory-in-mb-or-kb/113871)

<div class="topic-metadata">

**Author:** [@Pankaj\_Chamoli](https://discuss.elastic.co/u/Pankaj_Chamoli)\
**Replies:** 1\
**Last updated:** [January 5, 2018, 7:43pm UTC](https://discuss.elastic.co/t/monitoring-through-x-pack-not-able-to-see-disk-and-memory-in-mb-or-kb/113871 "2018-01-05T19:43:03Z")

</div>

I am using version of x-pack with kibana, logstash & elasticsearch 5.6 for server monitoring & reporting. I have to change the disk & memory monitoring in MB or GB. can any one help me out. it is showing in KB which is n…

---

## [Elastic search hosted in Azure environment getting zen-disco-receive error](https://discuss.elastic.co/t/elastic-search-hosted-in-azure-environment-getting-zen-disco-receive-error/114333)

<div class="topic-metadata">

**Author:** [@rangarajanm](https://discuss.elastic.co/u/rangarajanm)\
**Replies:** 0\
**Last updated:** [January 5, 2018, 7:35pm UTC](https://discuss.elastic.co/t/elastic-search-hosted-in-azure-environment-getting-zen-disco-receive-error/114333 "2018-01-05T19:35:13Z")

</div>

Hi, Were facing Zen-disco-receive error often in our environment, this results in dropping our different data nodes each time and cluster goes down. At this point indexer will be out for an hour. Our system is hosted in…

---

## [Any recommendation for the integration of FluentD with Elasticsearch?](https://discuss.elastic.co/t/any-recommendation-for-the-integration-of-fluentd-with-elasticsearch/114329)

<div class="topic-metadata">

**Author:** [@fchiorascu](https://discuss.elastic.co/u/fchiorascu)\
**Replies:** 0\
**Last updated:** [January 5, 2018, 7:09pm UTC](https://discuss.elastic.co/t/any-recommendation-for-the-integration-of-fluentd-with-elasticsearch/114329 "2018-01-05T19:09:33Z")

</div>

Hi, There are some recommendations regarding EFK Stack integration between FluentD (td-agent) and Elasticsearch from Elastic point of view? Kind Regards,

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

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