# Elasticsearch

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

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

**Page:** 1375

---

## [Elasticsearch 6.6.1, Java 11, GC](https://discuss.elastic.co/t/elasticsearch-6-6-1-java-11-gc/171137)

<div class="topic-metadata">

**Author:** [@sergeyarl](https://discuss.elastic.co/u/sergeyarl)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 2:36pm UTC](https://discuss.elastic.co/t/elasticsearch-6-6-1-java-11-gc/171137 "2019-03-06T14:36:28Z")

</div>

Hi! I'm not a Java person, so I'm sorry if I'm asking nonsense :slight\_smile: Recently we upgraded ES to version 6.6.1 and Java to version 11. So I'm wondering what GC is now used - CMS, as before, or G1. I'm asking be…

---

## [Question on ingest pipeline split operation](https://discuss.elastic.co/t/question-on-ingest-pipeline-split-operation/170673)

<div class="topic-metadata">

**Author:** [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Replies:** 4\
**Last updated:** [March 6, 2019, 2:13pm UTC](https://discuss.elastic.co/t/question-on-ingest-pipeline-split-operation/170673 "2019-03-06T14:13:19Z")

</div>

For a given string {a}{b}{c} I want output as {a} {b} {c} as seperate outputs. But what I get is {a, b and }c. The pipeline PUT \_ingest/pipeline/my\_pipeline { "processors": \[ { "split": { "field": "raw\_string"…

---

## [View\_index\_metadata doesn't allow indices:admin/get (solved)](https://discuss.elastic.co/t/view-index-metadata-doesnt-allow-indices-admin-get-solved/169861)

<div class="topic-metadata">

**Author:** [@matt\_p](https://discuss.elastic.co/u/matt_p)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 1:21pm UTC](https://discuss.elastic.co/t/view-index-metadata-doesnt-allow-indices-admin-get-solved/169861 "2019-03-06T13:21:35Z")

</div>

How should I grant permissions for GET index (https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html). From the docs I expected that view\_index\_metadata should do this. I can search the i…

---

## [How to add additional data when using ScriptEngineService and return as part of result](https://discuss.elastic.co/t/how-to-add-additional-data-when-using-scriptengineservice-and-return-as-part-of-result/171096)

<div class="topic-metadata">

**Author:** [@Yang\_zhen](https://discuss.elastic.co/u/Yang_zhen)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 1:07pm UTC](https://discuss.elastic.co/t/how-to-add-additional-data-when-using-scriptengineservice-and-return-as-part-of-result/171096 "2019-03-06T13:07:17Z")

</div>

Hi I am using ScriptEnginService to implement a scoring plugin, except the score calculated by the runAsDouble() function, I want to add more additional feature data and return as a part of result. Some doc in my ind…

---

## [Elasticsearch cluster shards allocation not even](https://discuss.elastic.co/t/elasticsearch-cluster-shards-allocation-not-even/170861)

<div class="topic-metadata">

**Author:** [@shtcb](https://discuss.elastic.co/u/shtcb)\
**Replies:** 7\
**Last updated:** [March 6, 2019, 12:40pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-shards-allocation-not-even/170861 "2019-03-06T12:40:47Z")

</div>

Hi, I have an Elasticsearch cluster setup with 3 nodes. 2 of them are Master and Data nodes with one of them being a Data only node. I had a situation where the Data only node had twice the amount of shards allocated t…

---

## [Why i get this illegal\_argument\_exception in Elasticsearch php search basic query?](https://discuss.elastic.co/t/why-i-get-this-illegal-argument-exception-in-elasticsearch-php-search-basic-query/170553)

<div class="topic-metadata">

**Author:** [@Alan\_Flores](https://discuss.elastic.co/u/Alan_Flores)\
**Replies:** 0\
**Last updated:** [March 1, 2019, 7:36pm UTC](https://discuss.elastic.co/t/why-i-get-this-illegal-argument-exception-in-elasticsearch-php-search-basic-query/170553 "2019-03-01T19:36:14Z")

</div>

I am using the Elasticsearch PHP package for execute queries. When I execute this basic search query, i get the illegal\_argument\_exception . The function elastic() returns the Client of Elasticsearch. $query = $this-\>…

---

## [Ingest GeoIP processor with custom databases (Maxmind Anonymous)](https://discuss.elastic.co/t/ingest-geoip-processor-with-custom-databases-maxmind-anonymous/171104)

<div class="topic-metadata">

**Author:** [@KG5000](https://discuss.elastic.co/u/KG5000)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 11:52am UTC](https://discuss.elastic.co/t/ingest-geoip-processor-with-custom-databases-maxmind-anonymous/171104 "2019-03-06T11:52:15Z")

</div>

I'm trying to include the Maxmind Anonymous database into my Ingest Pipeline configuration using the Ingest GeoIP processor plugin. Whenever i try to upload the Pipeline configuration i receive the following error: {"e…

---

## [Elasticsearch | Relationship based Index](https://discuss.elastic.co/t/elasticsearch-relationship-based-index/171080)

<div class="topic-metadata">

**Author:** [@Nikesh](https://discuss.elastic.co/u/Nikesh)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 12:03pm UTC](https://discuss.elastic.co/t/elasticsearch-relationship-based-index/171080 "2019-03-06T12:03:36Z")

</div>

Hi, I need to provide One-to-Many relationships in my index. example: Team and its players. Both of the above would contain similar fields. There would be constant updations or inclusion on new players to existing t…

---

## [java.lang.IllegalStateException: failed to obtain node locks](https://discuss.elastic.co/t/java-lang-illegalstateexception-failed-to-obtain-node-locks/171085)

<div class="topic-metadata">

**Author:** [@Ram\_Yoogesh](https://discuss.elastic.co/u/Ram_Yoogesh)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 11:28am UTC](https://discuss.elastic.co/t/java-lang-illegalstateexception-failed-to-obtain-node-locks/171085 "2019-03-06T11:28:19Z")

</div>

i am trying to set up kibana development environment , I foloowed the below commands from the website https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#customizing-configkibanadevyml 1 - clone the repo 2 -…

---

## [14 days trial - unable to register](https://discuss.elastic.co/t/14-days-trial-unable-to-register/171086)

<div class="topic-metadata">

**Author:** [@Jedrek\_Domanski](https://discuss.elastic.co/u/Jedrek_Domanski)\
**Replies:** 3\
**Last updated:** [March 6, 2019, 11:10am UTC](https://discuss.elastic.co/t/14-days-trial-unable-to-register/171086 "2019-03-06T11:10:29Z")

</div>

I am a developer and I tried subscribing for Elasticsearch Cloud 14 days trial to try things out but I haven't received an email to confirm my email address. Initially I navigated to this link (provided in Udemy course) h…

---

## [Malformed action/metadata line \[1\], expected START\_OBJECT or END\_OBJECT but found \[VALUE\_NUMBER\]](https://discuss.elastic.co/t/malformed-action-metadata-line-1-expected-start-object-or-end-object-but-found-value-number/170815)

<div class="topic-metadata">

**Author:** [@Pawan](https://discuss.elastic.co/u/Pawan)\
**Replies:** 2\
**Last updated:** [March 6, 2019, 9:52am UTC](https://discuss.elastic.co/t/malformed-action-metadata-line-1-expected-start-object-or-end-object-but-found-value-number/170815 "2019-03-06T09:52:08Z")

</div>

Hi, can someone help wts i am doing wrong, basically i am reading data from aws s3 and sending to elasticsearch via lambda. Python code: https://pastebin.com/qeDRQ0hQ Getting Json: https://pastebin.com/tM4jZStB Error…

---

## [About Elasticsearch LTR plugin](https://discuss.elastic.co/t/about-elasticsearch-ltr-plugin/171059)

<div class="topic-metadata">

**Author:** [@Jitendra\_Singh](https://discuss.elastic.co/u/Jitendra_Singh)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 9:09am UTC](https://discuss.elastic.co/t/about-elasticsearch-ltr-plugin/171059 "2019-03-06T09:09:31Z")

</div>

Hi Everyone, I would like to know if it's possible to pass features in LTR model which are not part of documents and can't be derived from existing fields. Assume these as external feature like query length. Please sug…

---

## [Fuzzy and sloppy request](https://discuss.elastic.co/t/fuzzy-and-sloppy-request/171057)

<div class="topic-metadata">

**Author:** [@Kahsius](https://discuss.elastic.co/u/Kahsius)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 8:56am UTC](https://discuss.elastic.co/t/fuzzy-and-sloppy-request/171057 "2019-03-06T08:56:25Z")

</div>

Hi everyone, I'm currently working on a completion suggester, but the completion suggester feature does not totally does what I want. Is it possible to perform a request which would be both fuzzy and sloppy ? For examp…

---

## [How can i get similar images by calculating distance between 128array?](https://discuss.elastic.co/t/how-can-i-get-similar-images-by-calculating-distance-between-128array/171051)

<div class="topic-metadata">

**Author:** [@psyapathy](https://discuss.elastic.co/u/psyapathy)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 8:22am UTC](https://discuss.elastic.co/t/how-can-i-get-similar-images-by-calculating-distance-between-128array/171051 "2019-03-06T08:22:48Z")

</div>

Hello! I have 2 questions: Tell me please i want to index images to ElasticSearch in this view: Image ID - number Image Name - text Image Array - 128 array (like \[1.2, 2.0, 0.0 ......... etc\]) How can i index this…

---

## [How can i search and store the value in dictionary of any datatype?](https://discuss.elastic.co/t/how-can-i-search-and-store-the-value-in-dictionary-of-any-datatype/171048)

<div class="topic-metadata">

**Author:** [@Sangeeth\_Kumar](https://discuss.elastic.co/u/Sangeeth_Kumar)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 8:12am UTC](https://discuss.elastic.co/t/how-can-i-search-and-store-the-value-in-dictionary-of-any-datatype/171048 "2019-03-06T08:12:58Z")

</div>

Hi, I have data which has any datatype in a dictionary as mentioned below, Sample JSON: { "custom\_some\_random\_string": { "Name": "John", "Birthday": "2018-1-09T23:10:11Z", "Location": { "lat": "99…

---

## [Auto Migration for Elasticsearch Indexes](https://discuss.elastic.co/t/auto-migration-for-elasticsearch-indexes/170921)

<div class="topic-metadata">

**Author:** [@patrick007](https://discuss.elastic.co/u/patrick007)\
**Replies:** 5\
**Last updated:** [March 6, 2019, 7:47am UTC](https://discuss.elastic.co/t/auto-migration-for-elasticsearch-indexes/170921 "2019-03-06T07:47:16Z")

</div>

I am new to Elasticsearch, Is there any tools or technique through which we can manage the Index automatically like the concept database schema migration /evolutions for Elasticsearch indexes. We can use Index and ass…

---

## [Email Alerts in ELK Version 5.6.12](https://discuss.elastic.co/t/email-alerts-in-elk-version-5-6-12/171036)

<div class="topic-metadata">

**Author:** [@predator](https://discuss.elastic.co/u/predator)\
**Replies:** 0\
**Last updated:** [March 6, 2019, 7:16am UTC](https://discuss.elastic.co/t/email-alerts-in-elk-version-5-6-12/171036 "2019-03-06T07:16:34Z")

</div>

Hi, I am using the elsticsearch version 5.6.12, i want to configure the email alerts for some use-cases, please guide us how i configure my ELK to get the emails alerts. Thanks

---

## [Quantifying Elasticsearch Storage Performance](https://discuss.elastic.co/t/quantifying-elasticsearch-storage-performance/171016)

<div class="topic-metadata">

**Author:** [@jbur](https://discuss.elastic.co/u/jbur)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 6:43am UTC](https://discuss.elastic.co/t/quantifying-elasticsearch-storage-performance/171016 "2019-03-06T06:43:00Z")

</div>

Hi Everyone! I'm posting the results of some tests that I performed to compare a cluster running SSD versus HDD storage. I hope that the community finds it useful. Caveat: The environment, scripts, and tests were buil…

---

## [Elasticsearch getByID and put going latent](https://discuss.elastic.co/t/elasticsearch-getbyid-and-put-going-latent/170682)

<div class="topic-metadata">

**Author:** [@akshaymaniyar](https://discuss.elastic.co/u/akshaymaniyar)\
**Replies:** 14\
**Last updated:** [March 6, 2019, 6:39am UTC](https://discuss.elastic.co/t/elasticsearch-getbyid-and-put-going-latent/170682 "2019-03-06T06:39:10Z")

</div>

Hi, We have a use case where we need to create around 4000 different indices in a cluster. Every index has a different mapping. We were benchmarking elasticsearch 6.6.1 and observed the following. When first created a …

---

## [Right steps for changing Index Mapping](https://discuss.elastic.co/t/right-steps-for-changing-index-mapping/171028)

<div class="topic-metadata">

**Author:** [@examin](https://discuss.elastic.co/u/examin)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 6:29am UTC](https://discuss.elastic.co/t/right-steps-for-changing-index-mapping/171028 "2019-03-06T06:29:52Z")

</div>

Yes i know if i have to change a index's mapping, i have to reindex it. I want to do this process quickly as possible , So what will you suggest steps for reindexing.

---

## [Can't implement pagination with scroll in ElasticSearch 6.6.1](https://discuss.elastic.co/t/cant-implement-pagination-with-scroll-in-elasticsearch-6-6-1/170952)

<div class="topic-metadata">

**Author:** [@Stefan\_Chonov](https://discuss.elastic.co/u/Stefan_Chonov)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 5:40am UTC](https://discuss.elastic.co/t/cant-implement-pagination-with-scroll-in-elasticsearch-6-6-1/170952 "2019-03-06T05:40:30Z")

</div>

I try to implement pagination with using scroll. I read this article but does not help me. https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html My problem is when I try to make a f…

---

## [SQL WHERE clause usage](https://discuss.elastic.co/t/sql-where-clause-usage/170709)

<div class="topic-metadata">

**Author:** [@Pradyumna\_Achar](https://discuss.elastic.co/u/Pradyumna_Achar)\
**Replies:** 2\
**Last updated:** [March 6, 2019, 5:05am UTC](https://discuss.elastic.co/t/sql-where-clause-usage/170709 "2019-03-06T05:05:57Z")

</div>

Hello, I am trying to understand basic usage of the WHERE clause in Elasicsearch SQL queries. I loaded the shakespeare dataset from https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html While I am …

---

## [Node failed to send join request to master](https://discuss.elastic.co/t/node-failed-to-send-join-request-to-master/170817)

<div class="topic-metadata">

**Author:** [@seowcy](https://discuss.elastic.co/u/seowcy)\
**Replies:** 4\
**Last updated:** [March 6, 2019, 1:51am UTC](https://discuss.elastic.co/t/node-failed-to-send-join-request-to-master/170817 "2019-03-06T01:51:37Z")

</div>

Hi, I have an elasticsearch cluster with 4 nodes (4 windows hosts, each running an ubuntu VM where elasticsearch is running) currently running smoothly without any issues. I am trying to add node 5 to the cluster, but a…

---

## [Auto-interval histogram aggregation](https://discuss.elastic.co/t/auto-interval-histogram-aggregation/170988)

<div class="topic-metadata">

**Author:** [@Vincent\_Stevenson](https://discuss.elastic.co/u/Vincent_Stevenson)\
**Replies:** 0\
**Last updated:** [March 5, 2019, 8:54pm UTC](https://discuss.elastic.co/t/auto-interval-histogram-aggregation/170988 "2019-03-05T20:54:34Z")

</div>

I know that ES supports auto-interval date aggs, but do they have the same feature for normal ints? Example: I have a product index with a bunch of prices and I want to make exactly 5 buckets for the price range. Can ES …

---

## [Create new index as join of two indices on specific field](https://discuss.elastic.co/t/create-new-index-as-join-of-two-indices-on-specific-field/170978)

<div class="topic-metadata">

**Author:** [@lprokein](https://discuss.elastic.co/u/lprokein)\
**Replies:** 0\
**Last updated:** [March 5, 2019, 7:20pm UTC](https://discuss.elastic.co/t/create-new-index-as-join-of-two-indices-on-specific-field/170978 "2019-03-05T19:20:38Z")

</div>

I have an index Orders with username field. But now I have new separate index Users where I now have more info about user than I was previously saving in Orders index. How can I reindex Orders index to contain these new…

---

## [Trying to do a simple query filter](https://discuss.elastic.co/t/trying-to-do-a-simple-query-filter/170942)

<div class="topic-metadata">

**Author:** [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Replies:** 5\
**Last updated:** [March 5, 2019, 7:07pm UTC](https://discuss.elastic.co/t/trying-to-do-a-simple-query-filter/170942 "2019-03-05T19:07:29Z")

</div>

Good Day, Maybe Im just over thinking this, but I just want to do a simple filter / query on a numberic number. I have a document with a timestamp and hour (0-23) have the query of data I need, but I need to filter / …

---

## [Examples do not work. NoNodeAvailable but curl works](https://discuss.elastic.co/t/examples-do-not-work-nonodeavailable-but-curl-works/170964)

<div class="topic-metadata">

**Author:** [@Steven](https://discuss.elastic.co/u/Steven)\
**Replies:** 1\
**Last updated:** [March 5, 2019, 6:40pm UTC](https://discuss.elastic.co/t/examples-do-not-work-nonodeavailable-but-curl-works/170964 "2019-03-05T18:40:15Z")

</div>

Just trying to play around with ES Java client. I've cloned https://github.com/elastic/examples/blob/master/Search/recipe\_search\_java/src/main/java/com/elastic/recipe/IndexRecipesApp.java#L43 and am running the docker i…

---

## [Unable to connect es in docker](https://discuss.elastic.co/t/unable-to-connect-es-in-docker/170880)

<div class="topic-metadata">

**Author:** [@ZQbd](https://discuss.elastic.co/u/ZQbd)\
**Replies:** 1\
**Last updated:** [March 5, 2019, 5:20pm UTC](https://discuss.elastic.co/t/unable-to-connect-es-in-docker/170880 "2019-03-05T17:20:33Z")

</div>

My es is deployed in docker ，cannot be connected using TransportClient。 debug：After accessing the es cluster through an external network port, the internal network is used, so the connection cannot be made。

---

## [Continuous query](https://discuss.elastic.co/t/continuous-query/170908)

<div class="topic-metadata">

**Author:** [@davtex](https://discuss.elastic.co/u/davtex)\
**Replies:** 1\
**Last updated:** [March 5, 2019, 5:06pm UTC](https://discuss.elastic.co/t/continuous-query/170908 "2019-03-05T17:06:37Z")

</div>

Hello, I am trying to replace InfluxDB with Elasticsearch and so far I've been 95% successful. The only thing I am struggling with is connected to our use of InfluxDB's "continuous queries". In InfluxDB: We run a CQ t…

---

## [Not getting my geo\_point](https://discuss.elastic.co/t/not-getting-my-geo-point/170525)

<div class="topic-metadata">

**Author:** [@BouchardClaude](https://discuss.elastic.co/u/BouchardClaude)\
**Replies:** 5\
**Last updated:** [March 5, 2019, 4:59pm UTC](https://discuss.elastic.co/t/not-getting-my-geo-point/170525 "2019-03-05T16:59:04Z")

</div>

Hi ! (Previously opened this issue in kibana forum, but I found it look more like ES problem after couple of debugging steps. https://discuss.elastic.co/t/kibana-not-plotting-my-geo-point/170224) so here is my mapping f…

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

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