# Elasticsearch

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

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

**Page:** 1723

---

## [Elasticsearch maintenance with cluster.routing.allocation.enable=none](https://discuss.elastic.co/t/elasticsearch-maintenance-with-cluster-routing-allocation-enable-none/126298)

<div class="topic-metadata">

**Author:** [@kyle\_che](https://discuss.elastic.co/u/kyle_che)\
**Replies:** 2\
**Last updated:** [April 11, 2018, 2:47pm UTC](https://discuss.elastic.co/t/elasticsearch-maintenance-with-cluster-routing-allocation-enable-none/126298 "2018-04-11T14:47:21Z")

</div>

When doing a rolling upgrade, it says to set "cluster.routing.allocation.enable=none" and then flush. Is the documentation for 6.2 wrong in that it disables using persistent and then does transient? Should it not be …

---

## [Elimination of repeated document in elasticsearch aggregation query](https://discuss.elastic.co/t/elimination-of-repeated-document-in-elasticsearch-aggregation-query/127648)

<div class="topic-metadata">

**Author:** [@Ali\_Ahmed](https://discuss.elastic.co/u/Ali_Ahmed)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 2:08pm UTC](https://discuss.elastic.co/t/elimination-of-repeated-document-in-elasticsearch-aggregation-query/127648 "2018-04-11T14:08:33Z")

</div>

i have 5 documents of index which having a array of topics , 2 of them documents having a duplication of array something like below { "\_index": "testindex", "\_type": "testindex", "\_id": "125", "\_score": 1, "\_source":…

---

## [Problems with an Id with a number sign](https://discuss.elastic.co/t/problems-with-an-id-with-a-number-sign/127614)

<div class="topic-metadata">

**Author:** [@majid\_zarrin](https://discuss.elastic.co/u/majid_zarrin)\
**Replies:** 3\
**Last updated:** [April 11, 2018, 2:01pm UTC](https://discuss.elastic.co/t/problems-with-an-id-with-a-number-sign/127614 "2018-04-11T14:01:11Z")

</div>

Hello, I have a document with a number sign (#) at the end of its Id. It makes some problems. I tried to delete it inside Kibana but no success. \[43%20PM\] Also, I tried with Java High-Level REST Client but again no …

---

## [Unable to start logstash in putty](https://discuss.elastic.co/t/unable-to-start-logstash-in-putty/127606)

<div class="topic-metadata">

**Author:** [@sreddy4](https://discuss.elastic.co/u/sreddy4)\
**Replies:** 1\
**Last updated:** [April 11, 2018, 1:14pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-in-putty/127606 "2018-04-11T13:14:42Z")

</div>

Starting logstash rpm using below command Using Command: "sudo service logstash start" But, am unable to start logstash through this command. Error: unrecognized service So, kindly suggest me what is the command for …

---

## [Rearrange inner hits using rescore query](https://discuss.elastic.co/t/rearrange-inner-hits-using-rescore-query/127631)

<div class="topic-metadata">

**Author:** [@Vaibhav1192](https://discuss.elastic.co/u/Vaibhav1192)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 12:59pm UTC](https://discuss.elastic.co/t/rearrange-inner-hits-using-rescore-query/127631 "2018-04-11T12:59:08Z")

</div>

We have defined ProjectContract and RepositoryContract with parent child relationships. Running rescore query updates the scores of parent document. And returns the list of the parent documents arranged in descending or…

---

## [Unable to load the dataset from json](https://discuss.elastic.co/t/unable-to-load-the-dataset-from-json/127611)

<div class="topic-metadata">

**Author:** [@aravind\_apalya](https://discuss.elastic.co/u/aravind_apalya)\
**Replies:** 3\
**Last updated:** [April 11, 2018, 12:40pm UTC](https://discuss.elastic.co/t/unable-to-load-the-dataset-from-json/127611 "2018-04-11T12:40:48Z")

</div>

Hi, Just I have started tutorial on elasticstic search, while loading the data from json i am getting following exception: My request is: curl -H "Content-Type: application/json" -XPOST "http://localhost:9200/bank/\_do…

---

## [Problem migrating from TransportClient to high level rest client](https://discuss.elastic.co/t/problem-migrating-from-transportclient-to-high-level-rest-client/126541)

<div class="topic-metadata">

**Author:** [@deepakpiscean](https://discuss.elastic.co/u/deepakpiscean)\
**Replies:** 6\
**Last updated:** [April 11, 2018, 12:40pm UTC](https://discuss.elastic.co/t/problem-migrating-from-transportclient-to-high-level-rest-client/126541 "2018-04-11T12:40:21Z")

</div>

We have been using ES 5.2, and java API with TransportClient. The use case is, our users select an index, and input a JSON query. We use this query with SearchTemplateRequestBuilder to get the response. The code looks li…

---

## [Grammer + query\_string with fuzzy '~'](https://discuss.elastic.co/t/grammer-query-string-with-fuzzy/127594)

<div class="topic-metadata">

**Author:** [@N\_M\_10](https://discuss.elastic.co/u/N_M_10)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 9:23am UTC](https://discuss.elastic.co/t/grammer-query-string-with-fuzzy/127594 "2018-04-11T09:23:04Z")

</div>

my mapping (part of it) "exact": { "filter": \[ "lowercase", "my\_snow", //grammer "my\_stop" //stopwords \], "tokenizer": "standard", "type": "custom" } Note: exact is s…

---

## [Term Frequency](https://discuss.elastic.co/t/term-frequency/127620)

<div class="topic-metadata">

**Author:** [@sdickson](https://discuss.elastic.co/u/sdickson)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 11:51am UTC](https://discuss.elastic.co/t/term-frequency/127620 "2018-04-11T11:51:16Z")

</div>

Is there a way to retrieve a list of high frequency terms across a set of documents?

---

## [Sum of two fields into a one custom field](https://discuss.elastic.co/t/sum-of-two-fields-into-a-one-custom-field/127600)

<div class="topic-metadata">

**Author:** [@prasad.ram1431](https://discuss.elastic.co/u/prasad.ram1431)\
**Replies:** 5\
**Last updated:** [April 11, 2018, 10:58am UTC](https://discuss.elastic.co/t/sum-of-two-fields-into-a-one-custom-field/127600 "2018-04-11T10:58:07Z")

</div>

Hi , I am new to elasticsearch, I have a requirement like, i have data indexed into elasticsearch, which contains all string fields. I need to do sum of two fields among them into one custom field. Is it possible to per…

---

## [Deleted documents are present in targeted search but not in Kibana](https://discuss.elastic.co/t/deleted-documents-are-present-in-targeted-search-but-not-in-kibana/127591)

<div class="topic-metadata">

**Author:** [@DidierB](https://discuss.elastic.co/u/DidierB)\
**Replies:** 7\
**Last updated:** [April 11, 2018, 10:56am UTC](https://discuss.elastic.co/t/deleted-documents-are-present-in-targeted-search-but-not-in-kibana/127591 "2018-04-11T10:56:15Z")

</div>

Hello, To follow stats about some id, I continuously "update" ES documents based on an \_id (about 40 millions updates per day). Update means I execute a upsert script that add a value to a counter and update a "last tou…

---

## [Accessing inline fields of es json response](https://discuss.elastic.co/t/accessing-inline-fields-of-es-json-response/127612)

<div class="topic-metadata">

**Author:** [@prasad.ram1431](https://discuss.elastic.co/u/prasad.ram1431)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 10:43am UTC](https://discuss.elastic.co/t/accessing-inline-fields-of-es-json-response/127612 "2018-04-11T10:43:17Z")

</div>

Hi All, I am new to Elasticsearch, could any one please help me on getting the value of a particular of below format, "\_source": { "Identification": { "PAYL\_HDR": { "DUNS\_NBR": "12345678", "GEO\_REF\_ID": "34567", "…

---

## [Can multiple ES instances share the same data directory?](https://discuss.elastic.co/t/can-multiple-es-instances-share-the-same-data-directory/123754)

<div class="topic-metadata">

**Author:** [@vicodark](https://discuss.elastic.co/u/vicodark)\
**Replies:** 3\
**Last updated:** [April 11, 2018, 9:58am UTC](https://discuss.elastic.co/t/can-multiple-es-instances-share-the-same-data-directory/123754 "2018-04-11T09:58:32Z")

</div>

I understand that this is a strange question, but for reasons that defy logic my users want the following setup and after much google-ing and testing I can't figure out if it's possible: a) There are 5 users, each at th…

---

## [Create user automatically](https://discuss.elastic.co/t/create-user-automatically/127432)

<div class="topic-metadata">

**Author:** [@flochon](https://discuss.elastic.co/u/flochon)\
**Replies:** 3\
**Last updated:** [April 11, 2018, 8:42am UTC](https://discuss.elastic.co/t/create-user-automatically/127432 "2018-04-11T08:42:40Z")

</div>

I would like add a user when I throw the script Ansible. I took the official script here : https://github.com/elastic/ansible-elasticsearch I make this for the new user : es\_users: native: kibana: password:…

---

## [Calculations on Bucket's doc\_count](https://discuss.elastic.co/t/calculations-on-buckets-doc-count/127518)

<div class="topic-metadata">

**Author:** [@Anabella\_Cristaldi](https://discuss.elastic.co/u/Anabella_Cristaldi)\
**Replies:** 2\
**Last updated:** [April 11, 2018, 8:00am UTC](https://discuss.elastic.co/t/calculations-on-buckets-doc-count/127518 "2018-04-11T08:00:35Z")

</div>

Hi all, I'm trying to get some statistics about certain events by time interval. Is it possible to use a Pipeline aggregation that uses the doc\_count of the parent aggregation? Something like this... Thank you! Ana …

---

## [No permissions after installing X-Pack](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582)

<div class="topic-metadata">

**Author:** [@kyuubi](https://discuss.elastic.co/u/kyuubi)\
**Replies:** 5\
**Last updated:** [April 11, 2018, 7:44am UTC](https://discuss.elastic.co/t/no-permissions-after-installing-x-pack/127582 "2018-04-11T07:44:27Z")

</div>

Hi, I did just install X-Pack for Logstash, Elasticsearch and Kibana. I did put the following in my kibana.yml ' elasticsearch.username: "kibana" and elasticsearch.password: "kibana" ' and I successfully logged into Kiba…

---

## [What is System Load & Segment Count](https://discuss.elastic.co/t/what-is-system-load-segment-count/126684)

<div class="topic-metadata">

**Author:** [@Adren](https://discuss.elastic.co/u/Adren)\
**Replies:** 0\
**Last updated:** [April 4, 2018, 7:04am UTC](https://discuss.elastic.co/t/what-is-system-load-segment-count/126684 "2018-04-04T07:04:23Z")

</div>

Hello, I am questioning myself about the System Load and Segment Count, what does precisely mean this data ? I saw the little "i" above it but I don't understand entirely :slight\_smile: \[image\] Regards.

---

## [Can i doing mathematical calculation in elasticsearch?](https://discuss.elastic.co/t/can-i-doing-mathematical-calculation-in-elasticsearch/126862)

<div class="topic-metadata">

**Author:** [@Fatemeh](https://discuss.elastic.co/u/Fatemeh)\
**Replies:** 18\
**Last updated:** [April 11, 2018, 6:42am UTC](https://discuss.elastic.co/t/can-i-doing-mathematical-calculation-in-elasticsearch/126862 "2018-04-11T06:42:41Z")

</div>

Hello, I am very new in Elastic search, my question is : can i do the mathematical calculations within elasticsearch like in Excel? I will be very happy if someone could help me

---

## [Very high CPU usage on one Elasticsearch data node](https://discuss.elastic.co/t/very-high-cpu-usage-on-one-elasticsearch-data-node/124466)

<div class="topic-metadata">

**Author:** [@grunde](https://discuss.elastic.co/u/grunde)\
**Replies:** 17\
**Last updated:** [April 11, 2018, 6:32am UTC](https://discuss.elastic.co/t/very-high-cpu-usage-on-one-elasticsearch-data-node/124466 "2018-04-11T06:32:20Z")

</div>

Hi, I'm having problems where sometimes one of my serving data nodes starts having 100% CPU usage while others don't. Restarting it solves the issue for a while. There was no rise in traffic. My ES cluster has 8 data…

---

## [Watcher not finding proper condition variable](https://discuss.elastic.co/t/watcher-not-finding-proper-condition-variable/127138)

<div class="topic-metadata">

**Author:** [@Levi\_M](https://discuss.elastic.co/u/Levi_M)\
**Replies:** 3\
**Last updated:** [April 11, 2018, 6:17am UTC](https://discuss.elastic.co/t/watcher-not-finding-proper-condition-variable/127138 "2018-04-11T06:17:46Z")

</div>

Hi, I've been trying to set a watcher/watchers where it monitors the health of certain indices. If the health of those indices goes red, it'll send out an email. I've been trying to get the watcher to actually run - by …

---

## [Is there REST API for all requests available in transport client?](https://discuss.elastic.co/t/is-there-rest-api-for-all-requests-available-in-transport-client/127575)

<div class="topic-metadata">

**Author:** [@sanitmaharjan](https://discuss.elastic.co/u/sanitmaharjan)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 6:17am UTC](https://discuss.elastic.co/t/is-there-rest-api-for-all-requests-available-in-transport-client/127575 "2018-04-11T06:17:21Z")

</div>

I am writing migration code from java transport client to java low level REST client. The REST API documentation has been helpful for many requests but I am getting hard time finding equivalent API for some requests that…

---

## [Query documents present in both indexes](https://discuss.elastic.co/t/query-documents-present-in-both-indexes/127465)

<div class="topic-metadata">

**Author:** [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Replies:** 2\
**Last updated:** [April 11, 2018, 5:30am UTC](https://discuss.elastic.co/t/query-documents-present-in-both-indexes/127465 "2018-04-11T05:30:25Z")

</div>

Hi, I have two indices: info-source info-destination Both the indices have a few similar field. One such field is the ip field. I wish to write a query that will give me a list of ip present in both indices. Can thi…

---

## [Is there any way to create cumulative Average aggregation similar to cumulative Sum](https://discuss.elastic.co/t/is-there-any-way-to-create-cumulative-average-aggregation-similar-to-cumulative-sum/127566)

<div class="topic-metadata">

**Author:** [@vinoz1990](https://discuss.elastic.co/u/vinoz1990)\
**Replies:** 0\
**Last updated:** [April 11, 2018, 4:39am UTC](https://discuss.elastic.co/t/is-there-any-way-to-create-cumulative-average-aggregation-similar-to-cumulative-sum/127566 "2018-04-11T04:39:33Z")

</div>

I have tried using bucket script to calculate cumulative average since bucket script cant be used in kibana. is there any other way to calculate cumulative Average? I have a field Defect Density with respect to months…

---

## [Join multiple index to search result](https://discuss.elastic.co/t/join-multiple-index-to-search-result/127488)

<div class="topic-metadata">

**Author:** [@shrikant\_savalkar](https://discuss.elastic.co/u/shrikant_savalkar)\
**Replies:** 1\
**Last updated:** [April 11, 2018, 4:41am UTC](https://discuss.elastic.co/t/join-multiple-index-to-search-result/127488 "2018-04-11T04:41:40Z")

</div>

Hi, I am using ElasticSearch ver. 6.2.3 and I have created three indexes MasterSubscribers CustomSubscriber1 CustomSubscriber2 each of these have common doc type "Subscriber" All these indexes currently have data wh…

---

## [Setting Up SSL/TLS on a Cluster](https://discuss.elastic.co/t/setting-up-ssl-tls-on-a-cluster/126136)

<div class="topic-metadata">

**Author:** [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Replies:** 6\
**Last updated:** [April 11, 2018, 1:58am UTC](https://discuss.elastic.co/t/setting-up-ssl-tls-on-a-cluster/126136 "2018-04-11T01:58:07Z")

</div>

Hi, I am using Elastic Search 5.2.2, Kibana 5.2.2 and X-Pack 5.2.2. I am planning for Data Encryption. I use both Http and TCP call from my Java Code. Will there be performance over head after SSL/T…

---

## [ES 6.x: Frequent and Long Garbage Collection](https://discuss.elastic.co/t/es-6-x-frequent-and-long-garbage-collection/127541)

<div class="topic-metadata">

**Author:** [@Thomas\_Doman](https://discuss.elastic.co/u/Thomas_Doman)\
**Replies:** 4\
**Last updated:** [April 10, 2018, 11:49pm UTC](https://discuss.elastic.co/t/es-6-x-frequent-and-long-garbage-collection/127541 "2018-04-10T23:49:09Z")

</div>

I'm having a variety of performance issues w/ ES 6.1.1 since upgrading from ES 1.7.5 and I'm trying to break them down and see what I can shake out in terms of a primary cause. ES 6.1.1 NEST 6.0.1 3 node cluster: 34 i…

---

## [GeoPoint Script Processing](https://discuss.elastic.co/t/geopoint-script-processing/126150)

<div class="topic-metadata">

**Author:** [@ESmonkey](https://discuss.elastic.co/u/ESmonkey)\
**Replies:** 4\
**Last updated:** [April 10, 2018, 11:30pm UTC](https://discuss.elastic.co/t/geopoint-script-processing/126150 "2018-04-10T23:30:59Z")

</div>

I wanted to use script term aggregation to process array of Geo point locations using arcDistance function in painless. But it seems like the arcDistance function always takes the first (lat,lon) location to do distanc…

---

## [Only Security module](https://discuss.elastic.co/t/only-security-module/127369)

<div class="topic-metadata">

**Author:** [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)\
**Replies:** 3\
**Last updated:** [April 10, 2018, 8:52pm UTC](https://discuss.elastic.co/t/only-security-module/127369 "2018-04-10T20:52:45Z")

</div>

Hi, Is there a plan to only release the security plugin from X-Pack in Kibana? I often help small customers for small web stores with 1485 products or so in store. But X-Pack comes fully loaded, and security is includ…

---

## [Data is not getting indexed in bulk request](https://discuss.elastic.co/t/data-is-not-getting-indexed-in-bulk-request/127511)

<div class="topic-metadata">

**Author:** [@meetdave2611997](https://discuss.elastic.co/u/meetdave2611997)\
**Replies:** 5\
**Last updated:** [April 10, 2018, 8:49pm UTC](https://discuss.elastic.co/t/data-is-not-getting-indexed-in-bulk-request/127511 "2018-04-10T20:49:22Z")

</div>

I have one forwarder which is forwarding data to elasticsearch in bulk request. After some documents get indexed, elasticsearch stops indexing data however we can see that data is sent by forwarder. I checked logs of el…

---

## [How do i ignore mapping conflict?](https://discuss.elastic.co/t/how-do-i-ignore-mapping-conflict/127523)

<div class="topic-metadata">

**Author:** [@meetdave2611997](https://discuss.elastic.co/u/meetdave2611997)\
**Replies:** 4\
**Last updated:** [April 10, 2018, 8:46pm UTC](https://discuss.elastic.co/t/how-do-i-ignore-mapping-conflict/127523 "2018-04-10T20:46:23Z")

</div>

I have some fields on which i do not perform any searching or aggregations and i dont care about that fields either? how do i ignore mapping conflicts while forwarding data? Also there is one field which is object Th…

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

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