# Elasticsearch

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

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

**Page:** 1453

---

## [Get all the users being a manager](https://discuss.elastic.co/t/get-all-the-users-being-a-manager/160924)

<div class="topic-metadata">

**Author:** [@MT\_WSM](https://discuss.elastic.co/u/MT_WSM)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 3:05pm UTC](https://discuss.elastic.co/t/get-all-the-users-being-a-manager/160924 "2018-12-14T15:05:49Z")

</div>

Hey guys, I have a small issue today. I have a database containing thousands of users and some are the manager of others. To link them, I referenced the manager's id into its subordinates' column named 'ManagerId'. Sin…

---

## [How to get aggregations on integer\_range type field](https://discuss.elastic.co/t/how-to-get-aggregations-on-integer-range-type-field/160892)

<div class="topic-metadata">

**Author:** [@jatinroyy](https://discuss.elastic.co/u/jatinroyy)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 1:49pm UTC](https://discuss.elastic.co/t/how-to-get-aggregations-on-integer-range-type-field/160892 "2018-12-14T13:49:55Z")

</div>

Hi I'd like to know how to get aggregations on integer\_range type field? While creating schema it is giving me error root\_cause": \[ { "type": "mapper\_parsing\_exception", "reason": "Mapping definition for \[salaryTest…

---

## [Help with query (range)](https://discuss.elastic.co/t/help-with-query-range/160901)

<div class="topic-metadata">

**Author:** [@PolterFox](https://discuss.elastic.co/u/PolterFox)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 1:28pm UTC](https://discuss.elastic.co/t/help-with-query-range/160901 "2018-12-14T13:28:30Z")

</div>

Hey guys, I need some help with a query. I´ve created a query which looks for are specific range of my property Ping (values greater or equal 1000), but it also needs to be in the last 1 hour. How can I achieve this re…

---

## [Stringify result of terms aggregation](https://discuss.elastic.co/t/stringify-result-of-terms-aggregation/160824)

<div class="topic-metadata">

**Author:** [@Evgheny\_Maslennikov](https://discuss.elastic.co/u/Evgheny_Maslennikov)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 1:21pm UTC](https://discuss.elastic.co/t/stringify-result-of-terms-aggregation/160824 "2018-12-14T13:21:08Z")

</div>

Is it possible to use scripted metric aggregation to stringify the result of terms aggregation? I have a terms aggregation that returns 20 buckets like: { …

---

## [Secure settings of elastic search](https://discuss.elastic.co/t/secure-settings-of-elastic-search/160841)

<div class="topic-metadata">

**Author:** [@li\_jessen2016](https://discuss.elastic.co/u/li_jessen2016)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 1:06pm UTC](https://discuss.elastic.co/t/secure-settings-of-elastic-search/160841 "2018-12-14T13:06:04Z")

</div>

Hi, I am a new comer. I read the official document of Elasticsearch Reference \[6.5\], which writes "Currently, all secure settings are node-specific settings that must have the same value on every node". Although I am n…

---

## [Server specs for Rally](https://discuss.elastic.co/t/server-specs-for-rally/160233)

<div class="topic-metadata">

**Author:** [@jpresley](https://discuss.elastic.co/u/jpresley)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 12:55pm UTC](https://discuss.elastic.co/t/server-specs-for-rally/160233 "2018-12-14T12:55:17Z")

</div>

I'm about to use Rally to benchmark a cluster on elastic.co so that we can get a better idea of our needs. I'd like to use an AWS EC2 instance for Rally so that we don't have the office network as a bottle neck. What sor…

---

## [Can we use boost (^) functionality and then sort on that in results from query string?](https://discuss.elastic.co/t/can-we-use-boost-functionality-and-then-sort-on-that-in-results-from-query-string/160904)

<div class="topic-metadata">

**Author:** [@kanika](https://discuss.elastic.co/u/kanika)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 12:32pm UTC](https://discuss.elastic.co/t/can-we-use-boost-functionality-and-then-sort-on-that-in-results-from-query-string/160904 "2018-12-14T12:32:44Z")

</div>

I have a field- Firstname and Lastname in my index. I have a query where if i type "Ra", i am able to get the results which start with "Ra" first as shown below using the boost (^) in query string on the Firstname field…

---

## [Elastic Search giving error with Akeneo installation of No handler for type \[keyword\] declared on field \[identifier\]"](https://discuss.elastic.co/t/elastic-search-giving-error-with-akeneo-installation-of-no-handler-for-type-keyword-declared-on-field-identifier/160882)

<div class="topic-metadata">

**Author:** [@Reena](https://discuss.elastic.co/u/Reena)\
**Replies:** 3\
**Last updated:** [December 14, 2018, 12:10pm UTC](https://discuss.elastic.co/t/elastic-search-giving-error-with-akeneo-installation-of-no-handler-for-type-keyword-declared-on-field-identifier/160882 "2018-12-14T12:10:01Z")

</div>

I am installing Akeneo on my server. It requires Elasticsearch installation as dependency. I have installed elastic search on my server. Here its version: root@s138225:/# curl "localhost:9200" { "name" : "Brute I", …

---

## [Elastic Nest accessing sub property of text](https://discuss.elastic.co/t/elastic-nest-accessing-sub-property-of-text/160887)

<div class="topic-metadata">

**Author:** [@Amol\_Hegana](https://discuss.elastic.co/u/Amol_Hegana)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 12:08pm UTC](https://discuss.elastic.co/t/elastic-nest-accessing-sub-property-of-text/160887 "2018-12-14T12:08:34Z")

</div>

I have created text property name also i have created sub property as words\_count of name and i want to have range query on words\_count of name. How can i access it in c# using Nest. "mappings": { "person": { "pro…

---

## [How to disable automatic field name camelcasing of specific property in Elasticsearch.NET/NEST?](https://discuss.elastic.co/t/how-to-disable-automatic-field-name-camelcasing-of-specific-property-in-elasticsearch-net-nest/160885)

<div class="topic-metadata">

**Author:** [@JohnArete](https://discuss.elastic.co/u/JohnArete)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 10:50am UTC](https://discuss.elastic.co/t/how-to-disable-automatic-field-name-camelcasing-of-specific-property-in-elasticsearch-net-nest/160885 "2018-12-14T10:50:52Z")

</div>

NEST automatically camelcases all field names (as stated in the documentation https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/field-inference.html#camel-casing). There is also a way to define a conne…

---

## [Nested - Performance - Any other better way?](https://discuss.elastic.co/t/nested-performance-any-other-better-way/160876)

<div class="topic-metadata">

**Author:** [@boeledi01](https://discuss.elastic.co/u/boeledi01)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 10:23am UTC](https://discuss.elastic.co/t/nested-performance-any-other-better-way/160876 "2018-12-14T10:23:00Z")

</div>

Hi All, I would like to have your opinion and maybe hints on how to improve the way we are indexing the data, from a query performance perspective. As a foreword, we already tried to flatten as much as possible but we …

---

## [Is there much value in having different values for cluster.routing.allocation.disk.watermark.low/high configs?](https://discuss.elastic.co/t/is-there-much-value-in-having-different-values-for-cluster-routing-allocation-disk-watermark-low-high-configs/159845)

<div class="topic-metadata">

**Author:** [@bsarkar](https://discuss.elastic.co/u/bsarkar)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 10:15am UTC](https://discuss.elastic.co/t/is-there-much-value-in-having-different-values-for-cluster-routing-allocation-disk-watermark-low-high-configs/159845 "2018-12-14T10:15:05Z")

</div>

Let's say the value of cluster.routing.allocation.disk.watermark.low and cluster.routing.allocation.disk.watermark.high are 85% and 90% respectively. Let's say a data node has 87% disk filled. Now, shard allocation will …

---

## [Error while setting up Elastic Cluster](https://discuss.elastic.co/t/error-while-setting-up-elastic-cluster/160866)

<div class="topic-metadata">

**Author:** [@Sathish\_Gopal](https://discuss.elastic.co/u/Sathish_Gopal)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 9:56am UTC](https://discuss.elastic.co/t/error-while-setting-up-elastic-cluster/160866 "2018-12-14T09:56:51Z")

</div>

Hi, I'm trying to setup a 2 node cluster. one of the elastic node is running inside docker VM. My docker vm itself is running inside Virtual box vm. And the other node works inside my host machine - windows. If i run e…

---

## [Function\_score limt size](https://discuss.elastic.co/t/function-score-limt-size/159715)

<div class="topic-metadata">

**Author:** [@AmberNew](https://discuss.elastic.co/u/AmberNew)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:40am UTC](https://discuss.elastic.co/t/function-score-limt-size/159715 "2018-12-14T09:40:12Z")

</div>

{ "query": { "function\_score" : { "query": { "match": { "title":"elasticsearch" } }, "script\_score": { "script":{ "inline": "javapulgin", "lang": "native", } } }, "size": 10 } the idea is we will use sc…

---

## [Fuzziness above 2 distance or 60% levenshtein match](https://discuss.elastic.co/t/fuzziness-above-2-distance-or-60-levenshtein-match/159898)

<div class="topic-metadata">

**Author:** [@Amol\_Hegana](https://discuss.elastic.co/u/Amol_Hegana)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:38am UTC](https://discuss.elastic.co/t/fuzziness-above-2-distance-or-60-levenshtein-match/159898 "2018-12-14T09:38:15Z")

</div>

Right now fuzziness covers only till 2 distance. Can we increase it? I have keywords stored in elastic let take one "theeventandfood", I am reading ocr lines where i am expecting errors and that allowed error percentage…

---

## [Regarding Rolling Updates](https://discuss.elastic.co/t/regarding-rolling-updates/160142)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:34am UTC](https://discuss.elastic.co/t/regarding-rolling-updates/160142 "2018-12-14T09:34:09Z")

</div>

Hi, When deploying/updating elasticsearch what is the best order in which to iterate through the nodes? In my deployments I start with master nodes and end with data nodes. But I'm starting to think the opposite may be …

---

## [Why this large differences](https://discuss.elastic.co/t/why-this-large-differences/160411)

<div class="topic-metadata">

**Author:** [@jacobot](https://discuss.elastic.co/u/jacobot)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:31am UTC](https://discuss.elastic.co/t/why-this-large-differences/160411 "2018-12-14T09:31:14Z")

</div>

\*\* Situation \*\* Current I issued this GET /\_cat/allocation?v&h=disk.indices,disk.avail,disk.used,disk.total,disk.percent I get disk.indices disk.avail disk.used disk.total disk.percent 12gb 7.5gb 42.…

---

## [Enrich all Elasticsearch REST requests by adding filters from plugin](https://discuss.elastic.co/t/enrich-all-elasticsearch-rest-requests-by-adding-filters-from-plugin/160714)

<div class="topic-metadata">

**Author:** [@Uiidoi12](https://discuss.elastic.co/u/Uiidoi12)\
**Replies:** 12\
**Last updated:** [December 14, 2018, 9:18am UTC](https://discuss.elastic.co/t/enrich-all-elasticsearch-rest-requests-by-adding-filters-from-plugin/160714 "2018-12-14T09:18:42Z")

</div>

Hi, would it be possible to catch all Elasticsearch requests, from a plugin, in order to enrich them by adding some filters without changing the query client-side? E.g. user calls GET /\_search and I will add: { "que…

---

## [Xpack setting up security](https://discuss.elastic.co/t/xpack-setting-up-security/159796)

<div class="topic-metadata">

**Author:** [@lilyevsky](https://discuss.elastic.co/u/lilyevsky)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 9:16am UTC](https://discuss.elastic.co/t/xpack-setting-up-security/159796 "2018-12-14T09:16:48Z")

</div>

I am just starting with Elasticsearch 6.5.1 (our current version is 5.6). Need to use XPack for users, passwords, etc. Question: Do I necessarily need to setup encryption between nodes? Or I can have authentication for…

---

## [BUG: Negative value is successfully set for "discovery.zen.commit\_timeout" parameter](https://discuss.elastic.co/t/bug-negative-value-is-successfully-set-for-discovery-zen-commit-timeout-parameter/159692)

<div class="topic-metadata">

**Author:** [@nikhil.k](https://discuss.elastic.co/u/nikhil.k)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 9:09am UTC](https://discuss.elastic.co/t/bug-negative-value-is-successfully-set-for-discovery-zen-commit-timeout-parameter/159692 "2018-12-14T09:09:44Z")

</div>

Hi Everyone, Elasticsearch Version: 5.5 I am able to successfully set the negative value of "discovery.zen.commit\_timeout" parameter in elasticsearch.yml or when it's value is changed dynamically by using the cluster u…

---

## [Aggregating array of objects](https://discuss.elastic.co/t/aggregating-array-of-objects/160745)

<div class="topic-metadata">

**Author:** [@sp90](https://discuss.elastic.co/u/sp90)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 8:20am UTC](https://discuss.elastic.co/t/aggregating-array-of-objects/160745 "2018-12-14T08:20:18Z")

</div>

Im trying to figure out what im doing wrong, i have collected the following, "Sub set of data", "Current query", "Current output" & "Desired output" if more is required please let me know. This is how my data objects lo…

---

## [XPack ClassNotFoundException: com.unboundid.util.Debug in java](https://discuss.elastic.co/t/xpack-classnotfoundexception-com-unboundid-util-debug-in-java/160852)

<div class="topic-metadata">

**Author:** [@lip](https://discuss.elastic.co/u/lip)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 8:00am UTC](https://discuss.elastic.co/t/xpack-classnotfoundexception-com-unboundid-util-debug-in-java/160852 "2018-12-14T08:00:49Z")

</div>

I m using Elasticsearch 6.3.1 and xpack 6.3.1,here is the Exception in my project Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.unboundid.util.Debug at org.elasticsearch.xpack.core.XPack…

---

## [Mapping conflicts between Object and Text](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591)

<div class="topic-metadata">

**Author:** [@sss](https://discuss.elastic.co/u/sss)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 7:36am UTC](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591 "2018-12-14T07:36:34Z")

</div>

Hello, I have 2 fields with conflicting types text, object and these fields are being indexed into same document and as a result, index request is giving a MapperParserException in ES 5.x..While this works perfectly fin…

---

## [Aggregation-keywords](https://discuss.elastic.co/t/aggregation-keywords/160300)

<div class="topic-metadata">

**Author:** [@Raghunadhan](https://discuss.elastic.co/u/Raghunadhan)\
**Replies:** 10\
**Last updated:** [December 14, 2018, 7:34am UTC](https://discuss.elastic.co/t/aggregation-keywords/160300 "2018-12-14T07:34:12Z")

</div>

Dear All, What does term and keyword mean that are used in aggregation query, Please find the example below GET /bank/\_search { "size": 0, "aggs": { "group\_by\_state": { "terms": { "field": "state.keyword" }, "…

---

## [Transport Client Documentation Bug](https://discuss.elastic.co/t/transport-client-documentation-bug/160845)

<div class="topic-metadata">

**Author:** [@mikepc](https://discuss.elastic.co/u/mikepc)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 6:30am UTC](https://discuss.elastic.co/t/transport-client-documentation-bug/160845 "2018-12-14T06:30:04Z")

</div>

Ok -- first of all I love elasticsearch. It's an amazing tool that's doing exactly what I want it to. That said.. your documentation is so myopic it's worthless. The context of the code samples are so limited in scope …

---

## [Error in curator log on Date math function](https://discuss.elastic.co/t/error-in-curator-log-on-date-math-function/160308)

<div class="topic-metadata">

**Author:** [@Elango-mas](https://discuss.elastic.co/u/Elango-mas)\
**Replies:** 6\
**Last updated:** [December 14, 2018, 5:34am UTC](https://discuss.elastic.co/t/error-in-curator-log-on-date-math-function/160308 "2018-12-14T05:34:25Z")

</div>

Hi Team, I am trying to take snapshot using curator and the job is successful. But i get the below error in the log file. 2018-12-11 07:39:57,048 INFO curator.utils parse\_date\_pattern:1338 "\<baseut\_\_{…

---

## [Snapshot and Restore for ES Cluster with Remote FTP Address](https://discuss.elastic.co/t/snapshot-and-restore-for-es-cluster-with-remote-ftp-address/160838)

<div class="topic-metadata">

**Author:** [@preraktiwari](https://discuss.elastic.co/u/preraktiwari)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 4:35am UTC](https://discuss.elastic.co/t/snapshot-and-restore-for-es-cluster-with-remote-ftp-address/160838 "2018-12-14T04:35:37Z")

</div>

I have a 3 node elastic cluster on production. Out of 3, 2 nodes are in Primary site and 1 Node is in DR site. We are already using Commonvalut as our file system backup solution, but the Elastic documentation got us in…

---

## [Why is my Elasticseach API(\_nodes/stats) getting stuck?](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712)

<div class="topic-metadata">

**Author:** [@Chirag\_Lakhanpal](https://discuss.elastic.co/u/Chirag_Lakhanpal)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 4:00am UTC](https://discuss.elastic.co/t/why-is-my-elasticseach-api-nodes-stats-getting-stuck/160712 "2018-12-14T04:00:13Z")

</div>

I'm using Elasticsearch v6.5.1 on a 40 nodes cluster with analysis-icu plugin installed. When making a consecutive \_nodes/stats to 40 nodes the request get stuck after a while. I have enabled trace logs for root as …

---

## [Problem with Bucket Script Aggregation in Machine Learning Datafeed](https://discuss.elastic.co/t/problem-with-bucket-script-aggregation-in-machine-learning-datafeed/160833)

<div class="topic-metadata">

**Author:** [@elasticitous](https://discuss.elastic.co/u/elasticitous)\
**Replies:** 0\
**Last updated:** [December 14, 2018, 2:56am UTC](https://discuss.elastic.co/t/problem-with-bucket-script-aggregation-in-machine-learning-datafeed/160833 "2018-12-14T02:56:30Z")

</div>

I'm attempting to create a datafeed for a machine learning job that uses Bucket Script Aggregation as referenced here: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-bucket-…

---

## [Move all data in a path to other path (different mount)](https://discuss.elastic.co/t/move-all-data-in-a-path-to-other-path-different-mount/160554)

<div class="topic-metadata">

**Author:** [@merceskoba](https://discuss.elastic.co/u/merceskoba)\
**Replies:** 4\
**Last updated:** [December 14, 2018, 2:21am UTC](https://discuss.elastic.co/t/move-all-data-in-a-path-to-other-path-different-mount/160554 "2018-12-14T02:21:39Z")

</div>

Hello guys, I have 250 gb ES in /data/elasticsearch/ (/dev/sda1). The disk space is 60 gb left. I want to add new disk space using LVM (/dev/mapper/data-dataes) Do you guys have any idea to move all whole data into ne…

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

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