# Elasticsearch

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

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

**Page:** 1682

---

## [Percentage of documents that have a given field value](https://discuss.elastic.co/t/percentage-of-documents-that-have-a-given-field-value/132684)

<div class="topic-metadata">

**Author:** [@Badger](https://discuss.elastic.co/u/Badger)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 5:17pm UTC](https://discuss.elastic.co/t/percentage-of-documents-that-have-a-given-field-value/132684 "2018-05-21T17:17:09Z")

</div>

I have documents that contain several boolean fields. For each of those fields I want to know what percentage of documents have it set to true. Can elasticsearch tell me?

---

## [Elastic Stack Pricing on Azure](https://discuss.elastic.co/t/elastic-stack-pricing-on-azure/130915)

<div class="topic-metadata">

**Author:** [@Bartho\_Bernsmann](https://discuss.elastic.co/u/Bartho_Bernsmann)\
**Replies:** 4\
**Last updated:** [May 21, 2018, 5:06pm UTC](https://discuss.elastic.co/t/elastic-stack-pricing-on-azure/130915 "2018-05-21T17:06:26Z")

</div>

Hello, Could you please tell me how the pricing model works on azure? I want to deploy an Elasticsearch machine on azure but I have no idea what the price is. https://azuremarketplace.microsoft.com/en-us/marketplace/a…

---

## [Mustache throwing NoClassDefFoundError](https://discuss.elastic.co/t/mustache-throwing-noclassdeffounderror/128356)

<div class="topic-metadata">

**Author:** [@ishim](https://discuss.elastic.co/u/ishim)\
**Replies:** 17\
**Last updated:** [May 21, 2018, 5:02pm UTC](https://discuss.elastic.co/t/mustache-throwing-noclassdeffounderror/128356 "2018-05-21T17:02:48Z")

</div>

Hi, I am writing a java plugin which uses Mustache and NoClassDefFoundError exception is thrown by ElasticSearch, When I am trying to create an instance of class "MustacheScriptEngineService". final ScriptEngineService…

---

## [Cloning QueryBuilder](https://discuss.elastic.co/t/cloning-querybuilder/132680)

<div class="topic-metadata">

**Author:** [@jdpark](https://discuss.elastic.co/u/jdpark)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 4:56pm UTC](https://discuss.elastic.co/t/cloning-querybuilder/132680 "2018-05-21T16:56:31Z")

</div>

Hello, What would be the best way to clone an AbtractQueryBuilder? I have a BoolQueryBuilder that I'd like to use as a filter as part of another query. I noticed that when I compose into another query later modify it,…

---

## [How to create filter with special characters](https://discuss.elastic.co/t/how-to-create-filter-with-special-characters/132676)

<div class="topic-metadata">

**Author:** [@b0nete](https://discuss.elastic.co/u/b0nete)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 4:23pm UTC](https://discuss.elastic.co/t/how-to-create-filter-with-special-characters/132676 "2018-05-21T16:23:34Z")

</div>

I want create filter in Kibana what contains specials characters in string. This filter want search URL's contains parameters in plain text. Example URL = https://example.com/test.zul?param1=123&param2=456 The query d…

---

## [Getting entire document from ElasticSearch](https://discuss.elastic.co/t/getting-entire-document-from-elasticsearch/132186)

<div class="topic-metadata">

**Author:** [@satishrao](https://discuss.elastic.co/u/satishrao)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 4:13pm UTC](https://discuss.elastic.co/t/getting-entire-document-from-elasticsearch/132186 "2018-05-21T16:13:46Z")

</div>

Ahoy! I am using the nodejs elasticsearch js driver to get entire content of all documents in elasticsearch from a small index that would contain about 50 documents. Currently it has only one document When I use {"que…

---

## [Installing third party plugin for elastic search](https://discuss.elastic.co/t/installing-third-party-plugin-for-elastic-search/132668)

<div class="topic-metadata">

**Author:** [@wolecharles\_job](https://discuss.elastic.co/u/wolecharles_job)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 3:38pm UTC](https://discuss.elastic.co/t/installing-third-party-plugin-for-elastic-search/132668 "2018-05-21T15:38:09Z")

</div>

I have a third party plugin i want to install for elastic search.Which command do i use for the installation

---

## [Response is terribly slow, when using from/size for pagination for large 'from' values](https://discuss.elastic.co/t/response-is-terribly-slow-when-using-from-size-for-pagination-for-large-from-values/132659)

<div class="topic-metadata">

**Author:** [@WeerasEs](https://discuss.elastic.co/u/WeerasEs)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 3:30pm UTC](https://discuss.elastic.co/t/response-is-terribly-slow-when-using-from-size-for-pagination-for-large-from-values/132659 "2018-05-21T15:30:24Z")

</div>

The corresponding query nearly returns 3 million documents. From : 1, size : 50 =\> Response comes within 2 seconds. From : 1,000,000, size : 50 =\> Response comes after 20 seconds. If we send multiple concurrent requ…

---

## [Feld is an array, only the first value will be used. How solve problem?](https://discuss.elastic.co/t/feld-is-an-array-only-the-first-value-will-be-used-how-solve-problem/132663)

<div class="topic-metadata">

**Author:** [@1862347ba9566e72a47d](https://discuss.elastic.co/u/1862347ba9566e72a47d)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 1:58pm UTC](https://discuss.elastic.co/t/feld-is-an-array-only-the-first-value-will-be-used-how-solve-problem/132663 "2018-05-21T13:58:24Z")

</div>

There is plugin Translate filter plugin, the functional of which is suitable for solving my problem. But it does not work with arrays. Is there something similar to working with fields from an array? I will be very gra…

---

## [Highlighting issue on nested object](https://discuss.elastic.co/t/highlighting-issue-on-nested-object/132661)

<div class="topic-metadata">

**Author:** [@brettboyle](https://discuss.elastic.co/u/brettboyle)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 1:28pm UTC](https://discuss.elastic.co/t/highlighting-issue-on-nested-object/132661 "2018-05-21T13:28:03Z")

</div>

I'm having an issue with a highlight query that is only hitting on some nested objects but not others. It's confusing because some of the nested objects within the list are identical to each other but only some are being…

---

## [Index with same mapping has different size](https://discuss.elastic.co/t/index-with-same-mapping-has-different-size/132498)

<div class="topic-metadata">

**Author:** [@randomuser](https://discuss.elastic.co/u/randomuser)\
**Replies:** 4\
**Last updated:** [May 21, 2018, 1:20pm UTC](https://discuss.elastic.co/t/index-with-same-mapping-has-different-size/132498 "2018-05-21T13:20:25Z")

</div>

Hello, I'm testing something and reindexing indices using the same mapping, but every time I reindex, the size of the newly created index always differs, shouldn't it be a constant number?

---

## [Elasticsearch custom query in Kibana](https://discuss.elastic.co/t/elasticsearch-custom-query-in-kibana/132660)

<div class="topic-metadata">

**Author:** [@Narasimma\_varman](https://discuss.elastic.co/u/Narasimma_varman)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 1:18pm UTC](https://discuss.elastic.co/t/elasticsearch-custom-query-in-kibana/132660 "2018-05-21T13:18:22Z")

</div>

We are implementing data warehousing historical dashboards in Elasticsearch as DB and Kibana for Visualisation. We need to join two or three indices in elasticsearch and visualise the result in kibana. Would it be able t…

---

## [No handler found for uri \[/\_xpack/rollup/job/test\_id\] and method \[PUT\]](https://discuss.elastic.co/t/no-handler-found-for-uri-xpack-rollup-job-test-id-and-method-put/132648)

<div class="topic-metadata">

**Author:** [@randomuser](https://discuss.elastic.co/u/randomuser)\
**Replies:** 4\
**Last updated:** [May 21, 2018, 11:39am UTC](https://discuss.elastic.co/t/no-handler-found-for-uri-xpack-rollup-job-test-id-and-method-put/132648 "2018-05-21T11:39:03Z")

</div>

Trying to PUT a rollup job, getting this error: No handler found for uri \[/\_xpack/rollup/job/test\_id\] and method \[PUT\] I've just updated my xpack licence, hopefully it isn't the problem. This is my rollup: PUT \_xpack…

---

## [Elasticsearch as a primary store](https://discuss.elastic.co/t/elasticsearch-as-a-primary-store/132647)

<div class="topic-metadata">

**Author:** [@Juris\_Rats](https://discuss.elastic.co/u/Juris_Rats)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 11:26am UTC](https://discuss.elastic.co/t/elasticsearch-as-a-primary-store/132647 "2018-05-21T11:26:10Z")

</div>

Hi, I have read a number of posts on the issue still not have answers to my questions. I want to use ES in a scenario where: new and updateable data is replicated to ES indexes from the SQL database (when changes occ…

---

## [Updated licence, can't start Elasticsearch](https://discuss.elastic.co/t/updated-licence-cant-start-elasticsearch/132642)

<div class="topic-metadata">

**Author:** [@randomuser](https://discuss.elastic.co/u/randomuser)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 11:23am UTC](https://discuss.elastic.co/t/updated-licence-cant-start-elasticsearch/132642 "2018-05-21T11:23:08Z")

</div>

So, I've updated my licence to the basic 1 year version and now I can't start Elasticsearch anymore.. Getting errors like: \[2018-05-21T11:44:24,719\]\[ERROR\]\[o.e.x.s.a.f.SecurityActionFilter\] \[cn\_nVNo\] blocking \[cluster…

---

## [Indices.recovery.max\_bytes\_per\_sec](https://discuss.elastic.co/t/indices-recovery-max-bytes-per-sec/132512)

<div class="topic-metadata">

**Author:** [@Swedeski](https://discuss.elastic.co/u/Swedeski)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 10:57am UTC](https://discuss.elastic.co/t/indices-recovery-max-bytes-per-sec/132512 "2018-05-21T10:57:24Z")

</div>

Hello - I'm trying to figure out at what level the indices.recovery.max\_byets\_per\_sec is limiting at. If the indices.recovery\_max\_bytes\_per\_sec is set at 40mb. Does that mean you'll get 40mb/s per index or does it lim…

---

## [Multiple sorting fields performance issues](https://discuss.elastic.co/t/multiple-sorting-fields-performance-issues/132349)

<div class="topic-metadata">

**Author:** [@bogdanjsx](https://discuss.elastic.co/u/bogdanjsx)\
**Replies:** 5\
**Last updated:** [May 21, 2018, 9:57am UTC](https://discuss.elastic.co/t/multiple-sorting-fields-performance-issues/132349 "2018-05-21T09:57:18Z")

</div>

Hello, I'm trying to implement pagination for a service that pulls data out of Elasticsearch by using the search after functionality. Data needs to be sorted by only one field, but, as the docs mention, a field with uni…

---

## [Have any other way to expose customer rest endpoint using Elastic Search except develop plugin?](https://discuss.elastic.co/t/have-any-other-way-to-expose-customer-rest-endpoint-using-elastic-search-except-develop-plugin/132639)

<div class="topic-metadata">

**Author:** [@Jingyan](https://discuss.elastic.co/u/Jingyan)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 9:31am UTC](https://discuss.elastic.co/t/have-any-other-way-to-expose-customer-rest-endpoint-using-elastic-search-except-develop-plugin/132639 "2018-05-21T09:31:09Z")

</div>

I need add my own custom REST endpoints in elastic search using org.elasticsearch.rest.\*. But I know, if i develop the elastic search plugin to do this thing, I must be develop different plugin for different Elastic sear…

---

## [Scroll: Failed to execute query phase](https://discuss.elastic.co/t/scroll-failed-to-execute-query-phase/132634)

<div class="topic-metadata">

**Author:** [@fetch](https://discuss.elastic.co/u/fetch)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 9:19am UTC](https://discuss.elastic.co/t/scroll-failed-to-execute-query-phase/132634 "2018-05-21T09:19:49Z")

</div>

Hello, I have a single node cluster. Recently I've updated to the latest version of ELK (6.2.3). I'm not sure if my problem is related to updating to a newer version or it's just a coincidence, but I've noticed that my…

---

## [Elasticsearch process causes CPU soft lockup (causing the server to hung)](https://discuss.elastic.co/t/elasticsearch-process-causes-cpu-soft-lockup-causing-the-server-to-hung/132354)

<div class="topic-metadata">

**Author:** [@farin99](https://discuss.elastic.co/u/farin99)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 8:52am UTC](https://discuss.elastic.co/t/elasticsearch-process-causes-cpu-soft-lockup-causing-the-server-to-hung/132354 "2018-05-21T08:52:09Z")

</div>

We experience hangs on multiple machines that are running elastic data node only. When it accrued you see a soft lockup symptom of a task or kernel thread using and not releasing a CPU for a longer period of time than a…

---

## [\]\[ERROR\]\[o.e.x.m.c.n.NodeStatsCollector\] \[es3\] collector \[node\_stats\] timed out when collecting data](https://discuss.elastic.co/t/error-o-e-x-m-c-n-nodestatscollector-es3-collector-node-stats-timed-out-when-collecting-data/132407)

<div class="topic-metadata">

**Author:** [@Rmond](https://discuss.elastic.co/u/Rmond)\
**Replies:** 7\
**Last updated:** [May 21, 2018, 8:38am UTC](https://discuss.elastic.co/t/error-o-e-x-m-c-n-nodestatscollector-es3-collector-node-stats-timed-out-when-collecting-data/132407 "2018-05-21T08:38:41Z")

</div>

always get the errors version ：6.2.2 \[2018-05-18T11:15:20,964\]\[ERROR\]\[o.e.x.m.c.n.NodeStatsCollector\] \[es3\] collector \[node\_stats\] timed out when collecting data \[2018-05-18T11:15:40,964\]\[ERROR\]\[o.e.x.m.c.n.NodeStatsCo…

---

## [Elasticsearch can't delete indices with special caracters](https://discuss.elastic.co/t/elasticsearch-cant-delete-indices-with-special-caracters/132625)

<div class="topic-metadata">

**Author:** [@Vladimir\_Fomin](https://discuss.elastic.co/u/Vladimir_Fomin)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 8:22am UTC](https://discuss.elastic.co/t/elasticsearch-cant-delete-indices-with-special-caracters/132625 "2018-05-21T08:22:42Z")

</div>

I try to execute this from console DELETE /%{\[@metadata\]\[beat\]}-2018.05.19 and get error: { "error": { "root\_cause": \[ { "type": "index\_not\_found\_exception", "reason": "no such index", …

---

## [Unique count on a term more than documents? Is that possible?](https://discuss.elastic.co/t/unique-count-on-a-term-more-than-documents-is-that-possible/132497)

<div class="topic-metadata">

**Author:** [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 8:12am UTC](https://discuss.elastic.co/t/unique-count-on-a-term-more-than-documents-is-that-possible/132497 "2018-05-21T08:12:48Z")

</div>

How is the following possible when searching in an index pattern? How can the unique appearances of a keyword term be more than the documents themselves? \[image\]

---

## [Model bounds are not available](https://discuss.elastic.co/t/model-bounds-are-not-available/132529)

<div class="topic-metadata">

**Author:** [@dao](https://discuss.elastic.co/u/dao)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 6:50am UTC](https://discuss.elastic.co/t/model-bounds-are-not-available/132529 "2018-05-21T06:50:41Z")

</div>

Hello, Why model bounds is not available? I cannot figure out the reason and the documentation does not mention this case \[image\]

---

## [How to group documents and aggregate on groups](https://discuss.elastic.co/t/how-to-group-documents-and-aggregate-on-groups/132318)

<div class="topic-metadata">

**Author:** [@Markus\_Paaso](https://discuss.elastic.co/u/Markus_Paaso)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 5:59am UTC](https://discuss.elastic.co/t/how-to-group-documents-and-aggregate-on-groups/132318 "2018-05-21T05:59:27Z")

</div>

Let's say I have an Elasticsearch index called "item-tag" where each document contains only one itemid (long) and only one tag (keyword). There are multiple documents with same item id and multiple documents with same ta…

---

## [My Elasticsearch goes down every day, and I have to restart it. Please help](https://discuss.elastic.co/t/my-elasticsearch-goes-down-every-day-and-i-have-to-restart-it-please-help/132607)

<div class="topic-metadata">

**Author:** [@sundeepm](https://discuss.elastic.co/u/sundeepm)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 5:57am UTC](https://discuss.elastic.co/t/my-elasticsearch-goes-down-every-day-and-i-have-to-restart-it-please-help/132607 "2018-05-21T05:57:24Z")

</div>

Hello, I'm using docker-elk v6.2.3. To mention, I've recently upgraded from 5.5.2 to 6.2.3, and since the upgrade, my elasticsearch container goes down everyday, for same errors, on all environments. Below is the error. …

---

## [Send date time to elasticsearch from php](https://discuss.elastic.co/t/send-date-time-to-elasticsearch-from-php/132613)

<div class="topic-metadata">

**Author:** [@nabha](https://discuss.elastic.co/u/nabha)\
**Replies:** 0\
**Last updated:** [May 21, 2018, 5:28am UTC](https://discuss.elastic.co/t/send-date-time-to-elasticsearch-from-php/132613 "2018-05-21T05:28:35Z")

</div>

I am sending json data from php to elasticsearch. My Json object has a field named as date which contains date time. \[{"date":"2018-05-15 00:00:01", "reading" : 0}, {"date":"2018-05-15 02:00:00", "reading" : 50}, {"da…

---

## [Elasticsearch cluster unexpected failure for few minutes when one node down](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601)

<div class="topic-metadata">

**Author:** [@learnhub17](https://discuss.elastic.co/u/learnhub17)\
**Replies:** 3\
**Last updated:** [May 21, 2018, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-unexpected-failure-for-few-minutes-when-one-node-down/132601 "2018-05-21T05:02:53Z")

</div>

I have created ES-lab with 3master,2client and 2 datanode. All request is routed through client node. I have found during indexing if one of my datanode goes down, my entire cluster will get unavailable for 1-2 minutes. …

---

## [My Requirement is If Match happend then I don't want check remaining match cases of Query because of it will decrease search performance](https://discuss.elastic.co/t/my-requirement-is-if-match-happend-then-i-dont-want-check-remaining-match-cases-of-query-because-of-it-will-decrease-search-performance/132552)

<div class="topic-metadata">

**Author:** [@Sekhar1](https://discuss.elastic.co/u/Sekhar1)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 4:19am UTC](https://discuss.elastic.co/t/my-requirement-is-if-match-happend-then-i-dont-want-check-remaining-match-cases-of-query-because-of-it-will-decrease-search-performance/132552 "2018-05-21T04:19:02Z")

</div>

Query : {"query":{"bool":{"should":\[{"match":{"4":{"query":"kavana","\_name":"4.WordMatch"}}},{"match":{"4.exactMatch":{"query":"kavana","\_name":"4.exactMatch"}}}\],"minimum\_should\_match":1}}} Output of Match Cases: "mat…

---

## [Es6.x snapshot or restore support ceph?](https://discuss.elastic.co/t/es6-x-snapshot-or-restore-support-ceph/130954)

<div class="topic-metadata">

**Author:** [@piingluo](https://discuss.elastic.co/u/piingluo)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 2:59am UTC](https://discuss.elastic.co/t/es6-x-snapshot-or-restore-support-ceph/130954 "2018-05-21T02:59:01Z")

</div>

hi all： i want to know whether repository-s3 and ceph are compatible, and repository-s3 support ceph as snapshot repository？

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

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