# Elasticsearch

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

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

**Page:** 1683

---

## [License checker error](https://discuss.elastic.co/t/license-checker-error/132241)

<div class="topic-metadata">

**Author:** [@thompsonlau](https://discuss.elastic.co/u/thompsonlau)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 2:42am UTC](https://discuss.elastic.co/t/license-checker-error/132241 "2018-05-21T02:42:52Z")

</div>

When I see the log, I found the following error message. No idea to solve it. \[2018-05-17T10:23:00,142\]\[ERROR\]\[logstash.licensechecker.licensemanager\] Unable to retrieve license information from license server {:message…

---

## [Machine learning nodes](https://discuss.elastic.co/t/machine-learning-nodes/132590)

<div class="topic-metadata">

**Author:** [@mkemalm](https://discuss.elastic.co/u/mkemalm)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 10:41pm UTC](https://discuss.elastic.co/t/machine-learning-nodes/132590 "2018-05-20T22:41:05Z")

</div>

Hello, i am asking to verify some considerations about machine learning in elk stack. -xpack.ml.enabled should be true in master nodes. True or False? -node.ml should be true in nodes which are doing ml job actually. …

---

## [Defining a custom multilingual field](https://discuss.elastic.co/t/defining-a-custom-multilingual-field/131631)

<div class="topic-metadata">

**Author:** [@infojunkie](https://discuss.elastic.co/u/infojunkie)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 9:38pm UTC](https://discuss.elastic.co/t/defining-a-custom-multilingual-field/131631 "2018-05-20T21:38:23Z")

</div>

I'd like to create an index with multiple multilingual fields. Each field would allow representing the same text clause in multiple languages, using a structure like the following: "clause" : { "properties": { …

---

## [Circuit breaker issue with script](https://discuss.elastic.co/t/circuit-breaker-issue-with-script/130894)

<div class="topic-metadata">

**Author:** [@ankur\_singla](https://discuss.elastic.co/u/ankur_singla)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 9:27pm UTC](https://discuss.elastic.co/t/circuit-breaker-issue-with-script/130894 "2018-05-20T21:27:37Z")

</div>

I am getting the circuit breaker issue while using script in my java code. It states that es complies script more than 15 times with in a minute. I am using same script only my parameters are changing. Is there any way t…

---

## [\[script\] Too many dynamic script compilations within one minute, max: \[15/min\]](https://discuss.elastic.co/t/script-too-many-dynamic-script-compilations-within-one-minute-max-15-min/129406)

<div class="topic-metadata">

**Author:** [@anoopvalluthadam](https://discuss.elastic.co/u/anoopvalluthadam)\
**Replies:** 6\
**Last updated:** [May 20, 2018, 9:23pm UTC](https://discuss.elastic.co/t/script-too-many-dynamic-script-compilations-within-one-minute-max-15-min/129406 "2018-05-20T21:23:34Z")

</div>

I have almost 10K of scripts like this: POST \_scripts/536672d3cface3ddbb63666bf1b6030f { "script": { "lang": "painless", "source": "Pattern p = /\\\\s?a\\\\S\*?/i; p.matcher(params.\_source.summary ?: '').find()…

---

## [Add elements in nested object with JAVA API 5.6 and painless](https://discuss.elastic.co/t/add-elements-in-nested-object-with-java-api-5-6-and-painless/129806)

<div class="topic-metadata">

**Author:** [@Uldax](https://discuss.elastic.co/u/Uldax)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 8:21pm UTC](https://discuss.elastic.co/t/add-elements-in-nested-object-with-java-api-5-6-and-painless/129806 "2018-05-20T20:21:00Z")

</div>

Hi everyone, I’m trying to add elements on a nested array on an existing document using painless script . I’m using : elastic search server 5.6.9 org.elasticsearch.client:elasticsearch:5.6.9 org.elasticsearch.client:t…

---

## [Remove duplicate values across buckets](https://discuss.elastic.co/t/remove-duplicate-values-across-buckets/132514)

<div class="topic-metadata">

**Author:** [@Monte\_A](https://discuss.elastic.co/u/Monte_A)\
**Replies:** 2\
**Last updated:** [May 20, 2018, 7:36pm UTC](https://discuss.elastic.co/t/remove-duplicate-values-across-buckets/132514 "2018-05-20T19:36:36Z")

</div>

Hi All, Is there a way to get unique values across all buckets? {"user-id":"1", "user-name":"A", "user-age":"30", "update-date":"2018-01-01"} {"user-id":"1", "user-name":"A", "user-age":"30", "update-date":"2018-02-01"…

---

## [Out of memory? Exception is thrown and service shuts down](https://discuss.elastic.co/t/out-of-memory-exception-is-thrown-and-service-shuts-down/131978)

<div class="topic-metadata">

**Author:** [@MrAnderson](https://discuss.elastic.co/u/MrAnderson)\
**Replies:** 10\
**Last updated:** [May 20, 2018, 12:53pm UTC](https://discuss.elastic.co/t/out-of-memory-exception-is-thrown-and-service-shuts-down/131978 "2018-05-20T12:53:36Z")

</div>

Hello, I ran into issues with elasticsearch and I’m looking for advice or a solution. My Ruby on Rails application implements elasticsearch through elasticsearch-rails gem. Production server info: Intel(R) Xeon(R) CP…

---

## [Give more score to documents that contains all query terms](https://discuss.elastic.co/t/give-more-score-to-documents-that-contains-all-query-terms/132593)

<div class="topic-metadata">

**Author:** [@NarimanN2](https://discuss.elastic.co/u/NarimanN2)\
**Replies:** 0\
**Last updated:** [May 20, 2018, 12:18pm UTC](https://discuss.elastic.co/t/give-more-score-to-documents-that-contains-all-query-terms/132593 "2018-05-20T12:18:39Z")

</div>

I have a problem with scoring in elasticsearch. When user enter a query that contains 3 terms, sometimes a document that has two words a lot, outscores a document that contains all three words. for example if user enters…

---

## [Geo\_disatance query via geo\_shape filed](https://discuss.elastic.co/t/geo-disatance-query-via-geo-shape-filed/132561)

<div class="topic-metadata">

**Author:** [@ahmadazimi](https://discuss.elastic.co/u/ahmadazimi)\
**Replies:** 4\
**Last updated:** [May 20, 2018, 11:23am UTC](https://discuss.elastic.co/t/geo-disatance-query-via-geo-shape-filed/132561 "2018-05-20T11:23:37Z")

</div>

I have a geo\_shape filed (MULTILINE type) which was named line in my documents and I wanna do a geo\_disatance query against it to find all documents which are near a location (lat/lon) PS. The line field is a MULTILIN…

---

## [Right mapping?](https://discuss.elastic.co/t/right-mapping/132575)

<div class="topic-metadata">

**Author:** [@remco\_zwaan](https://discuss.elastic.co/u/remco_zwaan)\
**Replies:** 4\
**Last updated:** [May 20, 2018, 9:57am UTC](https://discuss.elastic.co/t/right-mapping/132575 "2018-05-20T09:57:24Z")

</div>

Hi, Each property has availabity. We make for each property 365 available days in our index. When a property is booked we remove the dates from the index. This works ok. Now we want a step further. We have price …

---

## [Elasticsearch + docker, benefits?](https://discuss.elastic.co/t/elasticsearch-docker-benefits/132148)

<div class="topic-metadata">

**Author:** [@bozho](https://discuss.elastic.co/u/bozho)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 9:31am UTC](https://discuss.elastic.co/t/elasticsearch-docker-benefits/132148 "2018-05-20T09:31:37Z")

</div>

Hi all, With containers being all the rage, it's easy to find guides on how to deploy Elasticsearch with Docker. I understand benefits for dev and test environments, but I struggle to see benefits of using ES with Docke…

---

## [Remove poor results?](https://discuss.elastic.co/t/remove-poor-results/132303)

<div class="topic-metadata">

**Author:** [@Arth](https://discuss.elastic.co/u/Arth)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 9:27am UTC](https://discuss.elastic.co/t/remove-poor-results/132303 "2018-05-20T09:27:23Z")

</div>

Hi, Is there an easy way to remove hits which have very low scores compared to the max score (percentage ?) ? The "min\_score" parameter will not make much sense for every search. For example, sometimes I can get a res…

---

## [Best mapping strategy](https://discuss.elastic.co/t/best-mapping-strategy/132324)

<div class="topic-metadata">

**Author:** [@remco\_zwaan](https://discuss.elastic.co/u/remco_zwaan)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 9:15am UTC](https://discuss.elastic.co/t/best-mapping-strategy/132324 "2018-05-20T09:15:18Z")

</div>

Hi, I am newby to ES. We have in our DB this setup and we want to setup is to right mapping in ES. Accommodation: Each day of the year has a own price Each price is/can be diffused by number of adults (1 adult \> 10…

---

## [Can someone explain me what's going on in this period?](https://discuss.elastic.co/t/can-someone-explain-me-whats-going-on-in-this-period/132507)

<div class="topic-metadata">

**Author:** [@br14nb0](https://discuss.elastic.co/u/br14nb0)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 9:00am UTC](https://discuss.elastic.co/t/can-someone-explain-me-whats-going-on-in-this-period/132507 "2018-05-20T09:00:39Z")

</div>

Look like the index size changing and I don't understand what is processing here. Can you suggest me a doc to understand here ? Thanks \[image\]

---

## [Vertical COALESCING](https://discuss.elastic.co/t/vertical-coalescing/132516)

<div class="topic-metadata">

**Author:** [@mc84](https://discuss.elastic.co/u/mc84)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 8:59am UTC](https://discuss.elastic.co/t/vertical-coalescing/132516 "2018-05-20T08:59:54Z")

</div>

Hi, I have two documents (?) with 3 index: @timestamp request\_id exit process\_id May 18th 2018, 17:17:36.074 965ff327-5aae-11e8-a5e5-196607b31323 - …

---

## [Multi-node cluster setup-passwords fails](https://discuss.elastic.co/t/multi-node-cluster-setup-passwords-fails/132524)

<div class="topic-metadata">

**Author:** [@KeninHouston](https://discuss.elastic.co/u/KeninHouston)\
**Replies:** 1\
**Last updated:** [May 20, 2018, 5:33am UTC](https://discuss.elastic.co/t/multi-node-cluster-setup-passwords-fails/132524 "2018-05-20T05:33:06Z")

</div>

Hi, I have setup a multi-node elasticsearch cluster successfully and turned on TLS to encrypt traffic between the nodes and also into the cluster. I am using an external load balancer which resolves to a domain of, say …

---

## [Multi Metric and Single Metric Results Differ for the Same Time Series](https://discuss.elastic.co/t/multi-metric-and-single-metric-results-differ-for-the-same-time-series/131964)

<div class="topic-metadata">

**Author:** [@niklas1](https://discuss.elastic.co/u/niklas1)\
**Replies:** 6\
**Last updated:** [May 19, 2018, 7:20pm UTC](https://discuss.elastic.co/t/multi-metric-and-single-metric-results-differ-for-the-same-time-series/131964 "2018-05-19T19:20:53Z")

</div>

X-Pack version: 6.2.2 The problem I'm facing is that the number of detected anomalies and the severity level of detected anomalies defer between a single metric job and a multi metric job. Have a look at the screenshots…

---

## [Elasticsearch cluster nodes , what happen if connected ip fails](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-what-happen-if-connected-ip-fails/132550)

<div class="topic-metadata">

**Author:** [@Jithesh\_Pk](https://discuss.elastic.co/u/Jithesh_Pk)\
**Replies:** 3\
**Last updated:** [May 19, 2018, 4:43pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-nodes-what-happen-if-connected-ip-fails/132550 "2018-05-19T16:43:18Z")

</div>

We have elasticsearch cluster with three nodes. Now all are connected each other and each have it's own public IPS too. From curl commands it's working fine. In our program which running on a different network, need to c…

---

## [Recommended practice for testing a REST Action plugin](https://discuss.elastic.co/t/recommended-practice-for-testing-a-rest-action-plugin/132125)

<div class="topic-metadata">

**Author:** [@alexklibisz](https://discuss.elastic.co/u/alexklibisz)\
**Replies:** 4\
**Last updated:** [May 19, 2018, 12:24pm UTC](https://discuss.elastic.co/t/recommended-practice-for-testing-a-rest-action-plugin/132125 "2018-05-19T12:24:48Z")

</div>

I'm building a plugin that exposes three REST endpoints by inheriting from the BaseRestHandler. I need to run integration tests to check the endpoints' functionality by sending requests and inspecting the responses. I'v…

---

## [ElasticSearch low indexing rate](https://discuss.elastic.co/t/elasticsearch-low-indexing-rate/131411)

<div class="topic-metadata">

**Author:** [@joseph743](https://discuss.elastic.co/u/joseph743)\
**Replies:** 2\
**Last updated:** [May 19, 2018, 10:31am UTC](https://discuss.elastic.co/t/elasticsearch-low-indexing-rate/131411 "2018-05-19T10:31:57Z")

</div>

HI We have a server that collects IPFIX(netflow v10) packets from an exporter and we are trying to write the data into elasticsearch single node using bulk. the problem is that the indexing rate is very low, our exporte…

---

## [PercolateQueryBuilder Error! while trying to upgrade ES-2.4 to ES-5.6](https://discuss.elastic.co/t/percolatequerybuilder-error-while-trying-to-upgrade-es-2-4-to-es-5-6/132563)

<div class="topic-metadata">

**Author:** [@Sunkanmi\_Olaleye](https://discuss.elastic.co/u/Sunkanmi_Olaleye)\
**Replies:** 0\
**Last updated:** [May 19, 2018, 9:12am UTC](https://discuss.elastic.co/t/percolatequerybuilder-error-while-trying-to-upgrade-es-2-4-to-es-5-6/132563 "2018-05-19T09:12:45Z")

</div>

//org.elasticsearch.transport.RemoteTransportException: \[Kj5tcUf\]\[127.0.0.1:9300\]\[indices:data/read/search\[phase/query\]\] Caused by: org.elasticsearch.index.query.QueryShardException: field \[query\] does not exist at org…

---

## [Rejecting mapping update to \[logstash-2018.05.19\] as the final mapping would have more than 1 type](https://discuss.elastic.co/t/rejecting-mapping-update-to-logstash-2018-05-19-as-the-final-mapping-would-have-more-than-1-type/132555)

<div class="topic-metadata">

**Author:** [@f26227279](https://discuss.elastic.co/u/f26227279)\
**Replies:** 1\
**Last updated:** [May 19, 2018, 8:17am UTC](https://discuss.elastic.co/t/rejecting-mapping-update-to-logstash-2018-05-19-as-the-final-mapping-would-have-more-than-1-type/132555 "2018-05-19T08:17:52Z")

</div>

Hi, I have a problem that when I mapping the type, and it always told me that I have more than 1 type. my ES is 6.2.4 version. this is my mapping API: PUT \_template/logstash { "index\_patterns": \["logstash-\*"\], "se…

---

## [Index : MySQL to Elasticsearch 6.2 with Logstash 6.2](https://discuss.elastic.co/t/index-mysql-to-elasticsearch-6-2-with-logstash-6-2/131573)

<div class="topic-metadata">

**Author:** [@phenric](https://discuss.elastic.co/u/phenric)\
**Replies:** 30\
**Last updated:** [May 19, 2018, 7:45am UTC](https://discuss.elastic.co/t/index-mysql-to-elasticsearch-6-2-with-logstash-6-2/131573 "2018-05-19T07:45:09Z")

</div>

Hi, I'm trying to use Logstash 6.2 and mysql-connector-java-8.0.11 to import rows from MySQL server to ElasticSearch 6.2. Everything seems working unless the creation of the index in Elasticsearch. I thought it was auto…

---

## [Nested Types and Parent-Child Relationships and Sparse Data](https://discuss.elastic.co/t/nested-types-and-parent-child-relationships-and-sparse-data/132554)

<div class="topic-metadata">

**Author:** [@enceladus](https://discuss.elastic.co/u/enceladus)\
**Replies:** 0\
**Last updated:** [May 19, 2018, 6:37am UTC](https://discuss.elastic.co/t/nested-types-and-parent-child-relationships-and-sparse-data/132554 "2018-05-19T06:37:18Z")

</div>

https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html The above document clearly states that types are being removed because multiple types could lead to sparse data when they have few or …

---

## [Filtering based on whether array passed into search query is empty](https://discuss.elastic.co/t/filtering-based-on-whether-array-passed-into-search-query-is-empty/132275)

<div class="topic-metadata">

**Author:** [@yckoh](https://discuss.elastic.co/u/yckoh)\
**Replies:** 2\
**Last updated:** [May 19, 2018, 6:37am UTC](https://discuss.elastic.co/t/filtering-based-on-whether-array-passed-into-search-query-is-empty/132275 "2018-05-19T06:37:35Z")

</div>

Hi. I would like to perform a search query based on passing in an array of values to the search function in php. This array may or may not be an empty array. I would like to set the filter in such a way that it compares …

---

## [Groovy to Painless Script migration](https://discuss.elastic.co/t/groovy-to-painless-script-migration/132421)

<div class="topic-metadata">

**Author:** [@avinashchauhan](https://discuss.elastic.co/u/avinashchauhan)\
**Replies:** 3\
**Last updated:** [May 19, 2018, 5:47am UTC](https://discuss.elastic.co/t/groovy-to-painless-script-migration/132421 "2018-05-19T05:47:45Z")

</div>

Hi, We are upgrading our elastic search and we have found that most of our groovy scripts are not working with the new version. How can I migrate all my scripts which are on groovy to painless ? Is there a tool or libr…

---

## [Indexing many pdf files](https://discuss.elastic.co/t/indexing-many-pdf-files/132517)

<div class="topic-metadata">

**Author:** [@Fish](https://discuss.elastic.co/u/Fish)\
**Replies:** 11\
**Last updated:** [May 19, 2018, 1:23am UTC](https://discuss.elastic.co/t/indexing-many-pdf-files/132517 "2018-05-19T01:23:25Z")

</div>

I want to index many pdf files. I read about ingest attachment plugin. I also researched for examples online. One of them is Ingesting and Exploring Scientific Papers using Elastic Cloud. However, I have not yet found a…

---

## [Moving data from AWS elasticsearch to elastic.co](https://discuss.elastic.co/t/moving-data-from-aws-elasticsearch-to-elastic-co/131650)

<div class="topic-metadata">

**Author:** [@vadiraj\_bidarahalli](https://discuss.elastic.co/u/vadiraj_bidarahalli)\
**Replies:** 7\
**Last updated:** [May 18, 2018, 11:51pm UTC](https://discuss.elastic.co/t/moving-data-from-aws-elasticsearch-to-elastic-co/131650 "2018-05-18T23:51:50Z")

</div>

Currently we are running elasticsearch 5.5 on AWS elasticsearch.. We want to move to elastic.co. The size of the data was around 28 GB. We deleted around 6600 K docs using delete by query. But the size remained the sam…

---

## [Elastic search NEST - filtered List sorting group wise](https://discuss.elastic.co/t/elastic-search-nest-filtered-list-sorting-group-wise/131373)

<div class="topic-metadata">

**Author:** [@ShwetaReddy](https://discuss.elastic.co/u/ShwetaReddy)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 11:12pm UTC](https://discuss.elastic.co/t/elastic-search-nest-filtered-list-sorting-group-wise/131373 "2018-05-18T23:12:16Z")

</div>

I am new to the elastic search, I have done a bit of research but I could not find the right answer which fits to my requirement. The below query return the results of searched term and surrounding suburbs results togeth…

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

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