# Elasticsearch

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

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

**Page:** 1954

---

## [Looking for complex scripting examples using Painless / Is this possible?](https://discuss.elastic.co/t/looking-for-complex-scripting-examples-using-painless-is-this-possible/100122)

<div class="topic-metadata">

**Author:** [@patuww](https://discuss.elastic.co/u/patuww)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 7:27pm UTC](https://discuss.elastic.co/t/looking-for-complex-scripting-examples-using-painless-is-this-possible/100122 "2017-09-11T19:27:59Z")

</div>

Where is the best place to find good examples and documentation on painless (preferred) or java (if needed)? I am new to Elasticsearch and I am trying to find out if I am trying to do something possible? I am trying to…

---

## [Update Loading Wikipedia Guide](https://discuss.elastic.co/t/update-loading-wikipedia-guide/99911)

<div class="topic-metadata">

**Author:** [@Palisand](https://discuss.elastic.co/u/Palisand)\
**Replies:** 2\
**Last updated:** [September 9, 2017, 4:32pm UTC](https://discuss.elastic.co/t/update-loading-wikipedia-guide/99911 "2017-09-09T16:32:17Z")

</div>

UPDATE: I managed to create the index; see my UPDATEs in my response below. Loading Wikipedia's Search Index For Testing was posted in early 2016. I have been trying (and failing) to load the Wikipedia search index whil…

---

## [Problem while sending e-mail alerts](https://discuss.elastic.co/t/problem-while-sending-e-mail-alerts/99827)

<div class="topic-metadata">

**Author:** [@ademsimsek](https://discuss.elastic.co/u/ademsimsek)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 6:24pm UTC](https://discuss.elastic.co/t/problem-while-sending-e-mail-alerts/99827 "2017-09-11T18:24:52Z")

</div>

Hi all, I have a problem while sending e-mail alerts. my elasticsearch.yml file configuration: xpack.notification.email.account: gmail\_account: profile: gmail smtp: auth: true starttls.enable: true host: smtp.gm…

---

## [Seeking documentation on NodeIndicesStats (and similar) Transport APIs](https://discuss.elastic.co/t/seeking-documentation-on-nodeindicesstats-and-similar-transport-apis/99537)

<div class="topic-metadata">

**Author:** [@Chris\_Bedford](https://discuss.elastic.co/u/Chris_Bedford)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 6:13pm UTC](https://discuss.elastic.co/t/seeking-documentation-on-nodeindicesstats-and-similar-transport-apis/99537 "2017-09-11T18:13:11Z")

</div>

Hello, Elasticsearch friends: I have to reverse engineer some code that makes use of org.elasticsearch.index.shard.IndexingStats, which I believe is feeding our graphing layer information on indexing requests per sec …

---

## [Getting below error after X-Pack installation](https://discuss.elastic.co/t/getting-below-error-after-x-pack-installation/80652)

<div class="topic-metadata">

**Author:** [@gayathri](https://discuss.elastic.co/u/gayathri)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 5:50pm UTC](https://discuss.elastic.co/t/getting-below-error-after-x-pack-installation/80652 "2017-09-11T17:50:44Z")

</div>

Hi Team, We are getting below error on restarting the elasticsearch: \[2017-03-30T03:15:25,300\]\[INFO \]\[o.e.x.m.e.Exporters \] \[Node\_1\] skipping exporter \[default\_local\] as it isn't ready yet \[2017-03-30T03:15:25,3…

---

## [Bug on ignore\_malformed in 5.4.3 version](https://discuss.elastic.co/t/bug-on-ignore-malformed-in-5-4-3-version/100107)

<div class="topic-metadata">

**Author:** [@mvleandro](https://discuss.elastic.co/u/mvleandro)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 5:32pm UTC](https://discuss.elastic.co/t/bug-on-ignore-malformed-in-5-4-3-version/100107 "2017-09-11T17:32:56Z")

</div>

Hello everyone! The Elasticsearch's documentation say you can use the flag ignore\_malformed on mappings to index documents with some fields malformeds, ignoring this malformed fields and saving the others. The reality …

---

## [What replaced SearchRequest.templateSource()?](https://discuss.elastic.co/t/what-replaced-searchrequest-templatesource/99914)

<div class="topic-metadata">

**Author:** [@svanschalkwyk](https://discuss.elastic.co/u/svanschalkwyk)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 3:57pm UTC](https://discuss.elastic.co/t/what-replaced-searchrequest-templatesource/99914 "2017-09-11T15:57:17Z")

</div>

I'm migrating a RestAction plugin from ES 2.0 to 5.5. I'm stuck at this line for now: searchRequest.templateSource() Prior to this the original plugin goes through some acrobatics to modify the query, change the templ…

---

## [Help with date\_histogram aggs over field by field](https://discuss.elastic.co/t/help-with-date-histogram-aggs-over-field-by-field/99766)

<div class="topic-metadata">

**Author:** [@tarp](https://discuss.elastic.co/u/tarp)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 3:53pm UTC](https://discuss.elastic.co/t/help-with-date-histogram-aggs-over-field-by-field/99766 "2017-09-11T15:53:33Z")

</div>

Hi, I’m trying to create an aggregate of an index that contains queueing metrics. Each document will contain, the queue name, enqueue rate, dequeue rate and some other values. I created an aggregate query for the enqu…

---

## [Unable to view attributes of nested json object](https://discuss.elastic.co/t/unable-to-view-attributes-of-nested-json-object/100035)

<div class="topic-metadata">

**Author:** [@NehaD](https://discuss.elastic.co/u/NehaD)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 3:33pm UTC](https://discuss.elastic.co/t/unable-to-view-attributes-of-nested-json-object/100035 "2017-09-11T15:33:36Z")

</div>

Hi, I have an Object hierarchy like below : Class Findings { int ...; String ...; ArraList matches ...; } Class Matches { int.. ; String...; String ...; } i.e. One Finding object can have list of Matches obje…

---

## [Change elasticsearch.yml and now ES will not run](https://discuss.elastic.co/t/change-elasticsearch-yml-and-now-es-will-not-run/100067)

<div class="topic-metadata">

**Author:** [@dataminer](https://discuss.elastic.co/u/dataminer)\
**Replies:** 5\
**Last updated:** [September 11, 2017, 2:05pm UTC](https://discuss.elastic.co/t/change-elasticsearch-yml-and-now-es-will-not-run/100067 "2017-09-11T14:05:17Z")

</div>

Okay - have had a single node working (ES5.5) for a week or so using network.host as 127.0.0.1, indexing and pushing responses to queries without a problem until today. Today I wanted to allow access from another machin…

---

## [Monitoring Alerts](https://discuss.elastic.co/t/monitoring-alerts/100040)

<div class="topic-metadata">

**Author:** [@mykael](https://discuss.elastic.co/u/mykael)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 1:57pm UTC](https://discuss.elastic.co/t/monitoring-alerts/100040 "2017-09-11T13:57:31Z")

</div>

The X-Pack doco makes mention of monitoring alerts raised by Watcher, but I'm struggling to find any more doco on it. Is it just accomplished through the Watcher alert logging function? Is there a document describing t…

---

## [Multiple script/condition for a watcher](https://discuss.elastic.co/t/multiple-script-condition-for-a-watcher/100051)

<div class="topic-metadata">

**Author:** [@Benjamin\_Peere](https://discuss.elastic.co/u/Benjamin_Peere)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 1:27pm UTC](https://discuss.elastic.co/t/multiple-script-condition-for-a-watcher/100051 "2017-09-11T13:27:02Z")

</div>

hello everyone, i am wondering if it is possible to have multiple conditions or script for a watcher, to do Something like this : \[image\] or like this : \[image\] obviously this doesn't work, but i would like to know …

---

## [Cant get to elastic when localhost replaced with server name](https://discuss.elastic.co/t/cant-get-to-elastic-when-localhost-replaced-with-server-name/100054)

<div class="topic-metadata">

**Author:** [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 1:12pm UTC](https://discuss.elastic.co/t/cant-get-to-elastic-when-localhost-replaced-with-server-name/100054 "2017-09-11T13:12:18Z")

</div>

HI All, I have elastic search 5.5.1 installed with xpack. I've created an index and used fscrawler to populate it. Via Postman, I perform a GET on a url in the form localhost:9200/myindex/\_search?q="William" and it all …

---

## [Elasticsearch plugin is best in that case](https://discuss.elastic.co/t/elasticsearch-plugin-is-best-in-that-case/99357)

<div class="topic-metadata">

**Author:** [@MUKTA](https://discuss.elastic.co/u/MUKTA)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 1:11pm UTC](https://discuss.elastic.co/t/elasticsearch-plugin-is-best-in-that-case/99357 "2017-09-11T13:11:28Z")

</div>

Dear sir/madam, I am having algolia search on my website (https://plaza9.com/) but unfortunately algolia does not support geo ip and because of that our multicurrency thing is not working. So i need to setup elastic se…

---

## [No hit in full text search](https://discuss.elastic.co/t/no-hit-in-full-text-search/99969)

<div class="topic-metadata">

**Author:** [@shin1](https://discuss.elastic.co/u/shin1)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 12:57pm UTC](https://discuss.elastic.co/t/no-hit-in-full-text-search/99969 "2017-09-11T12:57:57Z")

</div>

Hi All, I have an odd issue on full text search with Kibana. I just installed my ES and Kibana by default and am injecting data in two ways, REST and java application using ES java client. One interesting thing is tha…

---

## [Machine Learning datafeed started but not processing data](https://discuss.elastic.co/t/machine-learning-datafeed-started-but-not-processing-data/99850)

<div class="topic-metadata">

**Author:** [@tarp](https://discuss.elastic.co/u/tarp)\
**Replies:** 6\
**Last updated:** [September 11, 2017, 12:30pm UTC](https://discuss.elastic.co/t/machine-learning-datafeed-started-but-not-processing-data/99850 "2017-09-11T12:30:36Z")

</div>

Hi, I hadn't looked at my machine learning jobs in a while, when I did look at them they were all in a state of JobState = closed, DatafeedState = started. The Latest timestamp was from a month ago. How can I get the…

---

## [Autosuggest need help:)](https://discuss.elastic.co/t/autosuggest-need-help/100048)

<div class="topic-metadata">

**Author:** [@IDEALCo](https://discuss.elastic.co/u/IDEALCo)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 12:25pm UTC](https://discuss.elastic.co/t/autosuggest-need-help/100048 "2017-09-11T12:25:55Z")

</div>

Hello, First of all sorry for my bad english... :slight\_smile: I would like to make an autosuggest module for keyword. My company have a social network. In this site i would like to help the user for choose the right k…

---

## [Bulk size in bulk processor](https://discuss.elastic.co/t/bulk-size-in-bulk-processor/100030)

<div class="topic-metadata">

**Author:** [@Sambit\_Kabi](https://discuss.elastic.co/u/Sambit_Kabi)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 12:19pm UTC](https://discuss.elastic.co/t/bulk-size-in-bulk-processor/100030 "2017-09-11T12:19:57Z")

</div>

Hello , I would like to understand what does bulk size actually mean? Which size does it refer to? Is it the size of the documents we are indexing in a bulk manner per request? Please help me with it. Thanks

---

## [ElasticSearch, NetBeans, Maven and Java](https://discuss.elastic.co/t/elasticsearch-netbeans-maven-and-java/99976)

<div class="topic-metadata">

**Author:** [@mykael](https://discuss.elastic.co/u/mykael)\
**Replies:** 4\
**Last updated:** [September 11, 2017, 12:19pm UTC](https://discuss.elastic.co/t/elasticsearch-netbeans-maven-and-java/99976 "2017-09-11T12:19:21Z")

</div>

G'Day. I'm trying to write a Java program that interacts with ElasticSearch and the provided documentation on the Java API has been less than helpful - see https://www.elastic.co/guide/en/elasticsearch/client/java-api/c…

---

## [Elaticsearch always have a node disconnected when initializing shards](https://discuss.elastic.co/t/elaticsearch-always-have-a-node-disconnected-when-initializing-shards/99994)

<div class="topic-metadata">

**Author:** [@tkg\_cangkul](https://discuss.elastic.co/u/tkg_cangkul)\
**Replies:** 7\
**Last updated:** [September 11, 2017, 12:01pm UTC](https://discuss.elastic.co/t/elaticsearch-always-have-a-node-disconnected-when-initializing-shards/99994 "2017-09-11T12:01:46Z")

</div>

Hi, i have 4 nodes for ES in my cluster. but there is always a node disconnected when the cluster initializing shard or when i add some configuration after rolling restart. i have 64Gb RAM on each node. is there any …

---

## [Snapshot status exception](https://discuss.elastic.co/t/snapshot-status-exception/99574)

<div class="topic-metadata">

**Author:** [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Replies:** 7\
**Last updated:** [September 11, 2017, 11:54am UTC](https://discuss.elastic.co/t/snapshot-status-exception/99574 "2017-09-11T11:54:35Z")

</div>

Hi I am using ES version 1.5.2 i am opted to take snapshot using following command PUT /\_snapshot/es\_temp/snapshot\_all\_indices\_new { “indices”: “index1,index2” , “ignore\_unavailable”: “true”, “include\_global\_stat…

---

## [Multiple foreach processors on array of JSON](https://discuss.elastic.co/t/multiple-foreach-processors-on-array-of-json/99728)

<div class="topic-metadata">

**Author:** [@loren](https://discuss.elastic.co/u/loren)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 11:31am UTC](https://discuss.elastic.co/t/multiple-foreach-processors-on-array-of-json/99728 "2017-09-11T11:31:28Z")

</div>

In the docs for the foreach processor, it says “The foreach processor does restore the original value, so that value is available to processors after the foreach processor.” Can someone clarify what this means? I have t…

---

## [Trying to copy value of event into map if not nil or 0](https://discuss.elastic.co/t/trying-to-copy-value-of-event-into-map-if-not-nil-or-0/100022)

<div class="topic-metadata">

**Author:** [@tomer](https://discuss.elastic.co/u/tomer)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 9:12am UTC](https://discuss.elastic.co/t/trying-to-copy-value-of-event-into-map-if-not-nil-or-0/100022 "2017-09-11T09:12:00Z")

</div>

Hi I am trying to copy value of event into map if not nil or 0, but I am getting a "\_aggregateexception" error. I will be happy for help: I am writing in the code part: event.each { |k, v| if( event\[k\] != nil) if(ev…

---

## [Word cloud with phrase](https://discuss.elastic.co/t/word-cloud-with-phrase/100021)

<div class="topic-metadata">

**Author:** [@hjlsr](https://discuss.elastic.co/u/hjlsr)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 9:03am UTC](https://discuss.elastic.co/t/word-cloud-with-phrase/100021 "2017-09-11T09:03:36Z")

</div>

Hi all. I want have my own wordcloud that shows phrase more than single word. I use term aggregation in elasticsearch , and shingleFilter for tokenize token stream to get phrase result. so result is not suitable for…

---

## [How can show the shards of per nodes in elasticsearch 5.4.2 cluster with api search(curl)?](https://discuss.elastic.co/t/how-can-show-the-shards-of-per-nodes-in-elasticsearch-5-4-2-cluster-with-api-search-curl/100005)

<div class="topic-metadata">

**Author:** [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Replies:** 9\
**Last updated:** [September 11, 2017, 8:06am UTC](https://discuss.elastic.co/t/how-can-show-the-shards-of-per-nodes-in-elasticsearch-5-4-2-cluster-with-api-search-curl/100005 "2017-09-11T08:06:26Z")

</div>

how can show the shards of per nodes in elasticsearch 5.4.2 cluster with api search(curl)?

---

## [Pipeline aggs buckets\_path using Integer.valueOf()](https://discuss.elastic.co/t/pipeline-aggs-buckets-path-using-integer-valueof/99464)

<div class="topic-metadata">

**Author:** [@Gustavo\_Orsi](https://discuss.elastic.co/u/Gustavo_Orsi)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 8:00am UTC](https://discuss.elastic.co/t/pipeline-aggs-buckets-path-using-integer-valueof/99464 "2017-09-11T08:00:09Z")

</div>

I want to use the “\_key” from a terms aggregation (where I know all bucket keys are numbers represented as String) in the buckets\_path. There is no way of using “\_key” in the buckets\_path because we will get: “buckets\_p…

---

## [How to call elasticsearch using classic asp and JQuery](https://discuss.elastic.co/t/how-to-call-elasticsearch-using-classic-asp-and-jquery/100013)

<div class="topic-metadata">

**Author:** [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Replies:** 0\
**Last updated:** [September 11, 2017, 7:59am UTC](https://discuss.elastic.co/t/how-to-call-elasticsearch-using-classic-asp-and-jquery/100013 "2017-09-11T07:59:30Z")

</div>

HI All, I have elasticsearch 5.5.1 working with xpack. If I make a call to one of my indexs via postman setting the authorization to basic and providing the username and password I receive the correct data as expected. …

---

## [Skip pattern-replace character filter on large tokens](https://discuss.elastic.co/t/skip-pattern-replace-character-filter-on-large-tokens/99730)

<div class="topic-metadata">

**Author:** [@drs](https://discuss.elastic.co/u/drs)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 7:32am UTC](https://discuss.elastic.co/t/skip-pattern-replace-character-filter-on-large-tokens/99730 "2017-09-11T07:32:13Z")

</div>

I’m indexing some documents that occasionally have really large tokens (greater than 300,000 characters). I don’t care about searching against these large tokens, but my use of a pattern-replace char filter makes them ta…

---

## [Elastic Search working very slow and even could not tell if its rebalancing or not](https://discuss.elastic.co/t/elastic-search-working-very-slow-and-even-could-not-tell-if-its-rebalancing-or-not/99735)

<div class="topic-metadata">

**Author:** [@abhishek.yadav](https://discuss.elastic.co/u/abhishek.yadav)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 7:26am UTC](https://discuss.elastic.co/t/elastic-search-working-very-slow-and-even-could-not-tell-if-its-rebalancing-or-not/99735 "2017-09-11T07:26:58Z")

</div>

We tried to add new nodes as our datanode got above 80% but its not getting health and also could not say if its replication or shrad is in progress or not. Below are datanode logs : \[INFO \]\[cluster.service \] \[…

---

## [Inconsistency between primary shard and replicas around \_source](https://discuss.elastic.co/t/inconsistency-between-primary-shard-and-replicas-around--source/99768)

<div class="topic-metadata">

**Author:** [@jigarjm](https://discuss.elastic.co/u/jigarjm)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 7:23am UTC](https://discuss.elastic.co/t/inconsistency-between-primary-shard-and-replicas-around--source/99768 "2017-09-11T07:23:03Z")

</div>

Elasticsearch: 1.7.4 ( We understand that it is pretty old version) Index: foo shards: 1 replicas: 2 (total 3 copies, including primary shard) In our ES cluster setup with above configuration. We saw inconsistency in…

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

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