# Elasticsearch

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

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

**Page:** 1901

---

## [SearchSourceBuilder.from accepts an integer](https://discuss.elastic.co/t/searchsourcebuilder-from-accepts-an-integer/106300)

<div class="topic-metadata">

**Author:** [@kieran](https://discuss.elastic.co/u/kieran)\
**Replies:** 7\
**Last updated:** [November 3, 2017, 4:02pm UTC](https://discuss.elastic.co/t/searchsourcebuilder-from-accepts-an-integer/106300 "2017-11-03T16:02:33Z")

</div>

Hi The Java class SearchSourceBuilder has a method 'from', which takes an int. So if I'm paginating I will set this value. However, the SearchResponse has a method .getHits().getTotalHits() which returns a long. When d…

---

## [Cloud-aws plugin of elasticsearch 2.3.5](https://discuss.elastic.co/t/cloud-aws-plugin-of-elasticsearch-2-3-5/106208)

<div class="topic-metadata">

**Author:** [@vamih](https://discuss.elastic.co/u/vamih)\
**Replies:** 12\
**Last updated:** [November 3, 2017, 3:50pm UTC](https://discuss.elastic.co/t/cloud-aws-plugin-of-elasticsearch-2-3-5/106208 "2017-11-03T15:50:44Z")

</div>

Hi guys, I installed the cloud-aws plugin of elasticsearch version 2.3.5 which will be used to store the snapshot on AWS S3 compatible. During the install everything went nice and smoothly but when I try to create the s…

---

## [Geo-points Bucket Aggregation based on density rather than geohash](https://discuss.elastic.co/t/geo-points-bucket-aggregation-based-on-density-rather-than-geohash/105389)

<div class="topic-metadata">

**Author:** [@MindFork](https://discuss.elastic.co/u/MindFork)\
**Replies:** 4\
**Last updated:** [November 3, 2017, 3:39pm UTC](https://discuss.elastic.co/t/geo-points-bucket-aggregation-based-on-density-rather-than-geohash/105389 "2017-11-03T15:39:46Z")

</div>

HI, I've got large set of documents containing coordinates. I want to present them on a map having limited number of pins - so I need certain aggs to do that. I can do this doing geo-hash aggregation, however it doeasn'…

---

## [Yellow Cluster Health from unassigned\_shards](https://discuss.elastic.co/t/yellow-cluster-health-from-unassigned-shards/106213)

<div class="topic-metadata">

**Author:** [@Staggerlee011](https://discuss.elastic.co/u/Staggerlee011)\
**Replies:** 8\
**Last updated:** [November 3, 2017, 3:33pm UTC](https://discuss.elastic.co/t/yellow-cluster-health-from-unassigned-shards/106213 "2017-11-03T15:33:51Z")

</div>

Hi, I have an yellow health cluster. We have gone through several phases to go green but none have worked so far. get \_cluster/health?pretty=true { "cluster\_name": "ElasticSearch", "status": "yellow", "timed\_out"…

---

## [Filtered Terms aggregation with list of values to include in each bucket](https://discuss.elastic.co/t/filtered-terms-aggregation-with-list-of-values-to-include-in-each-bucket/106334)

<div class="topic-metadata">

**Author:** [@Natalia\_Kuleniuk](https://discuss.elastic.co/u/Natalia_Kuleniuk)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 3:30pm UTC](https://discuss.elastic.co/t/filtered-terms-aggregation-with-list-of-values-to-include-in-each-bucket/106334 "2017-11-03T15:30:42Z")

</div>

I have Java Map, where key is some Channel Name and values are List of contentIDs, that belongs to this Channels. Basically, each channel bucket has list of content ids. In ES I do not store channels names, only conte…

---

## [Shards and replica for logs](https://discuss.elastic.co/t/shards-and-replica-for-logs/106332)

<div class="topic-metadata">

**Author:** [@Fei\_Yao](https://discuss.elastic.co/u/Fei_Yao)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 3:22pm UTC](https://discuss.elastic.co/t/shards-and-replica-for-logs/106332 "2017-11-03T15:22:01Z")

</div>

Just curious what's the best option for ingesting static logs by balancing performance and availability. The default is 5 shards w/ 1 replica. Since new index will be created at daily based does it make sense to have a …

---

## [How to breakdown heap usage?](https://discuss.elastic.co/t/how-to-breakdown-heap-usage/106331)

<div class="topic-metadata">

**Author:** [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 3:10pm UTC](https://discuss.elastic.co/t/how-to-breakdown-heap-usage/106331 "2017-11-03T15:10:53Z")

</div>

I am trying to understand what is causing high heap usage. I checked hot threads, nodes stats, fielddata, query cache. Still not able to find out the offending factor. How do you usually profile this to find out the root…

---

## [Modify existing index template with custom pipeline](https://discuss.elastic.co/t/modify-existing-index-template-with-custom-pipeline/106223)

<div class="topic-metadata">

**Author:** [@Abey\_Thomas](https://discuss.elastic.co/u/Abey_Thomas)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 3:10pm UTC](https://discuss.elastic.co/t/modify-existing-index-template-with-custom-pipeline/106223 "2017-11-03T15:10:34Z")

</div>

Hi, I have a index template created and it creates new indices daily based on date. I have created a new pipelne and simulation of data with it works fine. Using reindex i can create new indices which uses the custom pi…

---

## [What is Shard Lock Obtain Failed Exception?](https://discuss.elastic.co/t/what-is-shard-lock-obtain-failed-exception/106330)

<div class="topic-metadata">

**Author:** [@TimWard](https://discuss.elastic.co/u/TimWard)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 3:07pm UTC](https://discuss.elastic.co/t/what-is-shard-lock-obtain-failed-exception/106330 "2017-11-03T15:07:19Z")

</div>

What does this mean? Do I care? If so what do I do about it? These happened on what I believe to be a very lightly loaded system in the middle of the night when AFAIK it wasn't doing anything much. \[2017-11-03T00:36:17…

---

## [Can I use a Range Query in Scripted Field](https://discuss.elastic.co/t/can-i-use-a-range-query-in-scripted-field/106047)

<div class="topic-metadata">

**Author:** [@crickes](https://discuss.elastic.co/u/crickes)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 3:05pm UTC](https://discuss.elastic.co/t/can-i-use-a-range-query-in-scripted-field/106047 "2017-11-03T15:05:17Z")

</div>

I am have been playing around the range field types, and in this index I have approx 2500 documents, each defining a different time\_range. Example document: { "time\_frame": { "gte": 1509355523000,…

---

## [Throttling merges despite indices.store.throttle.type: none](https://discuss.elastic.co/t/throttling-merges-despite-indices-store-throttle-type-none/106328)

<div class="topic-metadata">

**Author:** [@wvl0](https://discuss.elastic.co/u/wvl0)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 3:03pm UTC](https://discuss.elastic.co/t/throttling-merges-despite-indices-store-throttle-type-none/106328 "2017-11-03T15:03:13Z")

</div>

We're running ES 2.4.x on NVMe cards for indexing and have disabled merge throttling: curl -XPUT $esprodata01/\_cluster/settings -d '{ "transient" : { "indices.store.throttle.type" : "none" }}' {"acknowle…

---

## [Apply timezone in date process pipeline based on a field](https://discuss.elastic.co/t/apply-timezone-in-date-process-pipeline-based-on-a-field/106197)

<div class="topic-metadata">

**Author:** [@asher\_frenkel](https://discuss.elastic.co/u/asher_frenkel)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 2:57pm UTC](https://discuss.elastic.co/t/apply-timezone-in-date-process-pipeline-based-on-a-field/106197 "2017-11-03T14:57:15Z")

</div>

is it possible to apply timezone option on the date process pipeline based on \_source field? I was trying something like: { "date": { "field": "system.auth.timestamp", "formats": \[ "MMM d HH:mm:ss", "MMM dd HH:mm…

---

## [Can I set reserved words not to be searched](https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321)

<div class="topic-metadata">

**Author:** [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 2:38pm UTC](https://discuss.elastic.co/t/can-i-set-reserved-words-not-to-be-searched/106321 "2017-11-03T14:38:38Z")

</div>

HI, I'm replacing Index Server with Elasticsearch. In Index server there are mechanisms in place such that certain words are ignored under certain search conditions as an example: In Index Server if I search using 'as'…

---

## [Index file keeps growing with no input](https://discuss.elastic.co/t/index-file-keeps-growing-with-no-input/106320)

<div class="topic-metadata">

**Author:** [@paulpsmith](https://discuss.elastic.co/u/paulpsmith)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 2:07pm UTC](https://discuss.elastic.co/t/index-file-keeps-growing-with-no-input/106320 "2017-11-03T14:07:55Z")

</div>

Hi all. I have an odd problem and I am not sure what is happening. Not sure if this should go into the ES discussions or LS. I am trying to get some comma separated values into ES via Logstash. My initial input is a cs…

---

## [Query to get results in percentage split](https://discuss.elastic.co/t/query-to-get-results-in-percentage-split/106318)

<div class="topic-metadata">

**Author:** [@tushar\_chevulkar](https://discuss.elastic.co/u/tushar_chevulkar)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 1:38pm UTC](https://discuss.elastic.co/t/query-to-get-results-in-percentage-split/106318 "2017-11-03T13:38:24Z")

</div>

I have node with news articles. Now the news articles are two kinds local and international. I need to write a query where I can fetch n number of results form the node but the results should be in proportion of 60:40 (6…

---

## [Elastic plugin head](https://discuss.elastic.co/t/elastic-plugin-head/106311)

<div class="topic-metadata">

**Author:** [@lebilien](https://discuss.elastic.co/u/lebilien)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 1:33pm UTC](https://discuss.elastic.co/t/elastic-plugin-head/106311 "2017-11-03T13:33:16Z")

</div>

hi i have this error : java.lang.IllegalArgumentException: property \[elasticsearch.version\] is missing for plugin \[head\] it's impossible to install this /var/www/elasticsearch-head/node\_modules/grunt-contrib-jasmin…

---

## [Reverse nested query for filter in aggregations required](https://discuss.elastic.co/t/reverse-nested-query-for-filter-in-aggregations-required/104263)

<div class="topic-metadata">

**Author:** [@david\_](https://discuss.elastic.co/u/david_)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 1:28pm UTC](https://discuss.elastic.co/t/reverse-nested-query-for-filter-in-aggregations-required/104263 "2017-11-03T13:28:29Z")

</div>

Let's assume I have a document A with fields a and b, b is a list of nested documents B with fields b1 and b2 Now set up some documents for A: {a:1, b:\[{b1:1, b2:1}, {b1:2, b2:2}\] } {a:2, b:\[{b1:3, b2:1}, {b1:4, b2:2…

---

## [Elasticsearch-rails & -ruby are abandoned](https://discuss.elastic.co/t/elasticsearch-rails-ruby-are-abandoned/105610)

<div class="topic-metadata">

**Author:** [@kshnurov](https://discuss.elastic.co/u/kshnurov)\
**Replies:** 17\
**Last updated:** [November 3, 2017, 1:15pm UTC](https://discuss.elastic.co/t/elasticsearch-rails-ruby-are-abandoned/105610 "2017-11-03T13:15:45Z")

</div>

It was pointed out 3 months ago here and nothing has changed - 66 PRs and a lot of bugs not being fixed. Latest commit was made 5+ months ago. elasticsearch-rails will be incompatible with an upcoming Rails 5.2 and it …

---

## [Node.lock file - Underlying file changed by an external force](https://discuss.elastic.co/t/node-lock-file-underlying-file-changed-by-an-external-force/106038)

<div class="topic-metadata">

**Author:** [@Jeremy\_C](https://discuss.elastic.co/u/Jeremy_C)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 1:11pm UTC](https://discuss.elastic.co/t/node-lock-file-underlying-file-changed-by-an-external-force/106038 "2017-11-03T13:11:27Z")

</div>

I have 5 data nodes, version 5.6.2 on Ubuntu 16.04. All nodes are occassionaly having a problem with the "node.lock" file, or perhaps that's just a symptom of some other problem. This results in shards failing to alloc…

---

## [Must vs filter differences in time](https://discuss.elastic.co/t/must-vs-filter-differences-in-time/106306)

<div class="topic-metadata">

**Author:** [@oskarvdb](https://discuss.elastic.co/u/oskarvdb)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 12:33pm UTC](https://discuss.elastic.co/t/must-vs-filter-differences-in-time/106306 "2017-11-03T12:33:38Z")

</div>

Hi Group, I have a question regarding the usage of 'must' vs 'filter' in a search query. I'm aware that 'must' also returns a score, but how much time does it take to calculate this? Can it delay requests by a significa…

---

## [Geo\_polygon query in ES5.6 is slow?](https://discuss.elastic.co/t/geo-polygon-query-in-es5-6-is-slow/103289)

<div class="topic-metadata">

**Author:** [@jacki3lene](https://discuss.elastic.co/u/jacki3lene)\
**Replies:** 4\
**Last updated:** [November 3, 2017, 11:19am UTC](https://discuss.elastic.co/t/geo-polygon-query-in-es5-6-is-slow/103289 "2017-11-03T11:19:10Z")

</div>

Hello! We are in the process of migrating our cluster from ES 1.5.2 to ES 5.6.2. We are running some performance tests on both of the clusters and it looks like geo\_polygon query is slow in ES 5.6.2. Both have the same …

---

## [Change the enconding of responses (Official PHP API)](https://discuss.elastic.co/t/change-the-enconding-of-responses-official-php-api/106296)

<div class="topic-metadata">

**Author:** [@jmp.juan](https://discuss.elastic.co/u/jmp.juan)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 10:41am UTC](https://discuss.elastic.co/t/change-the-enconding-of-responses-official-php-api/106296 "2017-11-03T10:41:22Z")

</div>

Hi all, I know JSON's format is UTF-8 but I need to convert the responses retrieved from my application into an array only containing data in ISO-8859-1 Is there any way to do that natively (using the official API) or …

---

## [How to properly upgrade plugins when upgrading Elasticsearch?](https://discuss.elastic.co/t/how-to-properly-upgrade-plugins-when-upgrading-elasticsearch/105772)

<div class="topic-metadata">

**Author:** [@Jeremy\_Lecour](https://discuss.elastic.co/u/Jeremy_Lecour)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 10:33am UTC](https://discuss.elastic.co/t/how-to-properly-upgrade-plugins-when-upgrading-elasticsearch/105772 "2017-11-03T10:33:25Z")

</div>

Hi, I've recently upgraded a single Elasticsearch node from 5.6.2 to 5.6.3 and it refused to start because the "analysis-phonetic" plugin also needed to be upgraded. I maintain my system up-to-date with Debian reposito…

---

## [How will High level rest client async calls return value](https://discuss.elastic.co/t/how-will-high-level-rest-client-async-calls-return-value/105469)

<div class="topic-metadata">

**Author:** [@dhavalk123](https://discuss.elastic.co/u/dhavalk123)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 10:29am UTC](https://discuss.elastic.co/t/how-will-high-level-rest-client-async-calls-return-value/105469 "2017-11-03T10:29:21Z")

</div>

I am using the high level rest client and calling: client.indexAsync(request, new ActionListener() { public void onResponse(IndexResponse indexResponse) { } public void onFailure(Exception e) { } } I want to conve…

---

## [Elastisearch 5.5.1 with c# throw remote exception error please provide me the solution for this](https://discuss.elastic.co/t/elastisearch-5-5-1-with-c-throw-remote-exception-error-please-provide-me-the-solution-for-this/104190)

<div class="topic-metadata">

**Author:** [@Ashish\_Christian](https://discuss.elastic.co/u/Ashish_Christian)\
**Replies:** 14\
**Last updated:** [November 3, 2017, 10:14am UTC](https://discuss.elastic.co/t/elastisearch-5-5-1-with-c-throw-remote-exception-error-please-provide-me-the-solution-for-this/104190 "2017-11-03T10:14:35Z")

</div>

Elastisearch 5.5.1 will fatch data from 10000 perfactly but above 10000 it will not fatch the data using c#, and return remote exception error can you please guide me the same.

---

## [Nest automap fields of child classes](https://discuss.elastic.co/t/nest-automap-fields-of-child-classes/105436)

<div class="topic-metadata">

**Author:** [@tomboon](https://discuss.elastic.co/u/tomboon)\
**Replies:** 1\
**Last updated:** [November 3, 2017, 9:59am UTC](https://discuss.elastic.co/t/nest-automap-fields-of-child-classes/105436 "2017-11-03T09:59:53Z")

</div>

Hello, we are currently wrestling with the following problem in our C# code with NEST. Say we have a parent object with that contains a property that refers to an abstract class: (simplified example) class ParentObje…

---

## [Error: Request Timeout after 30000ms](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192)

<div class="topic-metadata">

**Author:** [@mercymx](https://discuss.elastic.co/u/mercymx)\
**Replies:** 6\
**Last updated:** [November 3, 2017, 9:49am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192 "2017-11-03T09:49:06Z")

</div>

my elasticsearch and kibana runing in 2 servers. I can use python script to get data from ES, but kibana runs error like this: \[图片\] the status page like this: \[图片\] I checked the kibana logs. It just has 2 error mess…

---

## [No alive nodes found in your cluster all of sudden](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster-all-of-sudden/106193)

<div class="topic-metadata">

**Author:** [@ManishChughAtSmartsh](https://discuss.elastic.co/u/ManishChughAtSmartsh)\
**Replies:** 7\
**Last updated:** [November 3, 2017, 9:47am UTC](https://discuss.elastic.co/t/no-alive-nodes-found-in-your-cluster-all-of-sudden/106193 "2017-11-03T09:47:09Z")

</div>

Hi, I am running into a problem with ES service. Some cron jobs are running on my server and crawling data from other applications. Then the data is indexed in elastic. The problem is Elastic service failed any time, a…

---

## [Sentiment Analysis Using Elastic](https://discuss.elastic.co/t/sentiment-analysis-using-elastic/106290)

<div class="topic-metadata">

**Author:** [@Narmatha](https://discuss.elastic.co/u/Narmatha)\
**Replies:** 0\
**Last updated:** [November 3, 2017, 9:17am UTC](https://discuss.elastic.co/t/sentiment-analysis-using-elastic/106290 "2017-11-03T09:17:33Z")

</div>

How to do sentiment analysis with elastic search ? Can i do scoring with the documents to find the sentiment for different regions ?

---

## [GET: command not found](https://discuss.elastic.co/t/get-command-not-found/106285)

<div class="topic-metadata">

**Author:** [@vikram\_m](https://discuss.elastic.co/u/vikram_m)\
**Replies:** 2\
**Last updated:** [November 3, 2017, 9:17am UTC](https://discuss.elastic.co/t/get-command-not-found/106285 "2017-11-03T09:17:22Z")

</div>

\[root@splunkqahead1 splunk\]# GET / bash: GET: command not found I am getting following error when I try to run GET command post Elastic search installation. Please help. Thanks. Vikram.

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

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