# Elasticsearch

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

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

**Page:** 1687

---

## [Retry logic not implemented for all HTTP calls between elasticsearch-hadoop and Elasticsearch](https://discuss.elastic.co/t/retry-logic-not-implemented-for-all-http-calls-between-elasticsearch-hadoop-and-elasticsearch/131328)

<div class="topic-metadata">

**Author:** [@dr\_work](https://discuss.elastic.co/u/dr_work)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 6:36pm UTC](https://discuss.elastic.co/t/retry-logic-not-implemented-for-all-http-calls-between-elasticsearch-hadoop-and-elasticsearch/131328 "2018-05-16T18:36:46Z")

</div>

During chaos testing, we noticed that the elasticsearch-hadoop library failed without retrying when the Master node of the Elasticsearch cluster was killed. The logs showed that the call to discover ES version failed: C…

---

## [\_size pluging not creating field 6.2.4](https://discuss.elastic.co/t/size-pluging-not-creating-field-6-2-4/132169)

<div class="topic-metadata">

**Author:** [@djtecha](https://discuss.elastic.co/u/djtecha)\
**Replies:** 6\
**Last updated:** [May 16, 2018, 4:59pm UTC](https://discuss.elastic.co/t/size-pluging-not-creating-field-6-2-4/132169 "2018-05-16T16:59:41Z")

</div>

Hey everyone, I'm trying to get the \_size plugin to work and am kind of stuck here. I installed it on every node in my cluster via a rolling restart. I think added the \_size enabled to my mapping template and rolled ove…

---

## [Doc Variable not defined in Painless Script](https://discuss.elastic.co/t/doc-variable-not-defined-in-painless-script/132136)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 4:42pm UTC](https://discuss.elastic.co/t/doc-variable-not-defined-in-painless-script/132136 "2018-05-16T16:42:34Z")

</div>

Using script to generate data and using a doc variable, it generates the error "doc \[column\] is not defined". This error occurs in ElasticSearch 6.2.4 (production environment), when I use 6.2.3 in Docker (developer envi…

---

## [X-pack-transport-5.6.8 artifact not available in maven repository](https://discuss.elastic.co/t/x-pack-transport-5-6-8-artifact-not-available-in-maven-repository/132178)

<div class="topic-metadata">

**Author:** [@akshak](https://discuss.elastic.co/u/akshak)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 4:33pm UTC](https://discuss.elastic.co/t/x-pack-transport-5-6-8-artifact-not-available-in-maven-repository/132178 "2018-05-16T16:33:56Z")

</div>

Hello, I am building the Elasticsearch connector program using Java client for Easticsearch version 5.6.8 but seems x-pack-transport-5.6.8.jar artifact is not available in maven central repository. I see the link from h…

---

## [Adding a new field to two billion documents](https://discuss.elastic.co/t/adding-a-new-field-to-two-billion-documents/132162)

<div class="topic-metadata">

**Author:** [@kurtiskurtis](https://discuss.elastic.co/u/kurtiskurtis)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 4:09pm UTC](https://discuss.elastic.co/t/adding-a-new-field-to-two-billion-documents/132162 "2018-05-16T16:09:12Z")

</div>

After migrating nearly 2billion documents I noticed I DERPED and forgot to set a field we call "mongo\_id" on 90% of them. Is there a way to update all of the documents so that document.mongo\_id = document.meta.id

---

## [Use Junit with EsIntegTestCase](https://discuss.elastic.co/t/use-junit-with-esintegtestcase/132061)

<div class="topic-metadata">

**Author:** [@xam](https://discuss.elastic.co/u/xam)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 3:46pm UTC](https://discuss.elastic.co/t/use-junit-with-esintegtestcase/132061 "2018-05-16T15:46:38Z")

</div>

Hi, I want to perform integration test with JUnit. My test class inherits from ESIntegTestCase. But I also want my test resolves Spring bean. For my first try, I used the SpringJUnit4ClassRunner but it failed, as the S…

---

## [Elasticsearch in Docker on Jenkins fails health check](https://discuss.elastic.co/t/elasticsearch-in-docker-on-jenkins-fails-health-check/132107)

<div class="topic-metadata">

**Author:** [@austinmodo](https://discuss.elastic.co/u/austinmodo)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 3:29pm UTC](https://discuss.elastic.co/t/elasticsearch-in-docker-on-jenkins-fails-health-check/132107 "2018-05-16T15:29:09Z")

</div>

I am using Elasticsearch and docker-compose inside a Jenkins pipeline to run my tests. Both Elasticsearch and the Node.js service seem to start properly from Docker, but performing a health check by hitting the http://el…

---

## [Rally Track Report Analysis (follow up)](https://discuss.elastic.co/t/rally-track-report-analysis-follow-up/127266)

<div class="topic-metadata">

**Author:** [@ize0j10](https://discuss.elastic.co/u/ize0j10)\
**Replies:** 17\
**Last updated:** [May 16, 2018, 3:23pm UTC](https://discuss.elastic.co/t/rally-track-report-analysis-follow-up/127266 "2018-05-16T15:23:12Z")

</div>

Continuing the discussion from Rally Track Report Analysis: Hi, we are running esrally Version 0.9.4 (with options --pipeline=benchmark-only --client-ptions="use\_ssl:true,verify\_certs:false,basic\_auth\_user:'${ESRALLY\_…

---

## [Expected numeric type on field \[...\], but got \[keyword\]](https://discuss.elastic.co/t/expected-numeric-type-on-field-but-got-keyword/131997)

<div class="topic-metadata">

**Author:** [@Badger](https://discuss.elastic.co/u/Badger)\
**Replies:** 5\
**Last updated:** [May 16, 2018, 3:10pm UTC](https://discuss.elastic.co/t/expected-numeric-type-on-field-but-got-keyword/131997 "2018-05-16T15:10:55Z")

</div>

In 6.2.4 I have a machine learning job with a summary count that is set to a keyword field. It runs just fine. In the anomaly explorer I select an anomaly and click on Open Link / View series. That opens a new window tha…

---

## [Migration from AWS CloudSearch](https://discuss.elastic.co/t/migration-from-aws-cloudsearch/131205)

<div class="topic-metadata">

**Author:** [@chrispappas](https://discuss.elastic.co/u/chrispappas)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 3:10pm UTC](https://discuss.elastic.co/t/migration-from-aws-cloudsearch/131205 "2018-05-16T15:10:10Z")

</div>

My company is currently working on migration away from Amazon CloudSearch (ACS) to Elastic. ACS Domains are basically a single index, unlike ES which as I've learned can support virtually unlimited numbers of distinct i…

---

## [Log alert using elastic search](https://discuss.elastic.co/t/log-alert-using-elastic-search/132160)

<div class="topic-metadata">

**Author:** [@abhijithmadhav](https://discuss.elastic.co/u/abhijithmadhav)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 2:57pm UTC](https://discuss.elastic.co/t/log-alert-using-elastic-search/132160 "2018-05-16T14:57:30Z")

</div>

We have a typical ELK stack deployment in our organization. Logstash pumps our application logs into Elastic Search with each log message being mapped to a document. We use Kibana or the REST interface to Elastic Search …

---

## [Specifying analyzer for the synonym parser](https://discuss.elastic.co/t/specifying-analyzer-for-the-synonym-parser/132156)

<div class="topic-metadata">

**Author:** [@aclowkey](https://discuss.elastic.co/u/aclowkey)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 2:48pm UTC](https://discuss.elastic.co/t/specifying-analyzer-for-the-synonym-parser/132156 "2018-05-16T14:48:49Z")

</div>

Hi, I'm designing an analysis chain which has shingle and synonym graph filter, and other lowercase, stemmer,etc. The purpose is to map tokens to custom dictionary and support overlapping tokens. For example. Diction…

---

## [Access filtering in tree structure](https://discuss.elastic.co/t/access-filtering-in-tree-structure/130990)

<div class="topic-metadata">

**Author:** [@DLK](https://discuss.elastic.co/u/DLK)\
**Replies:** 8\
**Last updated:** [May 16, 2018, 2:15pm UTC](https://discuss.elastic.co/t/access-filtering-in-tree-structure/130990 "2018-05-16T14:15:27Z")

</div>

I have to construct a non-trivial access filter for use with all queries on my document index. My documents and related models look like this: DocumentIndexModel int Id List(int) AncestorIdPath DocumentAccessModel Ac…

---

## [Is there Disk Limit on Warm/Hot Nodes](https://discuss.elastic.co/t/is-there-disk-limit-on-warm-hot-nodes/131852)

<div class="topic-metadata">

**Author:** [@SKumarMN](https://discuss.elastic.co/u/SKumarMN)\
**Replies:** 5\
**Last updated:** [May 16, 2018, 1:34pm UTC](https://discuss.elastic.co/t/is-there-disk-limit-on-warm-hot-nodes/131852 "2018-05-16T13:34:23Z")

</div>

Hi All, We are running Hot/Warm nodes for time series data. Hot Nodes are on SSD and Warm are on Spinning disks both with 64GB Ram where 30G is allocated as ES heap size. ES version is 5.6.x. Is there any limit of data …

---

## [Benchmarking index size increase with new mapping parameters](https://discuss.elastic.co/t/benchmarking-index-size-increase-with-new-mapping-parameters/132130)

<div class="topic-metadata">

**Author:** [@randomuser](https://discuss.elastic.co/u/randomuser)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 1:08pm UTC](https://discuss.elastic.co/t/benchmarking-index-size-increase-with-new-mapping-parameters/132130 "2018-05-16T13:08:19Z")

</div>

Hello, So I'm trying to add new mapping parameters to my index, reindex, and then compare the index size increase. Specifically, I'm interested in the term\_vectors field and how much it would increase index size.. shoul…

---

## [Getting error while installing ElasticSeacrh on Win 10](https://discuss.elastic.co/t/getting-error-while-installing-elasticseacrh-on-win-10/132095)

<div class="topic-metadata">

**Author:** [@prithwish](https://discuss.elastic.co/u/prithwish)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 1:00pm UTC](https://discuss.elastic.co/t/getting-error-while-installing-elasticseacrh-on-win-10/132095 "2018-05-16T13:00:52Z")

</div>

I am new to this and keep on getting below error after hitting .\\elasticsearch.bat \[2018-05-16T15:47:34,733\]\[INFO \]\[o.e.p.PluginsService \] \[tHukO3-\] loaded module \[aggs-matrix-stats\] \[2018-05-16T15:47:34,733\]\[INFO …

---

## [Analyze method error](https://discuss.elastic.co/t/analyze-method-error/132121)

<div class="topic-metadata">

**Author:** [@aarthinim](https://discuss.elastic.co/u/aarthinim)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 1:00pm UTC](https://discuss.elastic.co/t/analyze-method-error/132121 "2018-05-16T13:00:08Z")

</div>

Header\[\] headers = {new BasicHeader("authorization", "Basic ZWxhc3RpYzplbGFzdGlj")}; RestHighLevelClient client = new RestHighLevelClient( RestClient.builder( new HttpHost("ip", 9200, "http"))); String jsonString = "…

---

## [Configuring icu\_tokenizer to keep hashtag in token](https://discuss.elastic.co/t/configuring-icu-tokenizer-to-keep-hashtag-in-token/129529)

<div class="topic-metadata">

**Author:** [@Robert\_Fiser1](https://discuss.elastic.co/u/Robert_Fiser1)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 12:15pm UTC](https://discuss.elastic.co/t/configuring-icu-tokenizer-to-keep-hashtag-in-token/129529 "2018-05-16T12:15:33Z")

</div>

Hi, we'r using icu\_tokenizer to analyze text which may be in many languages. The problem is that text contains hastags like #dog #cat etc. and icu\_tokenizer removes the '#' characters from tokens. So we'r not able to fi…

---

## [Prefix query is case sensitive despite both index and search analyzers using lowercase filter?](https://discuss.elastic.co/t/prefix-query-is-case-sensitive-despite-both-index-and-search-analyzers-using-lowercase-filter/132118)

<div class="topic-metadata">

**Author:** [@ifo20](https://discuss.elastic.co/u/ifo20)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 12:10pm UTC](https://discuss.elastic.co/t/prefix-query-is-case-sensitive-despite-both-index-and-search-analyzers-using-lowercase-filter/132118 "2018-05-16T12:10:35Z")

</div>

Full question can also be found here https://stackoverflow.com/questions/50368459/why-is-my-elastic-search-prefix-query-case-sensitive-despite-using-lowercase-fil Essentially I am using a prefix query on the Name.raw fi…

---

## [Calculation possible?](https://discuss.elastic.co/t/calculation-possible/132045)

<div class="topic-metadata">

**Author:** [@remco\_zwaan](https://discuss.elastic.co/u/remco_zwaan)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 11:33am UTC](https://discuss.elastic.co/t/calculation-possible/132045 "2018-05-16T11:33:52Z")

</div>

Hi, This is part of a result of room X. "prices": { "2019-05-15": 80, "2019-05-16": 80, "2019-05-17": 85, "2019-05-18": 88, }, Each day can have a different price per room. Based on visitor client side calendar …

---

## [Elastisearch 5.6.4 on RPI 3+](https://discuss.elastic.co/t/elastisearch-5-6-4-on-rpi-3/131595)

<div class="topic-metadata">

**Author:** [@bruno-d](https://discuss.elastic.co/u/bruno-d)\
**Replies:** 8\
**Last updated:** [May 16, 2018, 10:06am UTC](https://discuss.elastic.co/t/elastisearch-5-6-4-on-rpi-3/131595 "2018-05-16T10:06:39Z")

</div>

Hey, I am struggling on the good settings few times and have some heap issue. I have from Jan 1th a daily logstash indices and run around 650 shards ???? Daily indices are around 3mb. \*\*My config is one node, bootstr…

---

## [403 Error occur When Rally download track data](https://discuss.elastic.co/t/403-error-occur-when-rally-download-track-data/132026)

<div class="topic-metadata">

**Author:** [@8a98bb2968a03fe24acf](https://discuss.elastic.co/u/8a98bb2968a03fe24acf)\
**Replies:** 4\
**Last updated:** [May 16, 2018, 10:02am UTC](https://discuss.elastic.co/t/403-error-occur-when-rally-download-track-data/132026 "2018-05-16T10:02:43Z")

</div>

Hello. Here is an error I got. \[ERROR\] Cannot race. Error in track preparator Could not download \[http://benchmarks.elasticsearch.org.s3.amazonaws.com/corpora/geonames/documents-2.json.bz2\] to \[$MY\_PATH/.rally/…

---

## [Elasticsearch 6.2.4 only keep data for 2 months](https://discuss.elastic.co/t/elasticsearch-6-2-4-only-keep-data-for-2-months/132072)

<div class="topic-metadata">

**Author:** [@solo](https://discuss.elastic.co/u/solo)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 9:17am UTC](https://discuss.elastic.co/t/elasticsearch-6-2-4-only-keep-data-for-2-months/132072 "2018-05-16T09:17:56Z")

</div>

I have setup the following: \[txt log files\] -\> Filebeat -\> Logstash -\> Elasticsearch -\> Kibana Now I want to have Elasticsearch to keep log data for two months. How can I configure it? I cant see any property for it …

---

## [Data is not loading on "Defining Your Index Patterns" page](https://discuss.elastic.co/t/data-is-not-loading-on-defining-your-index-patterns-page/131990)

<div class="topic-metadata">

**Author:** [@Harshal\_Yeole1](https://discuss.elastic.co/u/Harshal_Yeole1)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 7:37am UTC](https://discuss.elastic.co/t/data-is-not-loading-on-defining-your-index-patterns-page/131990 "2018-05-16T07:37:51Z")

</div>

Hi, I followed Loading Sample Data Link to load the sample data in my ELK Stack and the data is loaded in the stack with indices but when I follow the new steps shown on the Defining Your Index Patterns link, and I go t…

---

## [Get dev tool return value from outside](https://discuss.elastic.co/t/get-dev-tool-return-value-from-outside/132057)

<div class="topic-metadata">

**Author:** [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 8:09am UTC](https://discuss.elastic.co/t/get-dev-tool-return-value-from-outside/132057 "2018-05-16T08:09:53Z")

</div>

When I do data calculations on kibana ，i find i need use dev tool ，beacause i need Calculate count data for example : "buckets": \[ { "key": "冲9.9得99", "doc\_count": 32 }, { "key": "冲9.9得99再赠99币", "doc\_count": 22 …

---

## [Possible to use XML for ES log4j2 configuation?](https://discuss.elastic.co/t/possible-to-use-xml-for-es-log4j2-configuation/131916)

<div class="topic-metadata">

**Author:** [@mathissimio](https://discuss.elastic.co/u/mathissimio)\
**Replies:** 3\
**Last updated:** [May 16, 2018, 7:47am UTC](https://discuss.elastic.co/t/possible-to-use-xml-for-es-log4j2-configuation/131916 "2018-05-16T07:47:45Z")

</div>

Although not a huge fan of XML I prefer it over the Java properties file format. Besides my preference, it's the most common format to configure log4j2. I tried to simply replace the log4j2.properties with an log4j2.xml.…

---

## [ES custom plugin testing](https://discuss.elastic.co/t/es-custom-plugin-testing/131989)

<div class="topic-metadata">

**Author:** [@SergeiPetrov](https://discuss.elastic.co/u/SergeiPetrov)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 6:53am UTC](https://discuss.elastic.co/t/es-custom-plugin-testing/131989 "2018-05-16T06:53:33Z")

</div>

Hi, I want to test my custom plugin for ES and I found Rally. It's a really cool tool for testing ES. I also found an article about the plugins inside the Rally documentation. But I couldn't add my custom plugin for tes…

---

## [Bulk API - Insert without "\_id"](https://discuss.elastic.co/t/bulk-api-insert-without-id/132029)

<div class="topic-metadata">

**Author:** [@kosigamaani\_thirumoo](https://discuss.elastic.co/u/kosigamaani_thirumoo)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 5:37am UTC](https://discuss.elastic.co/t/bulk-api-insert-without-id/132029 "2018-05-16T05:37:55Z")

</div>

Hi, I've upgraded ES from version 2. Current ES - version: 5.6.1 lucene version: 6.61 While i'm trying to do a BULK insert using Bulk API, it is throwing an error "\_id" is required when version or value is set. Is t…

---

## [Access denied "io.netty.recycler.maxCapacityPerThread"](https://discuss.elastic.co/t/access-denied-io-netty-recycler-maxcapacityperthread/131671)

<div class="topic-metadata">

**Author:** [@8a98bb2968a03fe24acf](https://discuss.elastic.co/u/8a98bb2968a03fe24acf)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 5:32am UTC](https://discuss.elastic.co/t/access-denied-io-netty-recycler-maxcapacityperthread/131671 "2018-05-16T05:32:20Z")

</div>

Hi, I want to benchmark ES with my custom plugin. but If I added my plugin, an error occurred. Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "io.netty.recycler.maxCapaci…

---

## [Questions about growing the cluster](https://discuss.elastic.co/t/questions-about-growing-the-cluster/131985)

<div class="topic-metadata">

**Author:** [@Mauro\_Julian\_Fernand](https://discuss.elastic.co/u/Mauro_Julian_Fernand)\
**Replies:** 2\
**Last updated:** [May 16, 2018, 5:28am UTC](https://discuss.elastic.co/t/questions-about-growing-the-cluster/131985 "2018-05-16T05:28:43Z")

</div>

Disclaimer, I am new with working with ES (4 months now, new area at work, a SOC), so maybe there are some things that I may say wrong or did not in the best way because we were in a hurry at that time. We currently hav…

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

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