# Elasticsearch

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

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

**Page:** 1365

---

## [Error Installing Elasticsearch 6.6.2](https://discuss.elastic.co/t/error-installing-elasticsearch-6-6-2/172546)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 2:06pm UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-6-6-2/172546 "2019-03-15T14:06:58Z")

</div>

Hi, I'm getting an exception while installing 6.6.2 on ubuntu 18.0.4.1... Exception in thread "main" java.lang.ExceptionInInitializerError at java.base/javax.crypto.SecretKeyFactory.nextSpi(SecretKeyFactory.java:303) …

---

## [Script processor ingest pipelines on nested fields](https://discuss.elastic.co/t/script-processor-ingest-pipelines-on-nested-fields/172092)

<div class="topic-metadata">

**Author:** [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Replies:** 2\
**Last updated:** [March 15, 2019, 1:18pm UTC](https://discuss.elastic.co/t/script-processor-ingest-pipelines-on-nested-fields/172092 "2019-03-15T13:18:33Z")

</div>

Hi there! I'm dealing with the following situation. I have some data ingested into elasticsearch which present a field "certainField" which can either be null or contain an unspecified number of JSON objects. My goal …

---

## [TWO Clusters unable to communicate for remote search](https://discuss.elastic.co/t/two-clusters-unable-to-communicate-for-remote-search/172299)

<div class="topic-metadata">

**Author:** [@srirama](https://discuss.elastic.co/u/srirama)\
**Replies:** 10\
**Last updated:** [March 15, 2019, 11:40am UTC](https://discuss.elastic.co/t/two-clusters-unable-to-communicate-for-remote-search/172299 "2019-03-15T11:40:53Z")

</div>

In my local development servers, we created two clusters, each having single node. The cluster status for each of them made green by making number of replicas to 0. Below is the cluster configurations. { "persistent…

---

## [Snapshot using Azure plugin not starting](https://discuss.elastic.co/t/snapshot-using-azure-plugin-not-starting/172506)

<div class="topic-metadata">

**Author:** [@djsowa](https://discuss.elastic.co/u/djsowa)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 10:23am UTC](https://discuss.elastic.co/t/snapshot-using-azure-plugin-not-starting/172506 "2019-03-15T10:23:17Z")

</div>

Hi I try to create snapshot using azure plugin. We are using Elasticsearch version 6.2. When I run: curl -X PUT "localhost:9200/\_snapshot/oldbackup2" -H 'Content-Type: application/json' -d' { "type": "azure", …

---

## [Custom Ingest Processor](https://discuss.elastic.co/t/custom-ingest-processor/171767)

<div class="topic-metadata">

**Author:** [@suikast42](https://discuss.elastic.co/u/suikast42)\
**Replies:** 1\
**Last updated:** [March 15, 2019, 10:13am UTC](https://discuss.elastic.co/t/custom-ingest-processor/171767 "2019-03-15T10:13:34Z")

</div>

Hi I am looking for a way to setup a elasticserach ingest plugin project based on maven and not on gradle. I follow the instructions of this guide That works so far so good fine. But I don't know where I have to place …

---

## [Percolating unknown document fields, using copy\_to as work around](https://discuss.elastic.co/t/percolating-unknown-document-fields-using-copy-to-as-work-around/171614)

<div class="topic-metadata">

**Author:** [@autorock](https://discuss.elastic.co/u/autorock)\
**Replies:** 1\
**Last updated:** [March 15, 2019, 10:03am UTC](https://discuss.elastic.co/t/percolating-unknown-document-fields-using-copy-to-as-work-around/171614 "2019-03-15T10:03:58Z")

</div>

I've been experimenting with percolator, but it seems I can't add queries for fields that have no mappings. This would be really useful for me. I was wondering if it would be possible to use copy\_to to in a dynamic temp…

---

## [Web Server Generic XSS](https://discuss.elastic.co/t/web-server-generic-xss/172488)

<div class="topic-metadata">

**Author:** [@Nishant\_Suman](https://discuss.elastic.co/u/Nishant_Suman)\
**Replies:** 1\
**Last updated:** [March 15, 2019, 9:32am UTC](https://discuss.elastic.co/t/web-server-generic-xss/172488 "2019-03-15T09:32:22Z")

</div>

We have hosted a dockerized elastic stack in AWS ec2 instance and ran nessus scan on that instance. In the report of nessus scan, Web Server Generic XSS vulnerability is detected in elasticsearch. Currently we are using …

---

## [Comparing files between indices](https://discuss.elastic.co/t/comparing-files-between-indices/172332)

<div class="topic-metadata">

**Author:** [@saqibjavid](https://discuss.elastic.co/u/saqibjavid)\
**Replies:** 4\
**Last updated:** [March 15, 2019, 9:04am UTC](https://discuss.elastic.co/t/comparing-files-between-indices/172332 "2019-03-15T09:04:17Z")

</div>

I have 2 version of about 100 files stored in 2 different elastic search indices, I want to compare the files in both the indices and need to visualize the differences in kibana. Is it possible? Please give me some sugg…

---

## [Something wrong with wildcard search for utf8 charaa](https://discuss.elastic.co/t/something-wrong-with-wildcard-search-for-utf8-charaa/172478)

<div class="topic-metadata">

**Author:** [@gesuper](https://discuss.elastic.co/u/gesuper)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 8:13am UTC](https://discuss.elastic.co/t/something-wrong-with-wildcard-search-for-utf8-charaa/172478 "2019-03-15T08:13:25Z")

</div>

I have a index with india language, below is the map and some data when i try to seach by http://localhost:9200/community/user/\_search?q=name:मई की न्यूज़, everything is fine. I can get the data which i want but, when i…

---

## [Elasticsearch - kubernetes - EFS -AWS - Node lock](https://discuss.elastic.co/t/elasticsearch-kubernetes-efs-aws-node-lock/172150)

<div class="topic-metadata">

**Author:** [@Aravind\_Umasankar](https://discuss.elastic.co/u/Aravind_Umasankar)\
**Replies:** 4\
**Last updated:** [March 15, 2019, 8:42am UTC](https://discuss.elastic.co/t/elasticsearch-kubernetes-efs-aws-node-lock/172150 "2019-03-15T08:42:19Z")

</div>

Hello Team, I have deployed ES 6.6 in kubernetes. I have mounted an existing Persistence Volume EFS for the data node. I'm getting the following error: org.elasticsearch.bootstrap.StartupException: java.lang.IllegalS…

---

## [What is the curl command to convert pdf into base64 format?](https://discuss.elastic.co/t/what-is-the-curl-command-to-convert-pdf-into-base64-format/171751)

<div class="topic-metadata">

**Author:** [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Replies:** 14\
**Last updated:** [March 15, 2019, 8:40am UTC](https://discuss.elastic.co/t/what-is-the-curl-command-to-convert-pdf-into-base64-format/171751 "2019-03-15T08:40:35Z")

</div>

I want to convert my pdf to base64. i am using below code but it is giving me an error: curl -XPOST "http://localhost:9200/test/xmlfile?pretty=1" -d ' { "attachment" : "' base64 /path/filename | perl -pe 's/\\n/\\\\n/g' …

---

## [Allocate\_stale\_primary appears to succeed on wrong node](https://discuss.elastic.co/t/allocate-stale-primary-appears-to-succeed-on-wrong-node/172452)

<div class="topic-metadata">

**Author:** [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Replies:** 4\
**Last updated:** [March 15, 2019, 8:35am UTC](https://discuss.elastic.co/t/allocate-stale-primary-appears-to-succeed-on-wrong-node/172452 "2019-03-15T08:35:16Z")

</div>

Hi, I'm facing the same issue in v6.4.2 version and this is fixed in v6.5.1 as per below mentioned link. I just want to know that is there any workaround to fix this problem in v6.4.2. Regards, Harsh Bajaj

---

## [\_id extraction performance in plugin](https://discuss.elastic.co/t/id-extraction-performance-in-plugin/172483)

<div class="topic-metadata">

**Author:** [@vgindin](https://discuss.elastic.co/u/vgindin)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 8:34am UTC](https://discuss.elastic.co/t/id-extraction-performance-in-plugin/172483 "2019-03-15T08:34:08Z")

</div>

Hello all! We use machine learning to score products from an index in our custom elasticsearch search plugin. For this scoring purpose, I need to fetch additional data from external db using product ids, founded by text…

---

## [Best way to build a document with a fixed part and a variable part](https://discuss.elastic.co/t/best-way-to-build-a-document-with-a-fixed-part-and-a-variable-part/172482)

<div class="topic-metadata">

**Author:** [@sebastienf](https://discuss.elastic.co/u/sebastienf)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 8:28am UTC](https://discuss.elastic.co/t/best-way-to-build-a-document-with-a-fixed-part-and-a-variable-part/172482 "2019-03-15T08:28:58Z")

</div>

Hi Everyone, I aim to ingest datas in ES documents. My datas are pretty much like this :: fixed\_field1;fixed\_field2;...;variable\_field1;variable\_field2;... And then, I want to build ES documents like this :: { "fix…

---

## [Problems with access to Elasticsearch form outside machine](https://discuss.elastic.co/t/problems-with-access-to-elasticsearch-form-outside-machine/172450)

<div class="topic-metadata">

**Author:** [@Alejandro\_Bartolomeo](https://discuss.elastic.co/u/Alejandro_Bartolomeo)\
**Replies:** 3\
**Last updated:** [March 15, 2019, 8:24am UTC](https://discuss.elastic.co/t/problems-with-access-to-elasticsearch-form-outside-machine/172450 "2019-03-15T08:24:31Z")

</div>

Hi all, I have problems to configure access to elasticsearch 7 from other machine. I made the same changes like elasticsearch 6.5 (and worked perfect) to access from outside but when I uncomment the "network.host: 0.0.…

---

## [Elastic Search as windows service](https://discuss.elastic.co/t/elastic-search-as-windows-service/172439)

<div class="topic-metadata">

**Author:** [@saxenark](https://discuss.elastic.co/u/saxenark)\
**Replies:** 1\
**Last updated:** [March 15, 2019, 7:56am UTC](https://discuss.elastic.co/t/elastic-search-as-windows-service/172439 "2019-03-15T07:56:23Z")

</div>

Hi, I want to know how to install ElasticSearch as a windows service with the network.host set so that all of my dev machines can access the service over 9200 port. I figured out that we can do this with the -E network…

---

## [Getting only selected column in Spring Data Elastic Search Repository](https://discuss.elastic.co/t/getting-only-selected-column-in-spring-data-elastic-search-repository/172470)

<div class="topic-metadata">

**Author:** [@Aayush\_Pant](https://discuss.elastic.co/u/Aayush_Pant)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 7:16am UTC](https://discuss.elastic.co/t/getting-only-selected-column-in-spring-data-elastic-search-repository/172470 "2019-03-15T07:16:49Z")

</div>

I am using Elasticsearch Respository with my Java High Level Rest Client for connecting with my Elasticsearch. Now, I have managed to write a complex query which uses nested, should and must keywords to get certain data…

---

## [Elasticsearch configuration on GCP](https://discuss.elastic.co/t/elasticsearch-configuration-on-gcp/172460)

<div class="topic-metadata">

**Author:** [@manu\_sebastian](https://discuss.elastic.co/u/manu_sebastian)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 5:50am UTC](https://discuss.elastic.co/t/elasticsearch-configuration-on-gcp/172460 "2019-03-15T05:50:24Z")

</div>

I have deployed elasticsearch on gcp compute engine unfortunately i'm not able to find any document for further configuration . How to load gcp bucket feeds into elasticserach. How to launch Kibana from GCP . It wou…

---

## [Why isn't cosine similarity implemented?](https://discuss.elastic.co/t/why-isnt-cosine-similarity-implemented/172446)

<div class="topic-metadata">

**Author:** [@danielspeixoto](https://discuss.elastic.co/u/danielspeixoto)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 1:03am UTC](https://discuss.elastic.co/t/why-isnt-cosine-similarity-implemented/172446 "2019-03-15T01:03:46Z")

</div>

I'm conducting a research using elasticsearch. I was planning to use cosine similarity but I noted that it is unavailable and instead we have BM25 as default scoring function. Is there a reason for that? Is cosine simil…

---

## [Why date event in Elasticsearch logs are not in UTC](https://discuss.elastic.co/t/why-date-event-in-elasticsearch-logs-are-not-in-utc/171769)

<div class="topic-metadata">

**Author:** [@Pascal72](https://discuss.elastic.co/u/Pascal72)\
**Replies:** 7\
**Last updated:** [March 14, 2019, 11:01pm UTC](https://discuss.elastic.co/t/why-date-event-in-elasticsearch-logs-are-not-in-utc/171769 "2019-03-14T23:01:41Z")

</div>

Hello, I recently upgraded my installation to Elasticsearch 6.1.1 and noticed a slight issue with the indexed data in Kibana. If I choose the 'last 15 min' filter I am not able to see the data. However if I choose 'Tod…

---

## [Query string returns 0 hits](https://discuss.elastic.co/t/query-string-returns-0-hits/172185)

<div class="topic-metadata">

**Author:** [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 10:54pm UTC](https://discuss.elastic.co/t/query-string-returns-0-hits/172185 "2019-03-14T22:54:22Z")

</div>

Hi there, I am trying to add exact matching functionality in my app, but I found some issues. I created an index exactmatching\_v4 in my Elasticsearch cluster ( version 1.7 ) with following mappings: POST /exactmatchin…

---

## [Details about warmer Thread](https://discuss.elastic.co/t/details-about-warmer-thread/172441)

<div class="topic-metadata">

**Author:** [@safwan](https://discuss.elastic.co/u/safwan)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 10:31pm UTC](https://discuss.elastic.co/t/details-about-warmer-thread/172441 "2019-03-14T22:31:36Z")

</div>

Hi, Somedays ago, I was monitoring the thread pool stats of our data nodes. I saw that in specific time range everyday, the warmer thread pool get increased that cause extensive CPU usage. Can anyone explain more about…

---

## [Need Help to Update Record in Elasticsearch Index](https://discuss.elastic.co/t/need-help-to-update-record-in-elasticsearch-index/169295)

<div class="topic-metadata">

**Author:** [@rajatdey80](https://discuss.elastic.co/u/rajatdey80)\
**Replies:** 12\
**Last updated:** [March 14, 2019, 10:03pm UTC](https://discuss.elastic.co/t/need-help-to-update-record-in-elasticsearch-index/169295 "2019-03-14T22:03:16Z")

</div>

Hi All. , I am not an expert in Elasticsearch, hence forgive me if this question is very silly . I am trying to update a record in. elastic search but unable to achieve the goal. . Elastic Version. : 6.6.\* Requireme…

---

## [Cannot do the fuzzy match with Java RestHighLevelClient](https://discuss.elastic.co/t/cannot-do-the-fuzzy-match-with-java-resthighlevelclient/171854)

<div class="topic-metadata">

**Author:** [@flash](https://discuss.elastic.co/u/flash)\
**Replies:** 10\
**Last updated:** [March 14, 2019, 9:09pm UTC](https://discuss.elastic.co/t/cannot-do-the-fuzzy-match-with-java-resthighlevelclient/171854 "2019-03-14T21:09:55Z")

</div>

We are trying to use elasticsearch to do some inverted index (e.g. name -\> id index). We are using Amazon ElasticSearch. And from the client side, I used Java Rest High Level API and build SearchRequest as follows: Sear…

---

## [Returning a List of Nodes via an Attribute](https://discuss.elastic.co/t/returning-a-list-of-nodes-via-an-attribute/172405)

<div class="topic-metadata">

**Author:** [@Sometimes](https://discuss.elastic.co/u/Sometimes)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 7:45pm UTC](https://discuss.elastic.co/t/returning-a-list-of-nodes-via-an-attribute/172405 "2019-03-14T19:45:45Z")

</div>

Howdy, everyone! I've spent a while searching through the API endpoint documentation, but I haven't really gotten anywhere, so figured I'd ask the experts. Basically, I'm trying to programmatically get a list of all nod…

---

## [Rolling upgrade problem](https://discuss.elastic.co/t/rolling-upgrade-problem/172408)

<div class="topic-metadata">

**Author:** [@kb2295](https://discuss.elastic.co/u/kb2295)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 6:56pm UTC](https://discuss.elastic.co/t/rolling-upgrade-problem/172408 "2019-03-14T18:56:13Z")

</div>

Hi, I'm trying to perform a rolling upgrade (5.6 to 6.6) on 3 nodes. I successfully upgraded the first node according to the instructions in: https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgra…

---

## [How to implement the auto complete without using suggest](https://discuss.elastic.co/t/how-to-implement-the-auto-complete-without-using-suggest/172399)

<div class="topic-metadata">

**Author:** [@dattack13](https://discuss.elastic.co/u/dattack13)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 5:56pm UTC](https://discuss.elastic.co/t/how-to-implement-the-auto-complete-without-using-suggest/172399 "2019-03-14T17:56:14Z")

</div>

Hi Can anyone suggest me how can I build the autocomplete functionality, without using suggest, and how can I consume it in C# code. Data is added below : \`\[{"providerId":2182,"legacyId":2182,"name":"Hospital Particula…

---

## [Books to learn elasticsearch](https://discuss.elastic.co/t/books-to-learn-elasticsearch/172385)

<div class="topic-metadata">

**Author:** [@freaka](https://discuss.elastic.co/u/freaka)\
**Replies:** 1\
**Last updated:** [March 14, 2019, 5:40pm UTC](https://discuss.elastic.co/t/books-to-learn-elasticsearch/172385 "2019-03-14T17:40:03Z")

</div>

Hi, given my current tasks at work I spend some time working with ES and I would like to know more about this solution. Is there a book that would cover the core principles? I would like to get a bit better and I thoug…

---

## [How to Integrate Elasticsearch into Node.js](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-into-node-js/172391)

<div class="topic-metadata">

**Author:** [@hanifeoglu](https://discuss.elastic.co/u/hanifeoglu)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 4:49pm UTC](https://discuss.elastic.co/t/how-to-integrate-elasticsearch-into-node-js/172391 "2019-03-14T16:49:36Z")

</div>

Hi Everyone, in my case mssql server complex query, Results from the database return too late, i try to solution in my-case i m need recommendation how to do all people :slight\_smile: where i m used this is have a…

---

## [Quickly restarting a node](https://discuss.elastic.co/t/quickly-restarting-a-node/172367)

<div class="topic-metadata">

**Author:** [@yann-soubeyrand](https://discuss.elastic.co/u/yann-soubeyrand)\
**Replies:** 5\
**Last updated:** [March 14, 2019, 4:56pm UTC](https://discuss.elastic.co/t/quickly-restarting-a-node/172367 "2019-03-14T16:56:53Z")

</div>

Hi, Trying to restart a node in our cluster as quickly as possible, I use the following procedure: I disable shard allocation except for new primaries: curl -s -u "$username:$password" -X 'PUT' -H 'Content-Type: appl…

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

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