# Elasticsearch

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

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

**Page:** 1991

---

## [How to set geohash\_precision to distance value?](https://discuss.elastic.co/t/how-to-set-geohash-precision-to-distance-value/95805)

<div class="topic-metadata">

**Author:** [@Red](https://discuss.elastic.co/u/Red)\
**Replies:** 0\
**Last updated:** [August 4, 2017, 3:51am UTC](https://discuss.elastic.co/t/how-to-set-geohash-precision-to-distance-value/95805 "2017-08-04T03:51:25Z")

</div>

by default , geohash\_precision is set to absolute length, default is 12 it can also be set to distance value, 1km, 1m … as i know, the distance value is fixed with difference geohash length. like this: 1 2 3 ±23 ±23 …

---

## [Elasticsearch 5.2.2 X-Pack disable default user](https://discuss.elastic.co/t/elasticsearch-5-2-2-x-pack-disable-default-user/95753)

<div class="topic-metadata">

**Author:** [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Replies:** 2\
**Last updated:** [August 4, 2017, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-2-x-pack-disable-default-user/95753 "2017-08-04T06:27:39Z")

</div>

Hi, How to Disable Default User(elastic, kibana, logstash\_system) for production for 5.2.2 version. In 5.4, I could see following: xpack.security.authc.accept\_default\_password Thanks, Amit.

---

## [Elasticsearch Scroll Maximum Time](https://discuss.elastic.co/t/elasticsearch-scroll-maximum-time/95798)

<div class="topic-metadata">

**Author:** [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)\
**Replies:** 5\
**Last updated:** [August 4, 2017, 6:26am UTC](https://discuss.elastic.co/t/elasticsearch-scroll-maximum-time/95798 "2017-08-04T06:26:09Z")

</div>

Can I put 300m or 500m in scroll time? Since I got some error and based from my research, (maybe) the reason was my scroll got expired. TIA

---

## [X-Pack license extension](https://discuss.elastic.co/t/x-pack-license-extension/95301)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 2\
**Last updated:** [August 4, 2017, 6:25am UTC](https://discuss.elastic.co/t/x-pack-license-extension/95301 "2017-08-04T06:25:05Z")

</div>

Whether X-Pack trial license can be extended after 30 days of usage?

---

## [Rounding issues](https://discuss.elastic.co/t/rounding-issues/95563)

<div class="topic-metadata">

**Author:** [@David\_Tomasheski](https://discuss.elastic.co/u/David_Tomasheski)\
**Replies:** 4\
**Last updated:** [August 4, 2017, 6:16am UTC](https://discuss.elastic.co/t/rounding-issues/95563 "2017-08-04T06:16:56Z")

</div>

I have a watch that performs an average on a value. I would like to round it to two decimal places. For some reason when I put the script in to round the result is wrong, plus it doesn’t even round. In the below code avt…

---

## [How to index routing id based document in rally](https://discuss.elastic.co/t/how-to-index-routing-id-based-document-in-rally/95321)

<div class="topic-metadata">

**Author:** [@thennamca](https://discuss.elastic.co/u/thennamca)\
**Replies:** 9\
**Last updated:** [August 4, 2017, 6:09am UTC](https://discuss.elastic.co/t/how-to-index-routing-id-based-document-in-rally/95321 "2017-08-04T06:09:40Z")

</div>

Hi I want to do a routing id based bulk index in rally ,i know how to do in rest call ,but using rally i dont know how to pass routing id,can you please guide me how to do it This way i used routing based index in rest…

---

## [Elasticsearch forcemerge max\_num\_segments = 1](https://discuss.elastic.co/t/elasticsearch-forcemerge-max-num-segments-1/95800)

<div class="topic-metadata">

**Author:** [@phucvinh52](https://discuss.elastic.co/u/phucvinh52)\
**Replies:** 1\
**Last updated:** [August 4, 2017, 5:39am UTC](https://discuss.elastic.co/t/elasticsearch-forcemerge-max-num-segments-1/95800 "2017-08-04T05:39:10Z")

</div>

Hi all, I’m testing with elasticsearch (version 5). I have a problem when forcemerge with option max\_num\_segments = 1. After get segments via api \_cat/segments/my\_index?v=true and i received number segment != 1. It i…

---

## [Watcher is not enabled in ELk docker](https://discuss.elastic.co/t/watcher-is-not-enabled-in-elk-docker/95381)

<div class="topic-metadata">

**Author:** [@sadiesh](https://discuss.elastic.co/u/sadiesh)\
**Replies:** 2\
**Last updated:** [August 4, 2017, 5:04am UTC](https://discuss.elastic.co/t/watcher-is-not-enabled-in-elk-docker/95381 "2017-08-04T05:04:12Z")

</div>

We have xpack 5.2 installed in our docker. We are able to see monitoring anf graph tabs.watcher was not available in the management

---

## [Java client's scripts api](https://discuss.elastic.co/t/java-clients-scripts-api/95287)

<div class="topic-metadata">

**Author:** [@Hyojoung\_Shin](https://discuss.elastic.co/u/Hyojoung_Shin)\
**Replies:** 4\
**Last updated:** [August 4, 2017, 4:54am UTC](https://discuss.elastic.co/t/java-clients-scripts-api/95287 "2017-08-04T04:54:27Z")

</div>

Hi, Thank you for your work! I am trying to use Indexed Scripts API from java. This is the tutorial that I tested. my client does not have those methods and Response classes. I am using elastic cloud(v5.5.1). What i…

---

## [Removing data from Elasticsearch](https://discuss.elastic.co/t/removing-data-from-elasticsearch/95784)

<div class="topic-metadata">

**Author:** [@Puk](https://discuss.elastic.co/u/Puk)\
**Replies:** 2\
**Last updated:** [August 4, 2017, 2:27am UTC](https://discuss.elastic.co/t/removing-data-from-elasticsearch/95784 "2017-08-04T02:27:50Z")

</div>

Newbie to ELK Stack here and have just deployed it to my environment after testing it out in a lab for a few weeks. Its going great and I have all my servers reporting in after pushing filebeat with Ansible, but I’m fi…

---

## [Reindex API: parallel reindex requests, reindexing while still indexing to source indices](https://discuss.elastic.co/t/reindex-api-parallel-reindex-requests-reindexing-while-still-indexing-to-source-indices/92331)

<div class="topic-metadata">

**Author:** [@mpereira](https://discuss.elastic.co/u/mpereira)\
**Replies:** 4\
**Last updated:** [August 4, 2017, 12:50am UTC](https://discuss.elastic.co/t/reindex-api-parallel-reindex-requests-reindexing-while-still-indexing-to-source-indices/92331 "2017-08-04T00:50:15Z")

</div>

We upgraded ES from 2 to 5 and want to do a full reindex so that our indices are upgradable to ES6. Given clusters running on AWS D2 nodes each with hundreds of +100GB indices configured to have 1 primary and 0 replica…

---

## [Invalid NEST response built from a unsuccessful low level call on PUT: /indexname](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-unsuccessful-low-level-call-on-put-indexname/95457)

<div class="topic-metadata">

**Author:** [@Jansy](https://discuss.elastic.co/u/Jansy)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 11:34pm UTC](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-unsuccessful-low-level-call-on-put-indexname/95457 "2017-08-03T23:34:23Z")

</div>

Hi Friends, I am new to learning elastic search.I am creating a sample application with elasticsearch using c# MVC.When I am create the index getting the response “Invalid NEST response built from a unsuccessful low lev…

---

## [Curl XGET not returning all the documents](https://discuss.elastic.co/t/curl-xget-not-returning-all-the-documents/95637)

<div class="topic-metadata">

**Author:** [@aliyesami](https://discuss.elastic.co/u/aliyesami)\
**Replies:** 5\
**Last updated:** [August 3, 2017, 8:41pm UTC](https://discuss.elastic.co/t/curl-xget-not-returning-all-the-documents/95637 "2017-08-03T20:41:46Z")

</div>

I have 20 million documents in an index , the \_stats also confirm that and there are 914 distinct toll\_amt\_full field ( confirmed from hive table) . But curl aggregation query is only returning 10 documents ? hive\>…

---

## [NoNodeAvailableException error with Hadoop](https://discuss.elastic.co/t/nonodeavailableexception-error-with-hadoop/95720)

<div class="topic-metadata">

**Author:** [@Songling\_Lau](https://discuss.elastic.co/u/Songling_Lau)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 8:05pm UTC](https://discuss.elastic.co/t/nonodeavailableexception-error-with-hadoop/95720 "2017-08-03T20:05:05Z")

</div>

There is a wired problem that when I run my jar using java command,the code can run without any error.But it throws NoNodeAvailableException when I use hadoop or spark-submit.I’v checked all the configurations.Someone te…

---

## [Granulated data - elasticsearch. Is it possible to convert minutely data to hourly data and store it as a new index?](https://discuss.elastic.co/t/granulated-data-elasticsearch-is-it-possible-to-convert-minutely-data-to-hourly-data-and-store-it-as-a-new-index/95742)

<div class="topic-metadata">

**Author:** [@ahdev](https://discuss.elastic.co/u/ahdev)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 8:04pm UTC](https://discuss.elastic.co/t/granulated-data-elasticsearch-is-it-possible-to-convert-minutely-data-to-hourly-data-and-store-it-as-a-new-index/95742 "2017-08-03T20:04:53Z")

</div>

For storage purposes, I have to convert minutely data to hourly data, store it as an index. Likewise, after a week, convert the hourly data to weekly data. Is it possible to do it with ELK?

---

## [How to add another node to existingt cluster](https://discuss.elastic.co/t/how-to-add-another-node-to-existingt-cluster/94855)

<div class="topic-metadata">

**Author:** [@shyamalaponnada](https://discuss.elastic.co/u/shyamalaponnada)\
**Replies:** 14\
**Last updated:** [August 3, 2017, 6:42pm UTC](https://discuss.elastic.co/t/how-to-add-another-node-to-existingt-cluster/94855 "2017-08-03T18:42:38Z")

</div>

HI, I have already one under cluster.Now i would like to add one more to the same cluster.I have made few changes in .yml file.but still new node is not added.Please find .yml file below; NOTE: Elasticsearch comes …

---

## [Elastic search queries on result of aggregation](https://discuss.elastic.co/t/elastic-search-queries-on-result-of-aggregation/95385)

<div class="topic-metadata">

**Author:** [@nino\_aloi](https://discuss.elastic.co/u/nino_aloi)\
**Replies:** 7\
**Last updated:** [August 3, 2017, 4:10pm UTC](https://discuss.elastic.co/t/elastic-search-queries-on-result-of-aggregation/95385 "2017-08-03T16:10:31Z")

</div>

Hi, I am currently taking care of the development of an application using elastic search for various types of queries. Currently we only have one mapping in one index, this mapping represent attributes, they are basical…

---

## [Groovy to Painless; get current date time](https://discuss.elastic.co/t/groovy-to-painless-get-current-date-time/95471)

<div class="topic-metadata">

**Author:** [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Replies:** 3\
**Last updated:** [August 3, 2017, 4:00pm UTC](https://discuss.elastic.co/t/groovy-to-painless-get-current-date-time/95471 "2017-08-03T16:00:53Z")

</div>

I am trying to convert this Groovy script to Painless: (0.08 / ((3.16\*pow(10,-11.5)) \* abs(DateTime.now().getMillis() - doc\['created'\].date.getMillis()) + 0.05)) + 1.0 So far this is what I have, but I keep getting the…

---

## [Need an analyzer that can split words by dot and reserve numbers](https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663)

<div class="topic-metadata">

**Author:** [@CreateChen](https://discuss.elastic.co/u/CreateChen)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 3:53pm UTC](https://discuss.elastic.co/t/need-an-analyzer-that-can-split-words-by-dot-and-reserve-numbers/95663 "2017-08-03T15:53:39Z")

</div>

Hi, Standard analyzer can’t split words by a dot, and simple analyzer filter out the numbers. I want to split words by dot and reserve numbers, which analyzer should I use? Example: “google.com 123” =\> \[“google”, “co…

---

## [Missing index issue in a cluster](https://discuss.elastic.co/t/missing-index-issue-in-a-cluster/95210)

<div class="topic-metadata">

**Author:** [@aliyesami](https://discuss.elastic.co/u/aliyesami)\
**Replies:** 12\
**Last updated:** [August 3, 2017, 3:52pm UTC](https://discuss.elastic.co/t/missing-index-issue-in-a-cluster/95210 "2017-08-03T15:52:20Z")

</div>

I have a 5 node cluster , what I noticed is that when I create the ES external table on node1 , the index is being created on node5 (where hive is not installed) , and then when I try to select from this table I get the …

---

## [Remove Data?](https://discuss.elastic.co/t/remove-data/95710)

<div class="topic-metadata">

**Author:** [@realtek](https://discuss.elastic.co/u/realtek)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 3:44pm UTC](https://discuss.elastic.co/t/remove-data/95710 "2017-08-03T15:44:32Z")

</div>

Hi, I am new to elasticsearch and think its amazing from what I have seen. I have a question, if I were to use this in my application. For example if I have a website that inserts data into a database, I assume at the …

---

## [Create New Node](https://discuss.elastic.co/t/create-new-node/95739)

<div class="topic-metadata">

**Author:** [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Replies:** 0\
**Last updated:** [August 3, 2017, 3:17pm UTC](https://discuss.elastic.co/t/create-new-node/95739 "2017-08-03T15:17:26Z")

</div>

Greetings, I am new to ELK I am not getting it through the tutorials please help me in it. As I want to monitor different servers(5 Servers) So I want to know as to observe the servers live do i Need more than 1 Nod…

---

## [How to exclude records in between two records in elasticsearch?](https://discuss.elastic.co/t/how-to-exclude-records-in-between-two-records-in-elasticsearch/95670)

<div class="topic-metadata">

**Author:** [@patrickian](https://discuss.elastic.co/u/patrickian)\
**Replies:** 5\
**Last updated:** [August 3, 2017, 3:16pm UTC](https://discuss.elastic.co/t/how-to-exclude-records-in-between-two-records-in-elasticsearch/95670 "2017-08-03T15:16:30Z")

</div>

Let’s say I have 10 documents in an index. document 2 has the k-v pair: 'activity': 'start' and document 8 has 'activity':'end'. I want to exclude all documents between and including documents 2 and 8. How can I do this…

---

## [New VM disk Size?](https://discuss.elastic.co/t/new-vm-disk-size/95729)

<div class="topic-metadata">

**Author:** [@syswombat](https://discuss.elastic.co/u/syswombat)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 3:04pm UTC](https://discuss.elastic.co/t/new-vm-disk-size/95729 "2017-08-03T15:04:35Z")

</div>

hello setting up a new VM für ELK how much diskzise would be needet? have a nice day vinc

---

## [How to get large response to query fast?](https://discuss.elastic.co/t/how-to-get-large-response-to-query-fast/95342)

<div class="topic-metadata">

**Author:** [@Josca](https://discuss.elastic.co/u/Josca)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 2:39pm UTC](https://discuss.elastic.co/t/how-to-get-large-response-to-query-fast/95342 "2017-08-03T14:39:56Z")

</div>

Hi, I use AWS Elasticsearch. I have stored ~40 Mil documents and I want to fetch large amount of query results (e.g. one milion most relevant document). I am fetching document titles only but searching is executed throu…

---

## [Does change of parent require a 'refresh' to be accurate?](https://discuss.elastic.co/t/does-change-of-parent-require-a-refresh-to-be-accurate/95565)

<div class="topic-metadata">

**Author:** [@chrisburrell](https://discuss.elastic.co/u/chrisburrell)\
**Replies:** 5\
**Last updated:** [August 3, 2017, 2:37pm UTC](https://discuss.elastic.co/t/does-change-of-parent-require-a-refresh-to-be-accurate/95565 "2017-08-03T14:37:38Z")

</div>

Hi My understanding from the doc is that when a child moves parent we can’t simply reindex because the document may be on a different shard. Instead, we need to delete the document and re-index it. Do we therefore need …

---

## [Elasticsearch replica shard distribution](https://discuss.elastic.co/t/elasticsearch-replica-shard-distribution/95371)

<div class="topic-metadata">

**Author:** [@monkegoist](https://discuss.elastic.co/u/monkegoist)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 2:33pm UTC](https://discuss.elastic.co/t/elasticsearch-replica-shard-distribution/95371 "2017-08-03T14:33:35Z")

</div>

Hello, We recently came across an issue with users reporting their queries being slow. There are 5 nodes in a cluster, index has 10 shards, replication factor is 1. Upon investigation, I found out that each of the nodes…

---

## [Few doubts on shard, replica ,data loss on elasticsearch](https://discuss.elastic.co/t/few-doubts-on-shard-replica-data-loss-on-elasticsearch/95711)

<div class="topic-metadata">

**Author:** [@sesaravanan](https://discuss.elastic.co/u/sesaravanan)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 2:04pm UTC](https://discuss.elastic.co/t/few-doubts-on-shard-replica-data-loss-on-elasticsearch/95711 "2017-08-03T14:04:21Z")

</div>

Hi , I’m new to elastic search. I have few questions for designing elasticsearch architecture. How to re-index if an shard got corrupted with large data? what is the best way to do it?. what will be the delta ti…

---

## [Deprecated size:0 on terms aggregation](https://discuss.elastic.co/t/deprecated-size-0-on-terms-aggregation/95726)

<div class="topic-metadata">

**Author:** [@dhondup](https://discuss.elastic.co/u/dhondup)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 1:48pm UTC](https://discuss.elastic.co/t/deprecated-size-0-on-terms-aggregation/95726 "2017-08-03T13:48:49Z")

</div>

According to Elastic docs, size: 0 on terms aggregation will be deprecated. Please see https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking\_50\_aggregations\_changes.html#\_literal\_size\_0\_literal\_on\_terms\_si…

---

## [2 instances of Elastic and Kibana but data is shared](https://discuss.elastic.co/t/2-instances-of-elastic-and-kibana-but-data-is-shared/95603)

<div class="topic-metadata">

**Author:** [@Erezinho](https://discuss.elastic.co/u/Erezinho)\
**Replies:** 5\
**Last updated:** [August 3, 2017, 1:33pm UTC](https://discuss.elastic.co/t/2-instances-of-elastic-and-kibana-but-data-is-shared/95603 "2017-08-03T13:33:05Z")

</div>

Hello, I have a vm with two instances of Elastic, on different folders. Each instance has its own port. Same goes to the two Kibana instances. ElasticA-KibanaA ElasticB-KibanaB. My client uses both elastic instances…

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

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