# Elasticsearch

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

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

**Page:** 1296

---

## [What kind of filters are really cached?](https://discuss.elastic.co/t/what-kind-of-filters-are-really-cached/180559)

<div class="topic-metadata">

**Author:** [@pokaleshrey](https://discuss.elastic.co/u/pokaleshrey)\
**Replies:** 5\
**Last updated:** [May 20, 2019, 8:29am UTC](https://discuss.elastic.co/t/what-kind-of-filters-are-really-cached/180559 "2019-05-20T08:29:48Z")

</div>

Hi, I am building queries so that i can take advantage of query caching. I need to know, how to write a filter so that it can be cached. Can someone please help me if the below will be cached ? { "query": { "bool"…

---

## [Elasticsearch stop working suddenly](https://discuss.elastic.co/t/elasticsearch-stop-working-suddenly/179310)

<div class="topic-metadata">

**Author:** [@khergner](https://discuss.elastic.co/u/khergner)\
**Replies:** 7\
**Last updated:** [May 20, 2019, 8:23am UTC](https://discuss.elastic.co/t/elasticsearch-stop-working-suddenly/179310 "2019-05-20T08:23:15Z")

</div>

Hi, Elasticsearch stop working suddenly. Why is stopping services? I get below log. How can ı fix bellow problem? I use -Xmx10g so 10 GB ram use it. \[2019-05-02T10:11:44,459\]\[WARN \]\[r.suppressed \] \[MasterN…

---

## [Using python plugin to create zentity models in elastic](https://discuss.elastic.co/t/using-python-plugin-to-create-zentity-models-in-elastic/180525)

<div class="topic-metadata">

**Author:** [@gioorso](https://discuss.elastic.co/u/gioorso)\
**Replies:** 4\
**Last updated:** [May 20, 2019, 8:20am UTC](https://discuss.elastic.co/t/using-python-plugin-to-create-zentity-models-in-elastic/180525 "2019-05-20T08:20:45Z")

</div>

Hi all, I have come across the zentity plugin for entity resolution in ES, but since I am already using the python plugin, I wanted to ask whether the official python plugin in ES has any functionality to support entity…

---

## [How to use parallel\_bulk function](https://discuss.elastic.co/t/how-to-use-parallel-bulk-function/181741)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 6\
**Last updated:** [May 20, 2019, 7:46am UTC](https://discuss.elastic.co/t/how-to-use-parallel-bulk-function/181741 "2019-05-20T07:46:32Z")

</div>

I have a document to be indexed to elastic search , it is 200 MB file ,so i want to use parallel bulk.. file is in this format. \[{},{},{},{}\] basically it is an array of objects. but when i try to index using paralle…

---

## [Java High Level REST Client-Tasks APIs](https://discuss.elastic.co/t/java-high-level-rest-client-tasks-apis/181510)

<div class="topic-metadata">

**Author:** [@hyhong](https://discuss.elastic.co/u/hyhong)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 7:08am UTC](https://discuss.elastic.co/t/java-high-level-rest-client-tasks-apis/181510 "2019-05-20T07:08:17Z")

</div>

Look at the content in Official website(https://www.elastic.co/guide/en/elasticsearch/reference/6.5/tasks.html): How can I get related tasks performed by the current client?

---

## [Elastricsearch-2.2.0 is not starting](https://discuss.elastic.co/t/elastricsearch-2-2-0-is-not-starting/181740)

<div class="topic-metadata">

**Author:** [@kabilan\_pachaiappan](https://discuss.elastic.co/u/kabilan_pachaiappan)\
**Replies:** 5\
**Last updated:** [May 20, 2019, 6:37am UTC](https://discuss.elastic.co/t/elastricsearch-2-2-0-is-not-starting/181740 "2019-05-20T06:37:10Z")

</div>

I have installed elasticsearch 2.2.0 and it worked fine for a week, but now it didn't start. I have set both JAVA\_HOME and JRE\_HOME. I use java version 1.8 (i.e., jdk1.8.0\_201 and jre1.8.0\_202). When I try to start the e…

---

## [Token based authentication(oauth2) using RestHighLevelClient](https://discuss.elastic.co/t/token-based-authentication-oauth2-using-resthighlevelclient/181574)

<div class="topic-metadata">

**Author:** [@dhrchatt](https://discuss.elastic.co/u/dhrchatt)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 6:32am UTC](https://discuss.elastic.co/t/token-based-authentication-oauth2-using-resthighlevelclient/181574 "2019-05-20T06:32:41Z")

</div>

I have ES 7.0.0 with x-pack and an application using java RestHighLevelClient to connect to it. I am looking for way to setup token based authentication(oauth2) with this client but not able to find any API to set the to…

---

## [Anyone configured ELK with RPA logs](https://discuss.elastic.co/t/anyone-configured-elk-with-rpa-logs/181342)

<div class="topic-metadata">

**Author:** [@pavansai](https://discuss.elastic.co/u/pavansai)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 6:23am UTC](https://discuss.elastic.co/t/anyone-configured-elk-with-rpa-logs/181342 "2019-05-20T06:23:19Z")

</div>

Anyone configured ELK with RPA for their logs monitoring

---

## [Reindex error content type plain text](https://discuss.elastic.co/t/reindex-error-content-type-plain-text/180929)

<div class="topic-metadata">

**Author:** [@bry-c](https://discuss.elastic.co/u/bry-c)\
**Replies:** 5\
**Last updated:** [May 20, 2019, 4:51am UTC](https://discuss.elastic.co/t/reindex-error-content-type-plain-text/180929 "2019-05-20T04:51:15Z")

</div>

I run remote reindex in elastic version 5.2 to target remote elastic server with version 6.5.4. This is the command i run in kibana console: POST \_reindex { "source": { "remote": { "host": "http://172.16.xx.xx:9200"…

---

## [Elasticsearch ERROR: Failed to verify bootstrap password ---](https://discuss.elastic.co/t/elasticsearch-error-failed-to-verify-bootstrap-password/181732)

<div class="topic-metadata">

**Author:** [@hari.v](https://discuss.elastic.co/u/hari.v)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 4:22am UTC](https://discuss.elastic.co/t/elasticsearch-error-failed-to-verify-bootstrap-password/181732 "2019-05-20T04:22:15Z")

</div>

Hi after ii upgraded to platinum license and then reset the password in elasticsearch 7.0 (bin/elasticsearch-setup-passwords interactive). i could able to login in elastic user. but i couldnt able to login using kiban…

---

## [Creating an analyzer that works with # and @ in the following manner](https://discuss.elastic.co/t/creating-an-analyzer-that-works-with-and-in-the-following-manner/181731)

<div class="topic-metadata">

**Author:** [@Jason\_Baumgartner](https://discuss.elastic.co/u/Jason_Baumgartner)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 4:08am UTC](https://discuss.elastic.co/t/creating-an-analyzer-that-works-with-and-in-the-following-manner/181731 "2019-05-20T04:08:23Z")

</div>

If I index a tweet body with the following text: "Hey @joesmith are you watching #gameofthrones?" I would like the tokenizer to create the following tokens from @joesmith and #gameofthrones @joesmith joesmith #gameo…

---

## [Whitespace analyzer problem](https://discuss.elastic.co/t/whitespace-analyzer-problem/181727)

<div class="topic-metadata">

**Author:** [@nayun\_oh](https://discuss.elastic.co/u/nayun_oh)\
**Replies:** 1\
**Last updated:** [May 20, 2019, 3:27am UTC](https://discuss.elastic.co/t/whitespace-analyzer-problem/181727 "2019-05-20T03:27:00Z")

</div>

I have added whitespace analyzer to template field as follows: "payload":{ "type":"text", "analyzer":"whitespace" } The problem is that I cannot search data using match query from that "payload" field. Did I do som…

---

## [FORBIDDEN/8/index write (api) - During date change on indexes](https://discuss.elastic.co/t/forbidden-8-index-write-api-during-date-change-on-indexes/179319)

<div class="topic-metadata">

**Author:** [@KevSex](https://discuss.elastic.co/u/KevSex)\
**Replies:** 9\
**Last updated:** [May 18, 2019, 7:00pm UTC](https://discuss.elastic.co/t/forbidden-8-index-write-api-during-date-change-on-indexes/179319 "2019-05-18T19:00:30Z")

</div>

Hey, I'm seeing some weird issues and yet to find what is causing this behaviour. I have various indexes using the name-%{+YYYY.MM.dd} index pattern. When the indexes are being updated (i.e. today's index is created), i…

---

## [Bypassing the updating script.max\_size\_in\_bytes in ES 6.5.2](https://discuss.elastic.co/t/bypassing-the-updating-script-max-size-in-bytes-in-es-6-5-2/179925)

<div class="topic-metadata">

**Author:** [@ken.le](https://discuss.elastic.co/u/ken.le)\
**Replies:** 1\
**Last updated:** [May 19, 2019, 7:37pm UTC](https://discuss.elastic.co/t/bypassing-the-updating-script-max-size-in-bytes-in-es-6-5-2/179925 "2019-05-19T19:37:30Z")

</div>

Hi, I'm currently ingesting data into ES, but facing this issue: // Scripts may be no longer than 16384 characters. The passed in script is 16887 characters. Consider using a plugin if a script longer than this lengt…

---

## [Elasticsearch auto look up query](https://discuss.elastic.co/t/elasticsearch-auto-look-up-query/181714)

<div class="topic-metadata">

**Author:** [@pankaj3s](https://discuss.elastic.co/u/pankaj3s)\
**Replies:** 0\
**Last updated:** [May 19, 2019, 2:12pm UTC](https://discuss.elastic.co/t/elasticsearch-auto-look-up-query/181714 "2019-05-19T14:12:16Z")

</div>

I need some help with the below problem statement Problem is to implement auto look up functionality with below mentioned requirement Input -\> BTech Output -\> BTech in cse b.tech in computer science b tech in comput…

---

## [Elasticsearch.yml changes are not reflecting](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672)

<div class="topic-metadata">

**Author:** [@pathri](https://discuss.elastic.co/u/pathri)\
**Replies:** 2\
**Last updated:** [May 19, 2019, 1:37pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672 "2019-05-19T13:37:37Z")

</div>

below is my es.yml file ---------------------------------- Cluster ----------------------------------- cluster.name: NewCluster ------------------------------------ Node ------------------------------------ node.name: …

---

## [ElasticSearch deep dive - learning elastic search](https://discuss.elastic.co/t/elasticsearch-deep-dive-learning-elastic-search/181680)

<div class="topic-metadata">

**Author:** [@qballer](https://discuss.elastic.co/u/qballer)\
**Replies:** 1\
**Last updated:** [May 19, 2019, 1:22pm UTC](https://discuss.elastic.co/t/elasticsearch-deep-dive-learning-elastic-search/181680 "2019-05-19T13:22:52Z")

</div>

I would like to learn more about the tech behind elastic. But not the database it's self more the distributed technology, principles, design patterns, etc. API's change but design constraints and approach is hard to shif…

---

## [Elastic SaaS cloud on azure?](https://discuss.elastic.co/t/elastic-saas-cloud-on-azure/181548)

<div class="topic-metadata">

**Author:** [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Replies:** 1\
**Last updated:** [May 19, 2019, 1:09pm UTC](https://discuss.elastic.co/t/elastic-saas-cloud-on-azure/181548 "2019-05-19T13:09:13Z")

</div>

I have being using your elatic SaaS cloud service on AWS and GCP in the past, but is there any plan to be able to select Azure also? As i mainly develop on azure and need to use elastic SaaS from azure same region as usi…

---

## [How to solve this error](https://discuss.elastic.co/t/how-to-solve-this-error/181624)

<div class="topic-metadata">

**Author:** [@aman\_khan](https://discuss.elastic.co/u/aman_khan)\
**Replies:** 6\
**Last updated:** [May 19, 2019, 11:23am UTC](https://discuss.elastic.co/t/how-to-solve-this-error/181624 "2019-05-19T11:23:02Z")

</div>

method \[POST\], host \[http://localhost:9200\], URI \[/euronews/mytable/1266?pretty=true\], status line \[HTTP/1.1 400 Bad Request\] { "error" : { "root\_cause" : \[ { "type" : "mapper\_parsing\_exception", "reason" : "faile…

---

## [Problem with Completion suggester](https://discuss.elastic.co/t/problem-with-completion-suggester/181695)

<div class="topic-metadata">

**Author:** [@dojutsu-user](https://discuss.elastic.co/u/dojutsu-user)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 6:23pm UTC](https://discuss.elastic.co/t/problem-with-completion-suggester/181695 "2019-05-18T18:23:19Z")

</div>

(Using ES 6.7) I have an index and want to support search-as-you-type feature. For that, I want to try completion suggester but I'm having trouble in reindexing to change the mappings old index. Here's the old index ma…

---

## [Translating filter range query into query string](https://discuss.elastic.co/t/translating-filter-range-query-into-query-string/181693)

<div class="topic-metadata">

**Author:** [@Oscar\_Sanchez\_Sanche](https://discuss.elastic.co/u/Oscar_Sanchez_Sanche)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 5:55pm UTC](https://discuss.elastic.co/t/translating-filter-range-query-into-query-string/181693 "2019-05-18T17:55:43Z")

</div>

Hi there, I would like to translate this query into a query string : { "query": { "bool": { "filter": \[ { "range": { "meta.\_sale\_price.value": { "gte" : 1, "lte" :…

---

## [Elasticsearch 7.0.1 - Trying to create too many scroll contexts. Must be less than or equal to: \[500\]](https://discuss.elastic.co/t/elasticsearch-7-0-1-trying-to-create-too-many-scroll-contexts-must-be-less-than-or-equal-to-500/181687)

<div class="topic-metadata">

**Author:** [@cyb3rward0g](https://discuss.elastic.co/u/cyb3rward0g)\
**Replies:** 2\
**Last updated:** [May 18, 2019, 5:36pm UTC](https://discuss.elastic.co/t/elasticsearch-7-0-1-trying-to-create-too-many-scroll-contexts-must-be-less-than-or-equal-to-500/181687 "2019-05-18T17:36:13Z")

</div>

Good afternoon, I upgraded my stack to 7.0.1 and I am using Elastalert master 05172019. When I run Elasticsearch and elastalert, it alls seems to be working fine. However, the moment I ingest data, and the rules start h…

---

## [Does Elasticsearch-7.x have any api for getting/setting jvm.options and log4j2.properties?](https://discuss.elastic.co/t/does-elasticsearch-7-x-have-any-api-for-getting-setting-jvm-options-and-log4j2-properties/181635)

<div class="topic-metadata">

**Author:** [@cool\_guy99](https://discuss.elastic.co/u/cool_guy99)\
**Replies:** 1\
**Last updated:** [May 18, 2019, 4:17pm UTC](https://discuss.elastic.co/t/does-elasticsearch-7-x-have-any-api-for-getting-setting-jvm-options-and-log4j2-properties/181635 "2019-05-18T16:17:51Z")

</div>

Does Elasticsearch-7.x have any api for getting/setting jvm.options and log4j2.properties? I'm looking to check if there is a way to directly set or atleast get the jvm.options and log4j2.properties file information via…

---

## [Wireshark and 7.0](https://discuss.elastic.co/t/wireshark-and-7-0/181685)

<div class="topic-metadata">

**Author:** [@Starblazer](https://discuss.elastic.co/u/Starblazer)\
**Replies:** 2\
**Last updated:** [May 18, 2019, 4:07pm UTC](https://discuss.elastic.co/t/wireshark-and-7-0/181685 "2019-05-18T16:07:20Z")

</div>

Hello! Working with this post: https://www.elastic.co/blog/analyzing-network-packets-with-wireshark-elasticsearch-and-kibana and it appears that with 7.0 the template JSON file isn't supported anymore... and I'm at a …

---

## [Bundled JDK with version 7.0.x](https://discuss.elastic.co/t/bundled-jdk-with-version-7-0-x/180684)

<div class="topic-metadata">

**Author:** [@e-orz](https://discuss.elastic.co/u/e-orz)\
**Replies:** 6\
**Last updated:** [May 18, 2019, 3:56pm UTC](https://discuss.elastic.co/t/bundled-jdk-with-version-7-0-x/180684 "2019-05-18T15:56:43Z")

</div>

Hi, Starting with version 7, Elasticsearch comes with bundled JDK. Oracle changed the license of the JDK and disallows commercial use with the one packaged by Oracle. (other alternatives are AdoptOpenJDK and more) Is…

---

## [Regarding Implementation of NLP while crawling using FSCrawler 2.5](https://discuss.elastic.co/t/regarding-implementation-of-nlp-while-crawling-using-fscrawler-2-5/181670)

<div class="topic-metadata">

**Author:** [@Neel.Gagan](https://discuss.elastic.co/u/Neel.Gagan)\
**Replies:** 1\
**Last updated:** [May 18, 2019, 2:43pm UTC](https://discuss.elastic.co/t/regarding-implementation-of-nlp-while-crawling-using-fscrawler-2-5/181670 "2019-05-18T14:43:24Z")

</div>

ELasticsearch Version 6.4.3 Kibana Version 6.4.3 Fscrawler 2.5 OS : Windows 8. I am trying to implement NLP while crawling my unstructured data kept in folders. i wish to implemnet NLP while the crawling is being pe…

---

## [How to use the Rank Features Query to explicitly sort some products](https://discuss.elastic.co/t/how-to-use-the-rank-features-query-to-explicitly-sort-some-products/181679)

<div class="topic-metadata">

**Author:** [@EFJunior](https://discuss.elastic.co/u/EFJunior)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 12:23pm UTC](https://discuss.elastic.co/t/how-to-use-the-rank-features-query-to-explicitly-sort-some-products/181679 "2019-05-18T12:23:08Z")

</div>

I'm trying to explicitly put some documents on the top of some query results. After searching a while, apparently the most suitable tool to achieve it is using the rank features datatype. Although i didn't figured out h…

---

## [ILM not triggering delete phase](https://discuss.elastic.co/t/ilm-not-triggering-delete-phase/180767)

<div class="topic-metadata">

**Author:** [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Replies:** 5\
**Last updated:** [May 18, 2019, 3:37am UTC](https://discuss.elastic.co/t/ilm-not-triggering-delete-phase/180767 "2019-05-18T03:37:13Z")

</div>

Hello, I've been playing around with Index Lifecycle Management lately. Things are working more or less as expected. Indices are rolled over as defined in the ilm policy. What does not seem to be working is the delete …

---

## [Not getting results from a phrase query using query\_string of the form 'X A1 ABC' in 6.6.0](https://discuss.elastic.co/t/not-getting-results-from-a-phrase-query-using-query-string-of-the-form-x-a1-abc-in-6-6-0/179191)

<div class="topic-metadata">

**Author:** [@O\_Dan](https://discuss.elastic.co/u/O_Dan)\
**Replies:** 11\
**Last updated:** [May 17, 2019, 10:05pm UTC](https://discuss.elastic.co/t/not-getting-results-from-a-phrase-query-using-query-string-of-the-form-x-a1-abc-in-6-6-0/179191 "2019-05-17T22:05:16Z")

</div>

Hi, I have a document containing the following text X A1 ABC When searching for this text using phrase query "X A1 ABC" we fail to find the result. PUT 6a4d8bd1a4d67152c0edd375c996b319 { "mappings": { "ra…

---

## [Range matching date when it should not](https://discuss.elastic.co/t/range-matching-date-when-it-should-not/181663)

<div class="topic-metadata">

**Author:** [@florynth](https://discuss.elastic.co/u/florynth)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 9:43pm UTC](https://discuss.elastic.co/t/range-matching-date-when-it-should-not/181663 "2019-05-17T21:43:48Z")

</div>

I have a query that should not match a range date (from what I understand) but it does: { "\_score": 2, "\_source": { "newUntil": "2019-01-14T12:45:27+00:00", "searchWeightFactor": 1, "active": true },…

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

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