# Elasticsearch

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

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

**Page:** 913

---

## [When i am try to install elastic (can provide to index.php)](https://discuss.elastic.co/t/when-i-am-try-to-install-elastic-can-provide-to-index-php/234009)

<div class="topic-metadata">

**Author:** [@dorofej85](https://discuss.elastic.co/u/dorofej85)\
**Replies:** 15\
**Last updated:** [May 24, 2020, 8:52am UTC](https://discuss.elastic.co/t/when-i-am-try-to-install-elastic-can-provide-to-index-php/234009 "2020-05-24T08:52:23Z")

</div>

Next type of error i am see in error log when try to see work elasticsearch ( i can provide to you index.php). PHP Fatal error: Uncaught Elasticsearch\\Common\\Exceptions\\NoNodesAvailableException: No alive nodes found in…

---

## [Installation fails](https://discuss.elastic.co/t/installation-fails/233792)

<div class="topic-metadata">

**Author:** [@ThomasRuediger](https://discuss.elastic.co/u/ThomasRuediger)\
**Replies:** 3\
**Last updated:** [May 24, 2020, 8:18am UTC](https://discuss.elastic.co/t/installation-fails/233792 "2020-05-24T08:18:16Z")

</div>

I seem to have difficulties with the installation, always freeszin at the same position: \[o.e.n. node\] after starting elasticsearch.bat in Windows10

---

## [Template mapping not working](https://discuss.elastic.co/t/template-mapping-not-working/234015)

<div class="topic-metadata">

**Author:** [@psteh](https://discuss.elastic.co/u/psteh)\
**Replies:** 8\
**Last updated:** [May 24, 2020, 3:12am UTC](https://discuss.elastic.co/t/template-mapping-not-working/234015 "2020-05-24T03:12:53Z")

</div>

I am streaming logs from AWS CloudWatch to AWS Elasticsearch Service Currently I have template with mappings set as below:- PUT \_template/template { "index\_patterns": \["cwl\*"\], "order" : 0, "settings": { "num…

---

## [Take (length of the aliases field) out of score calculation](https://discuss.elastic.co/t/take-length-of-the-aliases-field-out-of-score-calculation/233250)

<div class="topic-metadata">

**Author:** [@Muhammad\_Vakili](https://discuss.elastic.co/u/Muhammad_Vakili)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 9:46pm UTC](https://discuss.elastic.co/t/take-length-of-the-aliases-field-out-of-score-calculation/233250 "2020-05-23T21:46:29Z")

</div>

Suppose we have a documents of people with their name and array of aliases like this: { name: "Christian", aliases: \["נוצרי", "کریستیان" \] } Suppose I have a document with 10 aliases and another one with 2 aliase…

---

## [Unable to install elastic search using zip for windows](https://discuss.elastic.co/t/unable-to-install-elastic-search-using-zip-for-windows/233656)

<div class="topic-metadata">

**Author:** [@saranyagupta05](https://discuss.elastic.co/u/saranyagupta05)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 9:26pm UTC](https://discuss.elastic.co/t/unable-to-install-elastic-search-using-zip-for-windows/233656 "2020-05-23T21:26:45Z")

</div>

I am getting the error-\> Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. Error: Could not find or load main class AppDa…

---

## [Start 1 node on only 3 node cluster](https://discuss.elastic.co/t/start-1-node-on-only-3-node-cluster/233947)

<div class="topic-metadata">

**Author:** [@Vinicius.Moreno](https://discuss.elastic.co/u/Vinicius.Moreno)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 8:33pm UTC](https://discuss.elastic.co/t/start-1-node-on-only-3-node-cluster/233947 "2020-05-23T20:33:39Z")

</div>

I have 3 node master cluster, but 2 was lost (hardware failure). How I can bring up the last node forcing be a master? I have that message: master not discovered or elected yet, an election requires at least 2 nodes. b…

---

## [ES cluster seems to be crashing in middle of a snapshot creation and then return not found errors when queried with the API wrapper](https://discuss.elastic.co/t/es-cluster-seems-to-be-crashing-in-middle-of-a-snapshot-creation-and-then-return-not-found-errors-when-queried-with-the-api-wrapper/234005)

<div class="topic-metadata">

**Author:** [@ishanjain](https://discuss.elastic.co/u/ishanjain)\
**Replies:** 0\
**Last updated:** [May 23, 2020, 3:53pm UTC](https://discuss.elastic.co/t/es-cluster-seems-to-be-crashing-in-middle-of-a-snapshot-creation-and-then-return-not-found-errors-when-queried-with-the-api-wrapper/234005 "2020-05-23T15:53:19Z")

</div>

Hello! We have a Elasticsearch cluster running in production. We are using github.com/olivere/elastic(V7) to create snapshots. Here is how it goes, Create a \*elastic.Client, Verify authentication works by fetching t…

---

## [Getting Results Referencing Multiple Indexs at Once](https://discuss.elastic.co/t/getting-results-referencing-multiple-indexs-at-once/233981)

<div class="topic-metadata">

**Author:** [@rukmalf](https://discuss.elastic.co/u/rukmalf)\
**Replies:** 3\
**Last updated:** [May 23, 2020, 1:46pm UTC](https://discuss.elastic.co/t/getting-results-referencing-multiple-indexs-at-once/233981 "2020-05-23T13:46:42Z")

</div>

Hi, I have 3 CSVs which I use to create 3 indexes. But the problem is the 1st and 3rd Indexes are connected via the 2nd Index (refer to the image) . My final result should be A1, A2, A3,B1,B2,B3. How can I get this thi…

---

## [Es query slow with simple filter, and profile didn't show it](https://discuss.elastic.co/t/es-query-slow-with-simple-filter-and-profile-didnt-show-it/231950)

<div class="topic-metadata">

**Author:** [@weiwang\_zhang](https://discuss.elastic.co/u/weiwang_zhang)\
**Replies:** 6\
**Last updated:** [May 23, 2020, 2:01am UTC](https://discuss.elastic.co/t/es-query-slow-with-simple-filter-and-profile-didnt-show-it/231950 "2020-05-23T02:01:42Z")

</div>

An ES version of 7.6.0, with 1 million docs , 1.76Gi on size. I found a query slow with only a simple term filter in it. (about 2s to excute) The query body is just as below { "query": { "bool": { "filter…

---

## [Elasticsearch Cloud Client Not Working](https://discuss.elastic.co/t/elasticsearch-cloud-client-not-working/233885)

<div class="topic-metadata">

**Author:** [@Punj\_Shah](https://discuss.elastic.co/u/Punj_Shah)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 7:04am UTC](https://discuss.elastic.co/t/elasticsearch-cloud-client-not-working/233885 "2020-05-23T07:04:48Z")

</div>

Hello! I am trying to connect Elasticsearch using Springboot since last 3 days but no luck at all. I tried to google and find many codes on the elastic search discussion forum, but nothing worked till now. Many code of …

---

## [ES 7.7 Scripted metric stopped working when cross cluster search is used](https://discuss.elastic.co/t/es-7-7-scripted-metric-stopped-working-when-cross-cluster-search-is-used/233972)

<div class="topic-metadata">

**Author:** [@ld\_pvl](https://discuss.elastic.co/u/ld_pvl)\
**Replies:** 0\
**Last updated:** [May 23, 2020, 1:35am UTC](https://discuss.elastic.co/t/es-7-7-scripted-metric-stopped-working-when-cross-cluster-search-is-used/233972 "2020-05-23T01:35:10Z")

</div>

Hi team, I have a simple cross cluster search query using scripted metric aggregation that used to work in version 6.8. After upgrading all the clusters from 6.8 to 7.7, the cross cluster query does not error out but r…

---

## [Indexing using FsCrawler - remote windows server](https://discuss.elastic.co/t/indexing-using-fscrawler-remote-windows-server/233948)

<div class="topic-metadata">

**Author:** [@Lisahtwy](https://discuss.elastic.co/u/Lisahtwy)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 7:59pm UTC](https://discuss.elastic.co/t/indexing-using-fscrawler-remote-windows-server/233948 "2020-05-22T19:59:45Z")

</div>

Hi, I have remote windows server with files, and I want to run FSCrawler from my Elasticsearch server. if it is linux server, in settings file we would usually give the credentials and protocol as ssh under server. but…

---

## [Kibana TLS/SSL fails on Docker Swarm](https://discuss.elastic.co/t/kibana-tls-ssl-fails-on-docker-swarm/233938)

<div class="topic-metadata">

**Author:** [@msaik3](https://discuss.elastic.co/u/msaik3)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 5:40pm UTC](https://discuss.elastic.co/t/kibana-tls-ssl-fails-on-docker-swarm/233938 "2020-05-22T17:40:07Z")

</div>

Hi, I have deployed 3 node Elastic & Kibana on a 3 Node Docker Swarm. I could see the Cluster is up & running with 3 node elastic & 1 Kibana. Now, I'm trying to Provide Elasticsearch & Kibana with TLS/SSL authenticati…

---

## [Unassigned replica](https://discuss.elastic.co/t/unassigned-replica/233794)

<div class="topic-metadata">

**Author:** [@Emanuel\_Velzi](https://discuss.elastic.co/u/Emanuel_Velzi)\
**Replies:** 8\
**Last updated:** [May 22, 2020, 5:16pm UTC](https://discuss.elastic.co/t/unassigned-replica/233794 "2020-05-22T17:16:56Z")

</div>

Hi, I have unassigned replicas in my cluster. I try allocating them manually but I can't: POST \_cluster/reroute?pretty { "commands": \[ { "allocate\_replica": { "index": "apm-7.6.2-transaction-2020.05.…

---

## [Transport.publish\_address warning](https://discuss.elastic.co/t/transport-publish-address-warning/233914)

<div class="topic-metadata">

**Author:** [@irishwill2008](https://discuss.elastic.co/u/irishwill2008)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 2:12pm UTC](https://discuss.elastic.co/t/transport-publish-address-warning/233914 "2020-05-22T14:12:49Z")

</div>

Hey lads, I am looking through ElasticSearch Logs and inside: elasticsearch\_deprecation.log i see loads of records populating with the following warning: transport.publish\_address was printed as \[ip:port\] instead of \[h…

---

## [Search as you type datatype and Multi Match Search with Filter](https://discuss.elastic.co/t/search-as-you-type-datatype-and-multi-match-search-with-filter/233681)

<div class="topic-metadata">

**Author:** [@chivas](https://discuss.elastic.co/u/chivas)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 11:31am UTC](https://discuss.elastic.co/t/search-as-you-type-datatype-and-multi-match-search-with-filter/233681 "2020-05-22T11:31:50Z")

</div>

Hello, My mapping is below (Elasticsearch version 7.4.1): PUT /test { "mappings": { "properties": { "countryCd": { "type": "text" }, "langSetId": { "type": "long" }, …

---

## [Reverse nested aggs not working in group by nested and non fields](https://discuss.elastic.co/t/reverse-nested-aggs-not-working-in-group-by-nested-and-non-fields/233890)

<div class="topic-metadata">

**Author:** [@deadlybeast0](https://discuss.elastic.co/u/deadlybeast0)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 10:59am UTC](https://discuss.elastic.co/t/reverse-nested-aggs-not-working-in-group-by-nested-and-non-fields/233890 "2020-05-22T10:59:25Z")

</div>

Hi i am trying to do group by nested and non nested fields.I want to do group by on 1 non nested fields(from\_district) ,1 nested field(truck\_number) and max on nested field(truck\_number.score). Requirement -: to get max…

---

## [Problem with heap size](https://discuss.elastic.co/t/problem-with-heap-size/233739)

<div class="topic-metadata">

**Author:** [@Intissar\_Ayadi](https://discuss.elastic.co/u/Intissar_Ayadi)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 10:47am UTC](https://discuss.elastic.co/t/problem-with-heap-size/233739 "2020-05-22T10:47:12Z")

</div>

I have a machine running elasticsearch 7.X as a service, wich have 64GO of RAM available, When setting the heap size of elasticsearch( Xmx and Xms 50% of my physical RAM) , it cannot accept and elasticsearch failed to s…

---

## [Compare between Date Fields](https://discuss.elastic.co/t/compare-between-date-fields/233883)

<div class="topic-metadata">

**Author:** [@yummycake](https://discuss.elastic.co/u/yummycake)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 10:29am UTC](https://discuss.elastic.co/t/compare-between-date-fields/233883 "2020-05-22T10:29:53Z")

</div>

I am trying to do this get this query The Current date is after Current Milestone date it will then give all the documents in the index. Here is my current query GET /my\_index/\_search { "query": { "bool": { …

---

## [How to get only the ‘\_source’ part of the hits. of the result](https://discuss.elastic.co/t/how-to-get-only-the-source-part-of-the-hits-of-the-result/233663)

<div class="topic-metadata">

**Author:** [@Muna](https://discuss.elastic.co/u/Muna)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 10:19am UTC](https://discuss.elastic.co/t/how-to-get-only-the-source-part-of-the-hits-of-the-result/233663 "2020-05-22T10:19:02Z")

</div>

is there any way to get only the '\_source' part of the result of the query . Like from below result i want only the source part from the hits. { "took" : 0, "timed\_out" : false, "\_shards" : { "total" : 5, "success…

---

## [How to get response from Serial Differencing Aggregation in java client](https://discuss.elastic.co/t/how-to-get-response-from-serial-differencing-aggregation-in-java-client/231338)

<div class="topic-metadata">

**Author:** [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 10:01am UTC](https://discuss.elastic.co/t/how-to-get-response-from-serial-differencing-aggregation-in-java-client/231338 "2020-05-22T10:01:35Z")

</div>

My aggregation code is as below, so what will be the aggregation response code? RestHighLevelClient hclient = client.getClient(); SearchResponse response = hclient.search(new SearchRequest(index) .s…

---

## [Query on non-standard characters not working post upgrade from 5.6 to 6.8 on ElasticCloud](https://discuss.elastic.co/t/query-on-non-standard-characters-not-working-post-upgrade-from-5-6-to-6-8-on-elasticcloud/233529)

<div class="topic-metadata">

**Author:** [@markmevans](https://discuss.elastic.co/u/markmevans)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 7:36am UTC](https://discuss.elastic.co/t/query-on-non-standard-characters-not-working-post-upgrade-from-5-6-to-6-8-on-elasticcloud/233529 "2020-05-22T07:36:07Z")

</div>

I performed an upgrade yesterday for our ElasticSearch and Kibana instances from 5.6 to 6.8 in ElasticCloud. We had some recordswith non-standard characters due to a previous character encoding issue when importing data…

---

## [Spark ES Read Error](https://discuss.elastic.co/t/spark-es-read-error/233845)

<div class="topic-metadata">

**Author:** [@dlSpark](https://discuss.elastic.co/u/dlSpark)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 7:00am UTC](https://discuss.elastic.co/t/spark-es-read-error/233845 "2020-05-22T07:00:03Z")

</div>

We have several index(s) stored in out ES (7.1.1) cluster. edit-- Spark is 2.3.1, Scala 2.11.8, Hadoop HDP 3.0.1 When reading as a dataframe by val reader = spark.read.format("org.elasticsearch.spark.sql").option("es.n…

---

## [Boosting certain words/phrases in a should query?](https://discuss.elastic.co/t/boosting-certain-words-phrases-in-a-should-query/233850)

<div class="topic-metadata">

**Author:** [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 6:35am UTC](https://discuss.elastic.co/t/boosting-certain-words-phrases-in-a-should-query/233850 "2020-05-22T06:35:13Z")

</div>

Hi, I am using the following query: { "\_source": \[ "title", "bench", "id\_", "court", "date", "content" \], "size": 15, "from": 0, "query": { "b…

---

## [Elasticsearch OpenNLP Ingest Processor plugin installation on Elasticsearch cloud service](https://discuss.elastic.co/t/elasticsearch-opennlp-ingest-processor-plugin-installation-on-elasticsearch-cloud-service/233724)

<div class="topic-metadata">

**Author:** [@Jeremy\_Gachet](https://discuss.elastic.co/u/Jeremy_Gachet)\
**Replies:** 9\
**Last updated:** [May 22, 2020, 6:26am UTC](https://discuss.elastic.co/t/elasticsearch-opennlp-ingest-processor-plugin-installation-on-elasticsearch-cloud-service/233724 "2020-05-22T06:26:05Z")

</div>

Hello, I'm trying to install OpenNLP Ingest Processor plugin on Elastic cloud. But after uploading the zip file we have to download the model Manually. IMPORTANT : If you are running this plugin with Elasticsearch 6.…

---

## [Delete Large Index](https://discuss.elastic.co/t/delete-large-index/233818)

<div class="topic-metadata">

**Author:** [@Oleksandr.Tedikov](https://discuss.elastic.co/u/Oleksandr.Tedikov)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 6:09am UTC](https://discuss.elastic.co/t/delete-large-index/233818 "2020-05-22T06:09:17Z")

</div>

Hello, I have Elastic Cluster with Ram, Disk Size 500GB, 3 Master Nodes and 3 Data/Ingest Nodes(1 VCPU, 4GB) Currently I have Large Index which is ~275 GB in 1 Shard. I would like to delete it. Should I just delete it…

---

## [Elastic search Design - Room for improvement](https://discuss.elastic.co/t/elastic-search-design-room-for-improvement/233842)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 5:47am UTC](https://discuss.elastic.co/t/elastic-search-design-room-for-improvement/233842 "2020-05-22T05:47:44Z")

</div>

We are starting designing a cluster and come up with the following optimal configuration . Please suggest if there is any scope for improvement or save some budget if it is over optimized. 100 fields - 1 MB per field(i…

---

## [Latency between ElasticSearch and AWS](https://discuss.elastic.co/t/latency-between-elasticsearch-and-aws/233592)

<div class="topic-metadata">

**Author:** [@cyt](https://discuss.elastic.co/u/cyt)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 4:20am UTC](https://discuss.elastic.co/t/latency-between-elasticsearch-and-aws/233592 "2020-05-22T04:20:17Z")

</div>

I have an Amazon EC2 instance used to make requests to an Elastic Cloud instance hosted on AWS. Both are in the same region on AWS (N. Virginia). However, I am seeing incredibly high ping between the two servers. Using …

---

## [Elastic Search - Node failures](https://discuss.elastic.co/t/elastic-search-node-failures/233759)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 3:50am UTC](https://discuss.elastic.co/t/elastic-search-node-failures/233759 "2020-05-22T03:50:14Z")

</div>

As I understand from the documentation, when a node goes down, elastic search automatically creates primary or replica shards on all other nodes to address the failure of the node. However, what happens if the nodes c…

---

## [Relevance of having Cordinating Node and Data Node](https://discuss.elastic.co/t/relevance-of-having-cordinating-node-and-data-node/233318)

<div class="topic-metadata">

**Author:** [@rohitarora275](https://discuss.elastic.co/u/rohitarora275)\
**Replies:** 6\
**Last updated:** [May 22, 2020, 3:41am UTC](https://discuss.elastic.co/t/relevance-of-having-cordinating-node-and-data-node/233318 "2020-05-22T03:41:22Z")

</div>

Hi Team, I am trying to implement ELK on 6 servers in a cluster. I have below configuration Two master Nodes One Coordinating Node Three Data Nodes I have inserted around 100 records from logstash in elasticsearch, I…

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

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