# Elasticsearch

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

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

**Page:** 1943

---

## [Spring data elasticsearch node-client can't be deployed in Wildfly](https://discuss.elastic.co/t/spring-data-elasticsearch-node-client-cant-be-deployed-in-wildfly/101434)

<div class="topic-metadata">

**Author:** [@bluething](https://discuss.elastic.co/u/bluething)\
**Replies:** 1\
**Last updated:** [September 22, 2017, 7:50am UTC](https://discuss.elastic.co/t/spring-data-elasticsearch-node-client-cant-be-deployed-in-wildfly/101434 "2017-09-22T07:50:19Z")

</div>

Hi All, I have problem when deploying my elasticsearch application into application server. I'm using: -spring-data-jest \[2.3.1.RELEASE\] -Wildfly 9 as application server -Amazon Elasticsearch Service \[using Elastics…

---

## [Elasticsearch results representation](https://discuss.elastic.co/t/elasticsearch-results-representation/101431)

<div class="topic-metadata">

**Author:** [@Akhil\_Prashar](https://discuss.elastic.co/u/Akhil_Prashar)\
**Replies:** 6\
**Last updated:** [September 22, 2017, 7:34am UTC](https://discuss.elastic.co/t/elasticsearch-results-representation/101431 "2017-09-22T07:34:40Z")

</div>

I am getting all my results properly now thing is that I want timechart, piechart and bar chart to display data. can anyone help me regarding this or can guide to a tutorial where I can read from? thanks. Akhil

---

## [Cluster broke after some network troubles](https://discuss.elastic.co/t/cluster-broke-after-some-network-troubles/100206)

<div class="topic-metadata">

**Author:** [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Replies:** 3\
**Last updated:** [September 22, 2017, 7:33am UTC](https://discuss.elastic.co/t/cluster-broke-after-some-network-troubles/100206 "2017-09-22T07:33:17Z")

</div>

hello guys , i need some advice. Is it possible configure elasticsearch cluster 2.3.4 to restore connection between nodes that placed in different servers after some network troubles. i have next configuration: server…

---

## [How to accelerate the searching if there is a large number of data in es?](https://discuss.elastic.co/t/how-to-accelerate-the-searching-if-there-is-a-large-number-of-data-in-es/101097)

<div class="topic-metadata">

**Author:** [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Replies:** 6\
**Last updated:** [September 22, 2017, 7:32am UTC](https://discuss.elastic.co/t/how-to-accelerate-the-searching-if-there-is-a-large-number-of-data-in-es/101097 "2017-09-22T07:32:40Z")

</div>

ELK version: 5.5.1 There are 5 nodes in my es cluster. I use elk to collect nginx logs, and there is a project generate about 100GB logs every day, and it is very slow to open the dashboard of this project in kibana... …

---

## [Master goes down, even after re-election, cluster is unresponsive](https://discuss.elastic.co/t/master-goes-down-even-after-re-election-cluster-is-unresponsive/101421)

<div class="topic-metadata">

**Author:** [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Replies:** 11\
**Last updated:** [September 22, 2017, 7:31am UTC](https://discuss.elastic.co/t/master-goes-down-even-after-re-election-cluster-is-unresponsive/101421 "2017-09-22T07:31:21Z")

</div>

I have a 5 node cluster with 3 master eligible nodes and 2 dedicated data nodes. In the current cluster state, the current master node left owing to long GC's. After re-election, master was assigned to some other maste…

---

## [Query Predicated on Another](https://discuss.elastic.co/t/query-predicated-on-another/101205)

<div class="topic-metadata">

**Author:** [@plemarquand](https://discuss.elastic.co/u/plemarquand)\
**Replies:** 1\
**Last updated:** [September 22, 2017, 6:53am UTC](https://discuss.elastic.co/t/query-predicated-on-another/101205 "2017-09-22T06:53:54Z")

</div>

Hi, I have two indexes, one called warnings and another, warning\_settings. warning\_settings consists of documents with that simply contain a warning id and disabled: true/false. I'd like to query all the warnings that…

---

## [Location field from index is not mapped to location geo\_point at template](https://discuss.elastic.co/t/location-field-from-index-is-not-mapped-to-location-geo-point-at-template/101342)

<div class="topic-metadata">

**Author:** [@themoisis](https://discuss.elastic.co/u/themoisis)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 6:46am UTC](https://discuss.elastic.co/t/location-field-from-index-is-not-mapped-to-location-geo-point-at-template/101342 "2017-09-22T06:46:27Z")

</div>

Hi, I have an index named 'nginx\_access\*' and a template named nginx\_access\*. The tamplate is modified to tell elastic search how to parse indexes geo fields. SO, my template has at some point: "dma\_code" : {…

---

## [Index Templates as Mustache Templates](https://discuss.elastic.co/t/index-templates-as-mustache-templates/101423)

<div class="topic-metadata">

**Author:** [@moy2010](https://discuss.elastic.co/u/moy2010)\
**Replies:** 0\
**Last updated:** [September 22, 2017, 6:16am UTC](https://discuss.elastic.co/t/index-templates-as-mustache-templates/101423 "2017-09-22T06:16:53Z")

</div>

Search Templates are an awesome feature; in our case, specially when these are saved as Mustache templates. Is this alternative planned aswell for the index templates? Thanks in advance.

---

## [How does Elasticsearch use Lucene for aggregations?](https://discuss.elastic.co/t/how-does-elasticsearch-use-lucene-for-aggregations/101319)

<div class="topic-metadata">

**Author:** [@wilqor](https://discuss.elastic.co/u/wilqor)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 6:07am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-use-lucene-for-aggregations/101319 "2017-09-22T06:07:03Z")

</div>

Hello, I could not find this information while reading either Elasticsearch Definitive Guide or Elasticsearch Reference, which led me to trying out the Community. I would like to learn how does Elasticsearch perform ag…

---

## [Sorting move empty string to bottom](https://discuss.elastic.co/t/sorting-move-empty-string-to-bottom/101418)

<div class="topic-metadata">

**Author:** [@kaviyarasanaspire](https://discuss.elastic.co/u/kaviyarasanaspire)\
**Replies:** 0\
**Last updated:** [September 22, 2017, 5:49am UTC](https://discuss.elastic.co/t/sorting-move-empty-string-to-bottom/101418 "2017-09-22T05:49:28Z")

</div>

Hi, We are using ElasticSearch(Nest) 1.5.2 in our project. In that we have a requirement to sort the records based on the column and move the empty string to the bottom. I tried but could not come up with a proper solu…

---

## [Getting Failed to execute phase \[query\], all shards failed Exception](https://discuss.elastic.co/t/getting-failed-to-execute-phase-query-all-shards-failed-exception/101111)

<div class="topic-metadata">

**Author:** [@Moumita\_Mandal](https://discuss.elastic.co/u/Moumita_Mandal)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 5:20am UTC](https://discuss.elastic.co/t/getting-failed-to-execute-phase-query-all-shards-failed-exception/101111 "2017-09-22T05:20:24Z")

</div>

Hello, I am getting an error like below: {"error":"SearchPhaseExecutionException\[Failed to execute phase \[query\], all shards failed; shardFailures {\[b4bIF3bMQXiYSHKa4uNW2g\]\[userquestionsess\]\[0\]: SearchParseException\[\[u…

---

## [Shards taking ages to initialize](https://discuss.elastic.co/t/shards-taking-ages-to-initialize/101335)

<div class="topic-metadata">

**Author:** [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 4:13am UTC](https://discuss.elastic.co/t/shards-taking-ages-to-initialize/101335 "2017-09-22T04:13:59Z")

</div>

I have a synonyms file of around 1GB. The index has around 25 million documents. When the index is closed and then opened again, it takes almost 3 hours for the shards both primary and replicas to be allocated. Number o…

---

## [Could not find any executable java binary. Please install java in your PATH or set JAVA\_HOME](https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-please-install-java-in-your-path-or-set-java-home/101372)

<div class="topic-metadata">

**Author:** [@opkiler22789](https://discuss.elastic.co/u/opkiler22789)\
**Replies:** 0\
**Last updated:** [September 21, 2017, 4:33pm UTC](https://discuss.elastic.co/t/could-not-find-any-executable-java-binary-please-install-java-in-your-path-or-set-java-home/101372 "2017-09-21T16:33:05Z")

</div>

sorry, please delete

---

## [Error: Failed to decrypt report job data. Please re-generate this report](https://discuss.elastic.co/t/error-failed-to-decrypt-report-job-data-please-re-generate-this-report/101303)

<div class="topic-metadata">

**Author:** [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Replies:** 2\
**Last updated:** [September 22, 2017, 4:12am UTC](https://discuss.elastic.co/t/error-failed-to-decrypt-report-job-data-please-re-generate-this-report/101303 "2017-09-22T04:12:36Z")

</div>

Seeing the following error when the Report is being generated. What is causing this error? Using 5.4.3 ELK and X-Pack. Error: Failed to decrypt report job data. Please re-generate this report.

---

## [How to Improved the concurrency bulk thread numbers use rpc analyzer](https://discuss.elastic.co/t/how-to-improved-the-concurrency-bulk-thread-numbers-use-rpc-analyzer/101414)

<div class="topic-metadata">

**Author:** [@liuguangmin](https://discuss.elastic.co/u/liuguangmin)\
**Replies:** 0\
**Last updated:** [September 22, 2017, 2:52am UTC](https://discuss.elastic.co/t/how-to-improved-the-concurrency-bulk-thread-numbers-use-rpc-analyzer/101414 "2017-09-22T02:52:25Z")

</div>

Hello,everyone: when I develop a rpc analyzer use a remote server, I am a client and I communication with the server through thrift. my environment as follow:my elasticsearch is 5.5.2,have 5 nodes,java jdk 1.8,,my cpu c…

---

## [Return total documents and source fields](https://discuss.elastic.co/t/return-total-documents-and-source-fields/101413)

<div class="topic-metadata">

**Author:** [@sujituk](https://discuss.elastic.co/u/sujituk)\
**Replies:** 0\
**Last updated:** [September 22, 2017, 2:39am UTC](https://discuss.elastic.co/t/return-total-documents-and-source-fields/101413 "2017-09-22T02:39:21Z")

</div>

My requirement is in the area of pagination. Based on my query, I need to return the total number (let's say N) of documents and return specific fields (mostly source) for result set 1 of N (total), result set 2 of N (to…

---

## [Unable to connect to Elasticsearch from another machine](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-from-another-machine/101392)

<div class="topic-metadata">

**Author:** [@jxz](https://discuss.elastic.co/u/jxz)\
**Replies:** 6\
**Last updated:** [September 22, 2017, 1:45am UTC](https://discuss.elastic.co/t/unable-to-connect-to-elasticsearch-from-another-machine/101392 "2017-09-22T01:45:53Z")

</div>

I am trying to connect to Elasticsearch from another machine in C# code. I specified the Elasticsearch host machine's fully qualified domain name in the uri and tried to connect with something like the following: Uri e…

---

## [Elasticsearch query to return the version of kibana](https://discuss.elastic.co/t/elasticsearch-query-to-return-the-version-of-kibana/101355)

<div class="topic-metadata">

**Author:** [@vkr](https://discuss.elastic.co/u/vkr)\
**Replies:** 1\
**Last updated:** [September 22, 2017, 1:42am UTC](https://discuss.elastic.co/t/elasticsearch-query-to-return-the-version-of-kibana/101355 "2017-09-22T01:42:46Z")

</div>

I am running on Kibana 5.4.0 I wanted to know if there is an Elastic search GET api query that I can run against the .kibana index which returns the version of kibana I am running on?

---

## [Sample an index](https://discuss.elastic.co/t/sample-an-index/101406)

<div class="topic-metadata">

**Author:** [@erikstephens](https://discuss.elastic.co/u/erikstephens)\
**Replies:** 0\
**Last updated:** [September 22, 2017, 12:09am UTC](https://discuss.elastic.co/t/sample-an-index/101406 "2017-09-22T00:09:09Z")

</div>

For performance reasons, I'd like only a sample of matching documents of a large index. The Sampler Aggregation looks promising but I'm worried my use case does not quite fit. For example, I expect I'll need to scroll …

---

## [One failed data node cause http connection to master node (6 data nodes) disconnected](https://discuss.elastic.co/t/one-failed-data-node-cause-http-connection-to-master-node-6-data-nodes-disconnected/101399)

<div class="topic-metadata">

**Author:** [@lhong1](https://discuss.elastic.co/u/lhong1)\
**Replies:** 0\
**Last updated:** [September 21, 2017, 10:29pm UTC](https://discuss.elastic.co/t/one-failed-data-node-cause-http-connection-to-master-node-6-data-nodes-disconnected/101399 "2017-09-21T22:29:39Z")

</div>

Hi, Trying to setup ES cluster on EC2 instance directly without using AWS managed Elasticsearch cluster. So I setup a ES cluster running 1 dedicated master node and 6 dedicated data node (all on EC2 M4.large instance w…

---

## [Unable to access Elasticsearch instance from Browser](https://discuss.elastic.co/t/unable-to-access-elasticsearch-instance-from-browser/101314)

<div class="topic-metadata">

**Author:** [@Inner\_Peace](https://discuss.elastic.co/u/Inner_Peace)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 10:42pm UTC](https://discuss.elastic.co/t/unable-to-access-elasticsearch-instance-from-browser/101314 "2017-09-21T22:42:58Z")

</div>

Hi All, I have a elasticsearch instance up and running in linux VM. I can able to see the result by issuing curl command to it in the same box. BUT, unable to access outside in some browser. I have opened the port tha…

---

## [Sorting non-alphabetic fields alphabetically?](https://discuss.elastic.co/t/sorting-non-alphabetic-fields-alphabetically/101315)

<div class="topic-metadata">

**Author:** [@jeroen1](https://discuss.elastic.co/u/jeroen1)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 9:18pm UTC](https://discuss.elastic.co/t/sorting-non-alphabetic-fields-alphabetically/101315 "2017-09-21T21:18:47Z")

</div>

I've got a dataset containing a very high number of documents, let's say a comment and an author. Because of the high number of documents and storage requirements, the author is represented by a author\_id and looked up i…

---

## [How can I read elasticsearch oplog](https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359)

<div class="topic-metadata">

**Author:** [@mlkmhd](https://discuss.elastic.co/u/mlkmhd)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 9:11pm UTC](https://discuss.elastic.co/t/how-can-i-read-elasticsearch-oplog/101359 "2017-09-21T21:11:08Z")

</div>

Hi, I want to use elasticsearch as a cache and fast search layer above my oracle db. so I need a tool to keep oracle in sync with elasticsearch. I found many tools for sync elasticsearch with oracle like GoldenGate but …

---

## [Is there another way to find max\_value after es5.4.0 deprecated \_field\_stats API](https://discuss.elastic.co/t/is-there-another-way-to-find-max-value-after-es5-4-0-deprecated--field-stats-api/101371)

<div class="topic-metadata">

**Author:** [@LoadingZhang](https://discuss.elastic.co/u/LoadingZhang)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 7:54pm UTC](https://discuss.elastic.co/t/is-there-another-way-to-find-max-value-after-es5-4-0-deprecated--field-stats-api/101371 "2017-09-21T19:54:16Z")

</div>

because \_field\_stats API is deprecated in 5.4.0 so index\_name/\_field\_stats?level=indices can't use anymore, is there another API to find max value in the field

---

## [ES INSISTS on trying to create repos in wrong place](https://discuss.elastic.co/t/es-insists-on-trying-to-create-repos-in-wrong-place/101358)

<div class="topic-metadata">

**Author:** [@Bruce\_Carey](https://discuss.elastic.co/u/Bruce_Carey)\
**Replies:** 6\
**Last updated:** [September 21, 2017, 6:58pm UTC](https://discuss.elastic.co/t/es-insists-on-trying-to-create-repos-in-wrong-place/101358 "2017-09-21T18:58:43Z")

</div>

Setup: Azure Ubuntu 16.04 Elasticsearch 1.7.3 (yes I know it's old, but we're not ready to change it yet) Challenge: We implemented backups. At some point, the path.repo didn't match the place the backup script was tr…

---

## [Curator - need help to delete old logs with timestamp](https://discuss.elastic.co/t/curator-need-help-to-delete-old-logs-with-timestamp/101058)

<div class="topic-metadata">

**Author:** [@DStorck](https://discuss.elastic.co/u/DStorck)\
**Replies:** 6\
**Last updated:** [September 21, 2017, 6:06pm UTC](https://discuss.elastic.co/t/curator-need-help-to-delete-old-logs-with-timestamp/101058 "2017-09-21T18:06:25Z")

</div>

I am trying to delete old logs using Curator in my Kubernetes Cluster. A sample ES log looks like this: "\_index" : "logstash-2017.09.19", "\_type" : "flb\_type", "\_id" : "sample\_id", "\_sco…

---

## [Fetching data from elastic search using java code but performance is slow](https://discuss.elastic.co/t/fetching-data-from-elastic-search-using-java-code-but-performance-is-slow/101120)

<div class="topic-metadata">

**Author:** [@pravin1](https://discuss.elastic.co/u/pravin1)\
**Replies:** 7\
**Last updated:** [September 21, 2017, 4:38pm UTC](https://discuss.elastic.co/t/fetching-data-from-elastic-search-using-java-code-but-performance-is-slow/101120 "2017-09-21T16:38:51Z")

</div>

Hi, I implement below code for fetching data from Elastic Search, but performance is very slow. Please check below code and please improve the solution package com.cemciq.test; import java.io.BufferedInputStream; imp…

---

## [Filtering out results](https://discuss.elastic.co/t/filtering-out-results/101222)

<div class="topic-metadata">

**Author:** [@Justin\_Cross](https://discuss.elastic.co/u/Justin_Cross)\
**Replies:** 3\
**Last updated:** [September 21, 2017, 3:56pm UTC](https://discuss.elastic.co/t/filtering-out-results/101222 "2017-09-21T15:56:02Z")

</div>

assuming documents like id,event\_id,event\_name 1,1,EVENT\_A 1,2,EVENT\_B 1,3,EVENT\_C 2,4,EVENT\_A 2,5,EVENT\_B 1,6,EVENT\_D 3,7,EVENT\_A how can i get all the results where id has EVENT\_B but not EVENT\_C For example,…

---

## [Reduce fetching data time from elasticsearch](https://discuss.elastic.co/t/reduce-fetching-data-time-from-elasticsearch/101317)

<div class="topic-metadata">

**Author:** [@kanchan](https://discuss.elastic.co/u/kanchan)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 3:46pm UTC](https://discuss.elastic.co/t/reduce-fetching-data-time-from-elasticsearch/101317 "2017-09-21T15:46:36Z")

</div>

Hi, I write java code using rest client to fetch data but it is not fast as I need. How should I increase performance and get data faster.

---

## [Elasticsearch discovery with Azure Resource Manager](https://discuss.elastic.co/t/elasticsearch-discovery-with-azure-resource-manager/101357)

<div class="topic-metadata">

**Author:** [@Fei\_Yao](https://discuss.elastic.co/u/Fei_Yao)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 3:25pm UTC](https://discuss.elastic.co/t/elasticsearch-discovery-with-azure-resource-manager/101357 "2017-09-21T15:25:28Z")

</div>

Hi, In order to deploy into Azure Resource Manager model, do we have a discovery plugin for it? I found the pretty old plugin for Classic model. In Azure architecture, it recommends to use static IP for unicast discove…

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

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