# Elasticsearch

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

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

**Page:** 1933

---

## [AsciiFolding filter with preserve\_original=true causes indexing error](https://discuss.elastic.co/t/asciifolding-filter-with-preserve-original-true-causes-indexing-error/102630)

<div class="topic-metadata">

**Author:** [@jmcginty](https://discuss.elastic.co/u/jmcginty)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 10:43pm UTC](https://discuss.elastic.co/t/asciifolding-filter-with-preserve-original-true-causes-indexing-error/102630 "2017-10-03T22:43:43Z")

</div>

Using ElasticSearch 5.6.2. When I set preserve\_original=true in an acsiifolding filter and use a word\_delimiter filter together in my analyzer, I sometimes get the following error during indexing: \[2017-10-03T15:31:57,…

---

## [Running out of fielddata without enabling it](https://discuss.elastic.co/t/running-out-of-fielddata-without-enabling-it/102279)

<div class="topic-metadata">

**Author:** [@Maxwell\_Flanders](https://discuss.elastic.co/u/Maxwell_Flanders)\
**Replies:** 8\
**Last updated:** [October 3, 2017, 10:27pm UTC](https://discuss.elastic.co/t/running-out-of-fielddata-without-enabling-it/102279 "2017-10-03T22:27:26Z")

</div>

I have read that field data is disabled by default on text fields now. I recently experienced a field data related crash, but we have not even explicitly enabled it in any of our mappings. Are there other ways that elast…

---

## [Analyzer to permutate search terms](https://discuss.elastic.co/t/analyzer-to-permutate-search-terms/102563)

<div class="topic-metadata">

**Author:** [@riscado](https://discuss.elastic.co/u/riscado)\
**Replies:** 3\
**Last updated:** [October 3, 2017, 9:12pm UTC](https://discuss.elastic.co/t/analyzer-to-permutate-search-terms/102563 "2017-10-03T21:12:19Z")

</div>

Is there an analyzer that allows search terms permutations, ex: User search for: Chocolate donut sprinkles Analyzer results: Chocolate sprinkles donut Chocolate donut sprinkles donut Chocolate sprinkles donut sprin…

---

## [AccessControlException Despite plugin-security.policy](https://discuss.elastic.co/t/accesscontrolexception-despite-plugin-security-policy/102614)

<div class="topic-metadata">

**Author:** [@varundbest](https://discuss.elastic.co/u/varundbest)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 8:55pm UTC](https://discuss.elastic.co/t/accesscontrolexception-despite-plugin-security-policy/102614 "2017-10-03T20:55:43Z")

</div>

java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~\[?:1.8.0\_131\] at java.s…

---

## [How can i run this query just for find first item in a path with 4 items](https://discuss.elastic.co/t/how-can-i-run-this-query-just-for-find-first-item-in-a-path-with-4-items/101633)

<div class="topic-metadata">

**Author:** [@yaser](https://discuss.elastic.co/u/yaser)\
**Replies:** 9\
**Last updated:** [October 3, 2017, 6:00pm UTC](https://discuss.elastic.co/t/how-can-i-run-this-query-just-for-find-first-item-in-a-path-with-4-items/101633 "2017-10-03T18:00:04Z")

</div>

hi , the problem is i want to return range of value of a path that are the same with 4 other items , here is the query: GET composition\_value/composition/\_search { "query": { "nested": { "path": "value", …

---

## [Bound or publishing to a non-loopback or non-link-local address](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address/102595)

<div class="topic-metadata">

**Author:** [@hmcbridedb](https://discuss.elastic.co/u/hmcbridedb)\
**Replies:** 3\
**Last updated:** [October 3, 2017, 5:52pm UTC](https://discuss.elastic.co/t/bound-or-publishing-to-a-non-loopback-or-non-link-local-address/102595 "2017-10-03T17:52:32Z")

</div>

I am having a real tricky time getting the simplest of nodes running. I have the following two configs ( they were copied from another cluster running in the company and the appropriate parts changed ) node 1 cluster.…

---

## [Handling Registered (®), Trademark (™), Degree (°) and other symbols](https://discuss.elastic.co/t/handling-registered-trademark-degree-and-other-symbols/102579)

<div class="topic-metadata">

**Author:** [@ParitoshBh](https://discuss.elastic.co/u/ParitoshBh)\
**Replies:** 1\
**Last updated:** [October 3, 2017, 4:44pm UTC](https://discuss.elastic.co/t/handling-registered-trademark-degree-and-other-symbols/102579 "2017-10-03T16:44:04Z")

</div>

All these and other special characters are being stripped/handled during index generation, however its the query term coming in from the user which might have these terms. Example, Index has brand name indexed as brand …

---

## [Delete By Query Request Run on Alias needs Security Rights to Index](https://discuss.elastic.co/t/delete-by-query-request-run-on-alias-needs-security-rights-to-index/102480)

<div class="topic-metadata">

**Author:** [@cvarberg](https://discuss.elastic.co/u/cvarberg)\
**Replies:** 1\
**Last updated:** [October 3, 2017, 4:43pm UTC](https://discuss.elastic.co/t/delete-by-query-request-run-on-alias-needs-security-rights-to-index/102480 "2017-10-03T16:43:33Z")

</div>

Elasticsearch version : 5.5.1 JVM version: 1.8.0\_131 OS version : CentOS 7.3.1611 Description: In order to run the \_delete\_by\_query on an alias the user needs "delete" privileges to the actual index. I would expect t…

---

## [Datafeed query\_delay not that random](https://discuss.elastic.co/t/datafeed-query-delay-not-that-random/102592)

<div class="topic-metadata">

**Author:** [@Badger](https://discuss.elastic.co/u/Badger)\
**Replies:** 1\
**Last updated:** [October 3, 2017, 4:42pm UTC](https://discuss.elastic.co/t/datafeed-query-delay-not-that-random/102592 "2017-10-03T16:42:09Z")

</div>

When I create a datafeed using "PUT \_xpack/ml/datafeeds/foo" it comes back with a random query\_delay added, as documented. But all the datafeeds created through the wizards have a query\_delay set to 60. Is that an issue? …

---

## [Help with curator pattern value](https://discuss.elastic.co/t/help-with-curator-pattern-value/102489)

<div class="topic-metadata">

**Author:** [@niraj\_kumar](https://discuss.elastic.co/u/niraj_kumar)\
**Replies:** 4\
**Last updated:** [October 3, 2017, 3:23pm UTC](https://discuss.elastic.co/t/help-with-curator-pattern-value/102489 "2017-10-03T15:23:43Z")

</div>

Hi Everyone, I am trying to do a bulk delete and is struggling with defining pattern for it. Any help would be appreciated. cloudtrail-test-dev-2017.09.17 vQk3HfDBRF2PBlPgLL6Kkg 3 1 26050 0 64.7m…

---

## [Java Upgrades and the JAVA\_HOME environment variable](https://discuss.elastic.co/t/java-upgrades-and-the-java-home-environment-variable/102572)

<div class="topic-metadata">

**Author:** [@kneuse](https://discuss.elastic.co/u/kneuse)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 2:42pm UTC](https://discuss.elastic.co/t/java-upgrades-and-the-java-home-environment-variable/102572 "2017-10-03T14:42:54Z")

</div>

We are running into a problem where upgrading Java via an automated process causes elastic search to break since the automatic process does not upgrade the JAVA\_HOME environment variable. We run elastic search in a wind…

---

## ["error": "Bad Gateway"](https://discuss.elastic.co/t/error-bad-gateway/102413)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discuss.elastic.co/u/hack3rcon)\
**Replies:** 4\
**Last updated:** [October 3, 2017, 2:38pm UTC](https://discuss.elastic.co/t/error-bad-gateway/102413 "2017-10-03T14:38:07Z")

</div>

Hello. I have a problem about backup and restore logs. My Elasticsearch config is as below: # ----------------------------------- Paths ------------------------------------ # # Path to directory where to store the dat…

---

## [Unable to start elasticsearch-5.6.2-1 at non default data location on RedHat7](https://discuss.elastic.co/t/unable-to-start-elasticsearch-5-6-2-1-at-non-default-data-location-on-redhat7/102568)

<div class="topic-metadata">

**Author:** [@sameernatekar](https://discuss.elastic.co/u/sameernatekar)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 2:08pm UTC](https://discuss.elastic.co/t/unable-to-start-elasticsearch-5-6-2-1-at-non-default-data-location-on-redhat7/102568 "2017-10-03T14:08:00Z")

</div>

\[root@iax3950x6-v30 elasticsearch\]# service elasticsearch start Starting elasticsearch (via systemctl): \[ OK \] \[root@iax3950x6-v30 elasticsearch\]# service elasticsearch status ● elasticsearch.serv…

---

## [I commented some lines but elasticsearch can't work](https://discuss.elastic.co/t/i-commented-some-lines-but-elasticsearch-cant-work/102437)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discuss.elastic.co/u/hack3rcon)\
**Replies:** 11\
**Last updated:** [October 3, 2017, 2:01pm UTC](https://discuss.elastic.co/t/i-commented-some-lines-but-elasticsearch-cant-work/102437 "2017-10-03T14:01:56Z")

</div>

Hello. I added some lines in "elasticsearch.yml" and commented them but elasticsearch can't run: # ----------------------------------- Paths ------------------------------------ # # Path to directory where to store the…

---

## [Remove docs.deleted](https://discuss.elastic.co/t/remove-docs-deleted/102469)

<div class="topic-metadata">

**Author:** [@joao](https://discuss.elastic.co/u/joao)\
**Replies:** 6\
**Last updated:** [October 3, 2017, 1:47pm UTC](https://discuss.elastic.co/t/remove-docs-deleted/102469 "2017-10-03T13:47:53Z")

</div>

Hi guys, good afternoon. So, I've been trying to remove the docs deleted for some index, but I didn't have success. Could you help me? This is my index: health status index uuid pri re…

---

## [Null\_pointer\_exception 500 error](https://discuss.elastic.co/t/null-pointer-exception-500-error/102534)

<div class="topic-metadata">

**Author:** [@doshi\_darshan](https://discuss.elastic.co/u/doshi_darshan)\
**Replies:** 1\
**Last updated:** [October 3, 2017, 1:39pm UTC](https://discuss.elastic.co/t/null-pointer-exception-500-error/102534 "2017-10-03T13:39:40Z")

</div>

I am getting below error in Heroku when i deployed my code. Please help me Heroku Redis : Redis Premium 0 \<- 500 { 2017-10-03T07:51:58.485013+00:00 app\[web.2\]: "error": { 2017-10-03T07:51:58.485014+00:00 app\[web.2\]:…

---

## [Suggester: How to return the top weighted documents](https://discuss.elastic.co/t/suggester-how-to-return-the-top-weighted-documents/102560)

<div class="topic-metadata">

**Author:** [@Dries\_Cleymans](https://discuss.elastic.co/u/Dries_Cleymans)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 1:20pm UTC](https://discuss.elastic.co/t/suggester-how-to-return-the-top-weighted-documents/102560 "2017-10-03T13:20:13Z")

</div>

Our elastic version: { "name" : "instance-0000000001", "cluster\_name" : "d90d7063ab1ce029fff8ae497e45b933", "cluster\_uuid" : "nPbWqX0bSzGMEh84Y793Qg", "version" : { "number" : "5.5.2", "build\_hash" : "b2…

---

## [Date range query wrong results](https://discuss.elastic.co/t/date-range-query-wrong-results/102548)

<div class="topic-metadata">

**Author:** [@Delegen\_Admin](https://discuss.elastic.co/u/Delegen_Admin)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 11:25am UTC](https://discuss.elastic.co/t/date-range-query-wrong-results/102548 "2017-10-03T11:25:16Z")

</div>

When submitting the query below (also mapping attached), we are getting all records indexed, instead of only the records between the date range. Query: {"query": {"range" : { "status\_changed\_date" : { "gte": "02/10/17…

---

## [Read Excel File and Push All Data To Elasticsearch](https://discuss.elastic.co/t/read-excel-file-and-push-all-data-to-elasticsearch/101131)

<div class="topic-metadata">

**Author:** [@ajit](https://discuss.elastic.co/u/ajit)\
**Replies:** 2\
**Last updated:** [October 3, 2017, 11:16am UTC](https://discuss.elastic.co/t/read-excel-file-and-push-all-data-to-elasticsearch/101131 "2017-10-03T11:16:30Z")

</div>

I have created program to read excel file using java and aspose. I am creating column as key and row as value in json object but if when I read all file row wise and then my json values gets overwrite by last row values.…

---

## [Refresh\_interval safety](https://discuss.elastic.co/t/refresh-interval-safety/102540)

<div class="topic-metadata">

**Author:** [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Replies:** 3\
**Last updated:** [October 3, 2017, 11:12am UTC](https://discuss.elastic.co/t/refresh-interval-safety/102540 "2017-10-03T11:12:37Z")

</div>

Hi, I know that until the refresh\_interval of a specific index passes, the docs are not searchable. But what happens if during that time until the interval, the node dies? Does the replica also holds the same in-memory…

---

## [Create different new nodes](https://discuss.elastic.co/t/create-different-new-nodes/102520)

<div class="topic-metadata">

**Author:** [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Replies:** 5\
**Last updated:** [October 3, 2017, 9:36am UTC](https://discuss.elastic.co/t/create-different-new-nodes/102520 "2017-10-03T09:36:40Z")

</div>

Greetings, I am new to ELK I am not getting it through the tutorials please help me in it. As I want to monitor different servers(5 Servers) So I want to know as to observe the servers live do i Need more than 1 Node? an…

---

## [How to update a filed with current date and time in ES5.6?](https://discuss.elastic.co/t/how-to-update-a-filed-with-current-date-and-time-in-es5-6/102532)

<div class="topic-metadata">

**Author:** [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Replies:** 1\
**Last updated:** [October 3, 2017, 9:32am UTC](https://discuss.elastic.co/t/how-to-update-a-filed-with-current-date-and-time-in-es5-6/102532 "2017-10-03T09:32:52Z")

</div>

Hi Experts, I want to update my existing field with current date and time so I am using below srcipt and update by query API to achieve the same but I am not getting the desired result . POST abc-2017.09/\_update\_by\_qu…

---

## [How to update and add new filed in the existing Document?](https://discuss.elastic.co/t/how-to-update-and-add-new-filed-in-the-existing-document/102368)

<div class="topic-metadata">

**Author:** [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Replies:** 2\
**Last updated:** [October 3, 2017, 8:49am UTC](https://discuss.elastic.co/t/how-to-update-and-add-new-filed-in-the-existing-document/102368 "2017-10-03T08:49:06Z")

</div>

Hi Experts, I want to update a specific field value in a document . Also I want to add new filed in this document . So here is the document that I want to update GET \_search { "query": { "query\_string": { "query": …

---

## [Tree-like view using ELK](https://discuss.elastic.co/t/tree-like-view-using-elk/102529)

<div class="topic-metadata">

**Author:** [@Dima\_Khodan](https://discuss.elastic.co/u/Dima_Khodan)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 8:40am UTC](https://discuss.elastic.co/t/tree-like-view-using-elk/102529 "2017-10-03T08:40:38Z")

</div>

I implement a tree-like structure for indexing and I can query through this structure and all works fine. But next step, I need to visualize this data at Kibana. Is that possible to make something like that if my \_sour…

---

## [Getting error in configuring sender mail in xpack watchers](https://discuss.elastic.co/t/getting-error-in-configuring-sender-mail-in-xpack-watchers/102373)

<div class="topic-metadata">

**Author:** [@yash\_mangla](https://discuss.elastic.co/u/yash_mangla)\
**Replies:** 2\
**Last updated:** [October 3, 2017, 8:24am UTC](https://discuss.elastic.co/t/getting-error-in-configuring-sender-mail-in-xpack-watchers/102373 "2017-10-03T08:24:55Z")

</div>

Hello Guys, for watcher notification alert i'm going to setup default mail which help i can send notification to sender but I'm facing error when i'm setting up default outlook account in elasticsearch configuration to…

---

## [Showing in "total" only one per transactionId](https://discuss.elastic.co/t/showing-in-total-only-one-per-transactionid/102523)

<div class="topic-metadata">

**Author:** [@tomer](https://discuss.elastic.co/u/tomer)\
**Replies:** 4\
**Last updated:** [October 3, 2017, 8:24am UTC](https://discuss.elastic.co/t/showing-in-total-only-one-per-transactionid/102523 "2017-10-03T08:24:14Z")

</div>

Hi, I am trying to ask how many transactions have a delay greater than 3. The problem is that in one transaction there are more than one log with a the same delay value. Therefore for an example if there is only one tra…

---

## [Elastic 2.2.0 impact of adding nodes](https://discuss.elastic.co/t/elastic-2-2-0-impact-of-adding-nodes/102274)

<div class="topic-metadata">

**Author:** [@jeannot](https://discuss.elastic.co/u/jeannot)\
**Replies:** 2\
**Last updated:** [October 3, 2017, 8:02am UTC](https://discuss.elastic.co/t/elastic-2-2-0-impact-of-adding-nodes/102274 "2017-10-03T08:02:36Z")

</div>

Hi all, We add 2 nodes on a heavy 3 nodes elastic cluster and I'm not clear on what happens after. Can someone explain me what the cluster is doing when new nodes arrive ? In fact the cluster seems to work for several…

---

## [How to fetch current document(record) in overrided runAsDouble method?](https://discuss.elastic.co/t/how-to-fetch-current-document-record-in-overrided-runasdouble-method/102522)

<div class="topic-metadata">

**Author:** [@shashanksheela](https://discuss.elastic.co/u/shashanksheela)\
**Replies:** 0\
**Last updated:** [October 3, 2017, 7:32am UTC](https://discuss.elastic.co/t/how-to-fetch-current-document-record-in-overrided-runasdouble-method/102522 "2017-10-03T07:32:53Z")

</div>

I have created a custom plugin implementing scriptengineservice and overrided runAsDouble method.But facing problem in fetching current document. I used below code :- LeafDocLookup doc = lookup.getLeafSearchLookup(leaf…

---

## [After Deleting the older snapshots, it deleted first full snapshot](https://discuss.elastic.co/t/after-deleting-the-older-snapshots-it-deleted-first-full-snapshot/102397)

<div class="topic-metadata">

**Author:** [@vishu.kolki](https://discuss.elastic.co/u/vishu.kolki)\
**Replies:** 6\
**Last updated:** [October 3, 2017, 7:10am UTC](https://discuss.elastic.co/t/after-deleting-the-older-snapshots-it-deleted-first-full-snapshot/102397 "2017-10-03T07:10:06Z")

</div>

Hi, I have about 10 Older snapshots for Elasticsearch. If i delete the 8 older snapshot leaving current 2 of them. It is deleting the full snapshot which was created at first. So if i take now another snapshot, will it…

---

## [Update index that already have](https://discuss.elastic.co/t/update-index-that-already-have/102503)

<div class="topic-metadata">

**Author:** [@Chanpiseth\_Ros](https://discuss.elastic.co/u/Chanpiseth_Ros)\
**Replies:** 3\
**Last updated:** [October 3, 2017, 7:03am UTC](https://discuss.elastic.co/t/update-index-that-already-have/102503 "2017-10-03T07:03:26Z")

</div>

Hi everyone, I have a problem, when i try to update my index in Elasticsearch, that index has already created before, and i get the error with this message: Exception : {"error":"IndexAlreadyExistsException\[\[person\] alr…

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

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