# Elasticsearch

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

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

**Page:** 1575

---

## [Failing debug elasticsearch 6.3.2 on win7 due to java.security.AccessControlException createClassLoader](https://discuss.elastic.co/t/failing-debug-elasticsearch-6-3-2-on-win7-due-to-java-security-accesscontrolexception-createclassloader/145312)

<div class="topic-metadata">

**Author:** [@whirlys](https://discuss.elastic.co/u/whirlys)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 7:16am UTC](https://discuss.elastic.co/t/failing-debug-elasticsearch-6-3-2-on-win7-due-to-java-security-accesscontrolexception-createclassloader/145312 "2018-08-21T07:16:36Z")

</div>

Hi. I want to debug elasticsearch 6.3.2 on my win7, and Java version is 10.0.2, I did the following download elasticsearch 6.3.2 source and than unzip it gradlew idea import into idea configure the following variables…

---

## [Large synonyms file - Cluster State Exception](https://discuss.elastic.co/t/large-synonyms-file-cluster-state-exception/145075)

<div class="topic-metadata">

**Author:** [@mattkallo](https://discuss.elastic.co/u/mattkallo)\
**Replies:** 7\
**Last updated:** [August 21, 2018, 7:09am UTC](https://discuss.elastic.co/t/large-synonyms-file-cluster-state-exception/145075 "2018-08-21T07:09:47Z")

</div>

Hi - Similar issues were discussed earlier by others, however I am unable to resolve this from the solutions mentioned in those discussions. Recommendation for large synonym file I have 2 synonyms/phrases files which a…

---

## [Hide doc\_count\_error\_upper\_bound and sum\_other\_doc\_count from aggregation](https://discuss.elastic.co/t/hide-doc-count-error-upper-bound-and-sum-other-doc-count-from-aggregation/145085)

<div class="topic-metadata">

**Author:** [@anam](https://discuss.elastic.co/u/anam)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 5:25am UTC](https://discuss.elastic.co/t/hide-doc-count-error-upper-bound-and-sum-other-doc-count-from-aggregation/145085 "2018-08-20T05:25:19Z")

</div>

How to hide doc\_count\_error\_upper\_bound: 0 and sum\_other\_doc\_count: 0 from aggregation result? { ... "aggregations" : { "genres" : { "doc\_count\_error\_upper\_bound": 0, "sum\_other\_d…

---

## [Scroll API with slice gives duplicated entry](https://discuss.elastic.co/t/scroll-api-with-slice-gives-duplicated-entry/145305)

<div class="topic-metadata">

**Author:** [@ashishtiwari1993](https://discuss.elastic.co/u/ashishtiwari1993)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 7:06am UTC](https://discuss.elastic.co/t/scroll-api-with-slice-gives-duplicated-entry/145305 "2018-08-21T07:06:46Z")

</div>

Hi Guys, I have imported sample data of bank which specified here https://www.elastic.co/guide/en/elasticsearch/reference/current/\_exploring\_your\_data.html#\_loading\_the\_sample\_dataset . I have imported and using scroll …

---

## [Commands typed in console are showing up in all users](https://discuss.elastic.co/t/commands-typed-in-console-are-showing-up-in-all-users/145285)

<div class="topic-metadata">

**Author:** [@vemula.pranavi](https://discuss.elastic.co/u/vemula.pranavi)\
**Replies:** 2\
**Last updated:** [August 21, 2018, 7:04am UTC](https://discuss.elastic.co/t/commands-typed-in-console-are-showing-up-in-all-users/145285 "2018-08-21T07:04:59Z")

</div>

Hey, I created to two users, 'user1' and 'user2'. Now, if I type anything in user1 account's console, it shows in user2's console as well. eg: GET \_cat/indices typed in user1's console shows in user2 as well. If I ty…

---

## [Is it possible to boost exact (standard) search when phonetic analyzer is used on the field?](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240)

<div class="topic-metadata">

**Author:** [@porunov](https://discuss.elastic.co/u/porunov)\
**Replies:** 2\
**Last updated:** [August 21, 2018, 7:03am UTC](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240 "2018-08-21T07:03:12Z")

</div>

I have a document with the field "name" which has a phonetic analyzer. It works well, but I would like to see exact matches (standard) on the top of the page. Is there a possibility to use two analyzers in the same fiel…

---

## [Get Old Mapping in Elastic Search](https://discuss.elastic.co/t/get-old-mapping-in-elastic-search/145301)

<div class="topic-metadata">

**Author:** [@surajdalvi](https://discuss.elastic.co/u/surajdalvi)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 7:01am UTC](https://discuss.elastic.co/t/get-old-mapping-in-elastic-search/145301 "2018-08-21T07:01:17Z")

</div>

HI, I have created one index in elastic search with some mapping. after some, I have updated the index mapping and add some more fields into it. Now I get index mapping(using get API) it is showing me latest mapping. b…

---

## [Using the HighLevelRestClient in OSGI/Karaf](https://discuss.elastic.co/t/using-the-highlevelrestclient-in-osgi-karaf/145303)

<div class="topic-metadata">

**Author:** [@jiinxx](https://discuss.elastic.co/u/jiinxx)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 6:58am UTC](https://discuss.elastic.co/t/using-the-highlevelrestclient-in-osgi-karaf/145303 "2018-08-21T06:58:35Z")

</div>

Hi, Im trying to utilizie the HighLevelRestClient in a OSGI-application. However, Im experiencing difficulties getting the client to be accepted as a feature by Karaf. The problem seem to relate to that the ES functiona…

---

## [JSONPath query on Elasticsearch?](https://discuss.elastic.co/t/jsonpath-query-on-elasticsearch/145297)

<div class="topic-metadata">

**Author:** [@Siddharth\_Trikha](https://discuss.elastic.co/u/Siddharth_Trikha)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 6:39am UTC](https://discuss.elastic.co/t/jsonpath-query-on-elasticsearch/145297 "2018-08-21T06:39:03Z")

</div>

I have a resource in my JAVA data model such as: { "user" : { "name" : "elastic", "creator" : "name", "content": { key1: vall1, key2: vall2, key3: vall3, …

---

## [Install elasticsearch ubuntu 18](https://discuss.elastic.co/t/install-elasticsearch-ubuntu-18/145286)

<div class="topic-metadata">

**Author:** [@chintaka\_wijeratne](https://discuss.elastic.co/u/chintaka_wijeratne)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 6:13am UTC](https://discuss.elastic.co/t/install-elasticsearch-ubuntu-18/145286 "2018-08-21T06:13:55Z")

</div>

---

## [Huge concurrent data ingestion to ElasticSearch](https://discuss.elastic.co/t/huge-concurrent-data-ingestion-to-elasticsearch/142318)

<div class="topic-metadata">

**Author:** [@supergunme](https://discuss.elastic.co/u/supergunme)\
**Replies:** 15\
**Last updated:** [August 21, 2018, 5:22am UTC](https://discuss.elastic.co/t/huge-concurrent-data-ingestion-to-elasticsearch/142318 "2018-08-21T05:22:02Z")

</div>

Hi Guys, I encountered an issue in ElasticSearch. We use Logstash listen a TCP connection, then filter and output. We only have a few dissect filters in Logstash to improve Logstash processing speed. Our logstash settin…

---

## [Delete documents from ES index\_5.4 based on timestamp](https://discuss.elastic.co/t/delete-documents-from-es-index-5-4-based-on-timestamp/145281)

<div class="topic-metadata">

**Author:** [@reddyvishnu01](https://discuss.elastic.co/u/reddyvishnu01)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 5:21am UTC](https://discuss.elastic.co/t/delete-documents-from-es-index-5-4-based-on-timestamp/145281 "2018-08-21T05:21:54Z")

</div>

Hi, I am working on script which includes "Delete the data from OLD ES Indices" by using "timestamp" query. TIme stamp looks like: timestamp August 21st 2018, 10:10:25.765 i tried with inputs from couple of …

---

## [Is there a better way to perform a "range sort" or "bucket sort" query?](https://discuss.elastic.co/t/is-there-a-better-way-to-perform-a-range-sort-or-bucket-sort-query/145279)

<div class="topic-metadata">

**Author:** [@Morriaty](https://discuss.elastic.co/u/Morriaty)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 5:06am UTC](https://discuss.elastic.co/t/is-there-a-better-way-to-perform-a-range-sort-or-bucket-sort-query/145279 "2018-08-21T05:06:33Z")

</div>

Hi, we're using ES 5.5.2, say we got this scenario: One user searched "Christmas presents", and the results were: Christmas present A \_score: 35.12, price: 100 Christmas present B \_score: 34.56, price: 120 Christmas pr…

---

## [\[MasterNode\] failed to validate incoming join request from node \[{LocalNode}](https://discuss.elastic.co/t/masternode-failed-to-validate-incoming-join-request-from-node-localnode/145269)

<div class="topic-metadata">

**Author:** [@agyepong](https://discuss.elastic.co/u/agyepong)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 2:07am UTC](https://discuss.elastic.co/t/masternode-failed-to-validate-incoming-join-request-from-node-localnode/145269 "2018-08-21T02:07:21Z")

</div>

I am trying to connect from a Java application using a client node: Node elasticSearchNode = new org.elasticsearch.node.Node(settings.build()); elasticSearchNode.start(); Client elasticSearchClient = elasticSearchNod…

---

## [Custom similarity in 6.3?](https://discuss.elastic.co/t/custom-similarity-in-6-3/145011)

<div class="topic-metadata">

**Author:** [@sikoried](https://discuss.elastic.co/u/sikoried)\
**Replies:** 7\
**Last updated:** [August 20, 2018, 9:16pm UTC](https://discuss.elastic.co/t/custom-similarity-in-6-3/145011 "2018-08-20T21:16:23Z")

</div>

Hi there, We were using a custom similarity that was using 3 float values in the payload. Unfortunately, this commit breaks it, since the refactor effectively prevents plugins to provide similarities. I guess it could…

---

## [Same host hosting nodes from different clusters](https://discuss.elastic.co/t/same-host-hosting-nodes-from-different-clusters/145245)

<div class="topic-metadata">

**Author:** [@Shafique](https://discuss.elastic.co/u/Shafique)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 9:05pm UTC](https://discuss.elastic.co/t/same-host-hosting-nodes-from-different-clusters/145245 "2018-08-20T21:05:18Z")

</div>

Hello, I would like to use a host to run Elasticsearch nodes from two clusters: C1 and C2. My clusters are - C1: node n11; and C2: nodes n12, n21, n31 My hosts are - host1 (n11, n12), host2 (n21), host3 (n31). Node n…

---

## [Reading Elastic cluster data into python data frame](https://discuss.elastic.co/t/reading-elastic-cluster-data-into-python-data-frame/145239)

<div class="topic-metadata">

**Author:** [@a3191](https://discuss.elastic.co/u/a3191)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 8:40pm UTC](https://discuss.elastic.co/t/reading-elastic-cluster-data-into-python-data-frame/145239 "2018-08-20T20:40:27Z")

</div>

Hello Everyone, I am pretty new here. so, please forgive if i am asking a very simple question. In my workplace we have a proper setup of ELK and and we are using kibana daily for the analysis. Due to the very large v…

---

## [Setting up a basic high availability cluster](https://discuss.elastic.co/t/setting-up-a-basic-high-availability-cluster/145206)

<div class="topic-metadata">

**Author:** [@tim2](https://discuss.elastic.co/u/tim2)\
**Replies:** 5\
**Last updated:** [August 20, 2018, 7:07pm UTC](https://discuss.elastic.co/t/setting-up-a-basic-high-availability-cluster/145206 "2018-08-20T19:07:36Z")

</div>

Im planning to set up a high availability cluster with 2 physical host machines hosting a number of VMs / elasticsearch nodes How many nodes do I need on each host machine so that I can safely restart a host machine and…

---

## [Add new relations after creating the mapping](https://discuss.elastic.co/t/add-new-relations-after-creating-the-mapping/144945)

<div class="topic-metadata">

**Author:** [@iamash](https://discuss.elastic.co/u/iamash)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 7:00pm UTC](https://discuss.elastic.co/t/add-new-relations-after-creating-the-mapping/144945 "2018-08-20T19:00:20Z")

</div>

Hi, I'm currently having the same question as #103827 Say I've already created a relation in the mapping: PUT my\_index { "mappings": { "\_doc": { "properties": { "my\_join\_field": { "type"…

---

## [Primary and Replica Shard on the same node](https://discuss.elastic.co/t/primary-and-replica-shard-on-the-same-node/145213)

<div class="topic-metadata">

**Author:** [@jibsonline](https://discuss.elastic.co/u/jibsonline)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 6:55pm UTC](https://discuss.elastic.co/t/primary-and-replica-shard-on-the-same-node/145213 "2018-08-20T18:55:23Z")

</div>

Is it possible to run replica and primary shard on a single node. I have mounted three volumes and configured the same in data.path. I tried adding replicas with PUT /\_settings { "index" : { "number\_of\_repli…

---

## [Elasticsearch.js installation](https://discuss.elastic.co/t/elasticsearch-js-installation/145216)

<div class="topic-metadata">

**Author:** [@Akaren](https://discuss.elastic.co/u/Akaren)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 5:46pm UTC](https://discuss.elastic.co/t/elasticsearch-js-installation/145216 "2018-08-20T17:46:54Z")

</div>

Hello, I have install elasticserach.js (https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html) in my ELK 6.1.1. But Kibana now shows plugin:elasticsearch@6.1.1 \[illegal\_argument\_excepti…

---

## [Filebeat -\> Logstash: SSL error](https://discuss.elastic.co/t/filebeat-logstash-ssl-error/145207)

<div class="topic-metadata">

**Author:** [@decibel83](https://discuss.elastic.co/u/decibel83)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 4:29pm UTC](https://discuss.elastic.co/t/filebeat-logstash-ssl-error/145207 "2018-08-20T16:29:42Z")

</div>

Hi, I am using the ELK stack. I installed Elasticsearch, Logstash and Kibana and all services are up and running. I created the SSL certificate and key for the Logstash forwarder and I configured the certificate into t…

---

## [Field is not getting always](https://discuss.elastic.co/t/field-is-not-getting-always/144929)

<div class="topic-metadata">

**Author:** [@bob28](https://discuss.elastic.co/u/bob28)\
**Replies:** 3\
**Last updated:** [August 20, 2018, 4:24pm UTC](https://discuss.elastic.co/t/field-is-not-getting-always/144929 "2018-08-20T16:24:03Z")

</div>

Hi, I am querying elasticsearch thruogh spark job and I am seeing some wired situation. I have added one field recently to the elasticsearch and when I query throguh kibana, I am able to see that field and its values. …

---

## [Help on optimization of aggregation request with fieldData set to true](https://discuss.elastic.co/t/help-on-optimization-of-aggregation-request-with-fielddata-set-to-true/145114)

<div class="topic-metadata">

**Author:** [@Fhocs](https://discuss.elastic.co/u/Fhocs)\
**Replies:** 9\
**Last updated:** [August 20, 2018, 4:23pm UTC](https://discuss.elastic.co/t/help-on-optimization-of-aggregation-request-with-fielddata-set-to-true/145114 "2018-08-20T16:23:34Z")

</div>

Hello, I got an index with a field mapped as : "concatGuid": { "type": "text", "fields": { "keyword": { "type": "keyword" } }, …

---

## [Separate machine learning node configs](https://discuss.elastic.co/t/separate-machine-learning-node-configs/145201)

<div class="topic-metadata">

**Author:** [@chandra0651](https://discuss.elastic.co/u/chandra0651)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 3:59pm UTC](https://discuss.elastic.co/t/separate-machine-learning-node-configs/145201 "2018-08-20T15:59:56Z")

</div>

Hello i have a 3 node cluster up and running and on all the nodes node.ml is set to "false".Now i want to include a extra node into cluster which will only perform machine learning jobs. As far as my understanding node.…

---

## [Skipping action "delete\_indices" due to empty list! Curator](https://discuss.elastic.co/t/skipping-action-delete-indices-due-to-empty-list-curator/145118)

<div class="topic-metadata">

**Author:** [@saisimo02](https://discuss.elastic.co/u/saisimo02)\
**Replies:** 6\
**Last updated:** [August 20, 2018, 2:20pm UTC](https://discuss.elastic.co/t/skipping-action-delete-indices-due-to-empty-list-curator/145118 "2018-08-20T14:20:20Z")

</div>

Hello, I wanna delete the older data from elasticsearch, I used curator for that: curator.yml client: hosts: - 127.0.0.1 port: 9200 url\_prefix: use\_ssl: False certificate: client\_cert: client\_key: …

---

## [Attachment processor in elasticsearch failing to process base64 content](https://discuss.elastic.co/t/attachment-processor-in-elasticsearch-failing-to-process-base64-content/145191)

<div class="topic-metadata">

**Author:** [@Nikesh](https://discuss.elastic.co/u/Nikesh)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 2:33pm UTC](https://discuss.elastic.co/t/attachment-processor-in-elasticsearch-failing-to-process-base64-content/145191 "2018-08-20T14:33:16Z")

</div>

https://www.elastic.co/guide/en/elasticsearch/plugins/master/using-ingest-attachment.html The abovelink tells us a method to process base64 format content and use plugins to extract string content. I am using postman…

---

## [AWS Security Groups vs Private Subnets](https://discuss.elastic.co/t/aws-security-groups-vs-private-subnets/145174)

<div class="topic-metadata">

**Author:** [@arisbanach](https://discuss.elastic.co/u/arisbanach)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 2:07pm UTC](https://discuss.elastic.co/t/aws-security-groups-vs-private-subnets/145174 "2018-08-20T14:07:04Z")

</div>

We are hosting Elasticsearch on EC2 instances, but are a bit unsure whether we should go for using a completely private subnet for our Elasticsearch cluster or just use a security group. Can anyone weigh in on this? I …

---

## [Geohash\_grid aggregation with unique and max field doesn't respect unique results](https://discuss.elastic.co/t/geohash-grid-aggregation-with-unique-and-max-field-doesnt-respect-unique-results/144909)

<div class="topic-metadata">

**Author:** [@ink4](https://discuss.elastic.co/u/ink4)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 1:54pm UTC](https://discuss.elastic.co/t/geohash-grid-aggregation-with-unique-and-max-field-doesnt-respect-unique-results/144909 "2018-08-20T13:54:00Z")

</div>

Let's have a records where we have some records for few devices, each record contains information about position, timestamp and deviceId: \[ { deviceId: 1, geoPoint: { lat: 1, lon: 2 …

---

## [Some proplem about Elasticsearch service install on windows](https://discuss.elastic.co/t/some-proplem-about-elasticsearch-service-install-on-windows/145149)

<div class="topic-metadata">

**Author:** [@RioChen](https://discuss.elastic.co/u/RioChen)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 1:28pm UTC](https://discuss.elastic.co/t/some-proplem-about-elasticsearch-service-install-on-windows/145149 "2018-08-20T13:28:15Z")

</div>

When I tried to install the elasticsearch as a service, I meet this probloem,and I can't solve it,could anyone know how to do with this.PS C:\\WINDOWS\\system32\> f:PS F:\> cd .\\Elasticsearch\` PS F:\\Elasticsearch\> cd bin P…

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

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