# Elasticsearch

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

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

**Page:** 853

---

## [Getting error index.max\_inner\_result\_window during rolling upgrade of ES from 5.6.10 to 6.8.10](https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210)

<div class="topic-metadata">

**Author:** [@het](https://discuss.elastic.co/u/het)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 1:09pm UTC](https://discuss.elastic.co/t/getting-error-index-max-inner-result-window-during-rolling-upgrade-of-es-from-5-6-10-to-6-8-10/242210 "2020-07-24T13:09:12Z")

</div>

Hi team, I have 2 data nodes and 3 master nodes in an ES cluster. I was doing a rolling upgrade as ES suggested moving from 5.6.10 to 6.8.10. As there should be zero downtime, I was testing that and getting one error. …

---

## [Could not find or load main class error during running](https://discuss.elastic.co/t/could-not-find-or-load-main-class-error-during-running/242509)

<div class="topic-metadata">

**Author:** [@Divyam\_Madhok](https://discuss.elastic.co/u/Divyam_Madhok)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 12:19pm UTC](https://discuss.elastic.co/t/could-not-find-or-load-main-class-error-during-running/242509 "2020-07-24T12:19:27Z")

</div>

Error: Could not find or load main class Madhok\\AppData\\Local\\Temp\\elasticsearch Caused by: java.lang.ClassNotFoundException: Madhok\\AppData\\Local\\Temp\\elasticsearch ElasticSearch Version=7.8.0 Java Version="1.8.0\_261…

---

## [\[Benchmark\] fail 50% throw exception None of the configured nodes were available](https://discuss.elastic.co/t/benchmark-fail-50-throw-exception-none-of-the-configured-nodes-were-available/242502)

<div class="topic-metadata">

**Author:** [@Dongtuhust](https://discuss.elastic.co/u/Dongtuhust)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 11:25am UTC](https://discuss.elastic.co/t/benchmark-fail-50-throw-exception-none-of-the-configured-nodes-were-available/242502 "2020-07-24T11:25:31Z")

</div>

I use PreBuiltXPackTransportClient in my java code public class EsUtil { private static Logger logger = LoggerFactory.getLogger(EsUtil.class); private static final String PROP\_NAME = "config.properties"; …

---

## [Elasticsearch Spring JSONObject\[“hits”\] not found](https://discuss.elastic.co/t/elasticsearch-spring-jsonobject-hits-not-found/242503)

<div class="topic-metadata">

**Author:** [@tosunkaya](https://discuss.elastic.co/u/tosunkaya)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 11:26am UTC](https://discuss.elastic.co/t/elasticsearch-spring-jsonobject-hits-not-found/242503 "2020-07-24T11:26:29Z")

</div>

I'm trying to do full text query search on if i GET http://localhost:8080/search/query/tes it should show users include tes in first or last name. i implemented them. but something is wrong, it says hits not found (JSONO…

---

## [Enrich policy execution in elastic search](https://discuss.elastic.co/t/enrich-policy-execution-in-elastic-search/242496)

<div class="topic-metadata">

**Author:** [@anjilinga](https://discuss.elastic.co/u/anjilinga)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 10:42am UTC](https://discuss.elastic.co/t/enrich-policy-execution-in-elastic-search/242496 "2020-07-24T10:42:14Z")

</div>

Hi, I have created one enrich policy on one source index and used in ingest pipeline to enrich the data. my source index also will update if any new master data is added. the added new data is not enriching for the inc…

---

## [Stuck Installing 7.6 on Raspberry Pi 4 - curl: (7) Failed to connect to 192.168.1.20 port 9200: Connection refused](https://discuss.elastic.co/t/stuck-installing-7-6-on-raspberry-pi-4-curl-7-failed-to-connect-to-192-168-1-20-port-9200-connection-refused/241740)

<div class="topic-metadata">

**Author:** [@ShaunM1976](https://discuss.elastic.co/u/ShaunM1976)\
**Replies:** 5\
**Last updated:** [July 24, 2020, 10:38am UTC](https://discuss.elastic.co/t/stuck-installing-7-6-on-raspberry-pi-4-curl-7-failed-to-connect-to-192-168-1-20-port-9200-connection-refused/241740 "2020-07-24T10:38:22Z")

</div>

Hello lovely people, any experienced people out there that can help a newbie? I'm trying to install elasticsearch on my Pi 4 so I can install Magento 2.4 on it. I'm using a brand new Pi 4 with new installation of Raspbi…

---

## [Increase disk allocation for Elastic Search on linux](https://discuss.elastic.co/t/increase-disk-allocation-for-elastic-search-on-linux/242470)

<div class="topic-metadata">

**Author:** [@rao7806](https://discuss.elastic.co/u/rao7806)\
**Replies:** 3\
**Last updated:** [July 24, 2020, 10:00am UTC](https://discuss.elastic.co/t/increase-disk-allocation-for-elastic-search-on-linux/242470 "2020-07-24T10:00:19Z")

</div>

We are trying to index large datasets to elastic search and indexing is stopped due to watermark reached and nodes are set to read-only. We ran the command GET /\_cat/allocation?v and from the output, we came to know t…

---

## [Speed Up Date range query](https://discuss.elastic.co/t/speed-up-date-range-query/242467)

<div class="topic-metadata">

**Author:** [@KBD-10](https://discuss.elastic.co/u/KBD-10)\
**Replies:** 4\
**Last updated:** [July 24, 2020, 9:02am UTC](https://discuss.elastic.co/t/speed-up-date-range-query/242467 "2020-07-24T09:02:55Z")

</div>

Hello every body, First of all I would like to thank you for your help. My problem is about query slow response. I have read a lot in the forum about the cluster configuration, shards and so on, and this is finally my …

---

## [Failed to join a cluster because of time-out](https://discuss.elastic.co/t/failed-to-join-a-cluster-because-of-time-out/238360)

<div class="topic-metadata">

**Author:** [@dasolyn](https://discuss.elastic.co/u/dasolyn)\
**Replies:** 5\
**Last updated:** [June 26, 2020, 2:56pm UTC](https://discuss.elastic.co/t/failed-to-join-a-cluster-because-of-time-out/238360 "2020-06-26T14:56:44Z")

</div>

I'm trying to build ElasticSearch cluster but it cause an error. Log for master node (All IPs and comments were omitted due to privacy) \[2020-06-23T16:33:47,361\]\[WARN \]\[o.e.c.c.Coordinator \] \[kn-log-01\] failed to …

---

## [Master Node toggles permanently](https://discuss.elastic.co/t/master-node-toggles-permanently/242284)

<div class="topic-metadata">

**Author:** [@michael\_0815](https://discuss.elastic.co/u/michael_0815)\
**Replies:** 6\
**Last updated:** [July 24, 2020, 8:08am UTC](https://discuss.elastic.co/t/master-node-toggles-permanently/242284 "2020-07-24T08:08:20Z")

</div>

Hi there, we have an issue that we have constantly toggling of the master node - it leaves and joins permanently. We deleted all nodes including pvc and started all over. Same issue in AKS again. It´s a 3 node setup. L…

---

## [Elasticsearch Service won't start](https://discuss.elastic.co/t/elasticsearch-service-wont-start/242264)

<div class="topic-metadata">

**Author:** [@Jensxy](https://discuss.elastic.co/u/Jensxy)\
**Replies:** 25\
**Last updated:** [July 24, 2020, 8:06am UTC](https://discuss.elastic.co/t/elasticsearch-service-wont-start/242264 "2020-07-24T08:06:56Z")

</div>

After adding some memory to our server and rebooting it afterward, Elasticsearch does not start anymore. I am using ES 7.8.0 I execute sudo systemctl start elasticsearch.service and get the following error Job for el…

---

## [Spaces in JVM options](https://discuss.elastic.co/t/spaces-in-jvm-options/242475)

<div class="topic-metadata">

**Author:** [@sts](https://discuss.elastic.co/u/sts)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 7:50am UTC](https://discuss.elastic.co/t/spaces-in-jvm-options/242475 "2020-07-24T07:50:08Z")

</div>

I want to add "-XX:OnOutOfMemoryError=kill %p" to the Elasticsearch JVM options. No matter which way I try, I can't make it work. I think it's because the jvm.options parser always separates on spaces, is that true? Is t…

---

## [Nested Query in ES](https://discuss.elastic.co/t/nested-query-in-es/242471)

<div class="topic-metadata">

**Author:** [@mitelastic](https://discuss.elastic.co/u/mitelastic)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 7:43am UTC](https://discuss.elastic.co/t/nested-query-in-es/242471 "2020-07-24T07:43:46Z")

</div>

I have an index with below fields SimID - Guid, UserId - Guid, WhenUserTrained - Datetime, WhenUserClicked - Datetime. Now I want to get the user count for given simulation who trained in past under any simulaton. …

---

## [How to downgrade Elasticsearch 5.6.x Snapshot version?](https://discuss.elastic.co/t/how-to-downgrade-elasticsearch-5-6-x-snapshot-version/242423)

<div class="topic-metadata">

**Author:** [@Jayden\_Chew](https://discuss.elastic.co/u/Jayden_Chew)\
**Replies:** 5\
**Last updated:** [July 24, 2020, 5:13am UTC](https://discuss.elastic.co/t/how-to-downgrade-elasticsearch-5-6-x-snapshot-version/242423 "2020-07-24T05:13:33Z")

</div>

I've been attempting to migrate about 3TB of data from an AWS Elasticsearch Service cluster to a self managed Elasticsearch cluster made with EC2 instances. I was going to use snapshots to help with transferring all this…

---

## [ElasticSearch full text query (using multi-match) need to give more importance to document which starts with matched word](https://discuss.elastic.co/t/elasticsearch-full-text-query-using-multi-match-need-to-give-more-importance-to-document-which-starts-with-matched-word/242451)

<div class="topic-metadata">

**Author:** [@saikirant](https://discuss.elastic.co/u/saikirant)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 5:20am UTC](https://discuss.elastic.co/t/elasticsearch-full-text-query-using-multi-match-need-to-give-more-importance-to-document-which-starts-with-matched-word/242451 "2020-07-24T05:20:38Z")

</div>

I have 2 documents whose fields are as follows. Doc1: "Identity Vijay" Doc2: "Vijay Identity" When I search for 'identity' both documents are appearing with same score. Ideally I want 'Doc1' to have higher score as 'm…

---

## [Ask for recommendation to monitor 1000 PC with Metricbeat](https://discuss.elastic.co/t/ask-for-recommendation-to-monitor-1000-pc-with-metricbeat/242434)

<div class="topic-metadata">

**Author:** [@ahmad.ar](https://discuss.elastic.co/u/ahmad.ar)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 3:36am UTC](https://discuss.elastic.co/t/ask-for-recommendation-to-monitor-1000-pc-with-metricbeat/242434 "2020-07-24T03:36:04Z")

</div>

Hallo Everything, can I ask for advice, how should I build elasticsearch cluster if I want to monitor 1000 PC with Metricbeat with 3 months data retention. How many nodes do I need to prepare, is it necessary to dedicate…

---

## [How to upgrade my ElasticSearch](https://discuss.elastic.co/t/how-to-upgrade-my-elasticsearch/242036)

<div class="topic-metadata">

**Author:** [@Felipe](https://discuss.elastic.co/u/Felipe)\
**Replies:** 11\
**Last updated:** [July 24, 2020, 1:08am UTC](https://discuss.elastic.co/t/how-to-upgrade-my-elasticsearch/242036 "2020-07-24T01:08:31Z")

</div>

Hey gus, hope everybody is doing good! I'm having a problem to upgrade my ES cluster and i'm really lost on how many nodes do i need, their role, their hardware. Right now, i have 2 nodes which one of them is Master Dat…

---

## [Rally freezes at the end](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265)

<div class="topic-metadata">

**Author:** [@kinlee](https://discuss.elastic.co/u/kinlee)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 11:21pm UTC](https://discuss.elastic.co/t/rally-freezes-at-the-end/242265 "2020-07-23T23:21:12Z")

</div>

My rally freezes at the end and would not print the results. In the logs, there is error . elasticsearch WARNING GET https://xxx.xxx.xxx.xxx:9200/\_nodes/stats/\_all \[status:N/A request:950.711s\] Traceback (most recent ca…

---

## [Ingest pipeline for text analysis?](https://discuss.elastic.co/t/ingest-pipeline-for-text-analysis/241857)

<div class="topic-metadata">

**Author:** [@yolo](https://discuss.elastic.co/u/yolo)\
**Replies:** 11\
**Last updated:** [July 23, 2020, 10:07pm UTC](https://discuss.elastic.co/t/ingest-pipeline-for-text-analysis/241857 "2020-07-23T22:07:19Z")

</div>

Hi community, is it possible to apply text analysis on search index using ingest pipelines? i still did not find any processor suitable for this task. The idea is to detect the language using inference processor from in…

---

## [Need some help creating a complex query/aggregation](https://discuss.elastic.co/t/need-some-help-creating-a-complex-query-aggregation/242402)

<div class="topic-metadata">

**Author:** [@sKurryBoii](https://discuss.elastic.co/u/sKurryBoii)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 8:51pm UTC](https://discuss.elastic.co/t/need-some-help-creating-a-complex-query-aggregation/242402 "2020-07-23T20:51:04Z")

</div>

I'm trying to create a query to help create a retention cohort. Essentially, my index consists of many records with the fields username,timestamp,taskCompleted From this data I'm trying to group users into weeks (based…

---

## [Add mapping to unmapped field](https://discuss.elastic.co/t/add-mapping-to-unmapped-field/242369)

<div class="topic-metadata">

**Author:** [@JulienCarnec](https://discuss.elastic.co/u/JulienCarnec)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 8:45pm UTC](https://discuss.elastic.co/t/add-mapping-to-unmapped-field/242369 "2020-07-23T20:45:16Z")

</div>

Is there a way to store an unmapped field in documents, and then later on, create a mapping for this unmapped field to have it searchable, without having to reindex all my docs in a new index? Here is what I do: 1- cre…

---

## [Passing Parent Aggregate Key into the child Aggregate Scripting language](https://discuss.elastic.co/t/passing-parent-aggregate-key-into-the-child-aggregate-scripting-language/242398)

<div class="topic-metadata">

**Author:** [@amrit.khatri](https://discuss.elastic.co/u/amrit.khatri)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 8:23pm UTC](https://discuss.elastic.co/t/passing-parent-aggregate-key-into-the-child-aggregate-scripting-language/242398 "2020-07-23T20:23:16Z")

</div>

I have a quick question about passing the filters key to the scripted language from parent aggregate to child aggregate. Basically, I have defined the filters as below, In my scripted query, I want to use the filter ke…

---

## [Filebeat and data.json file, field meaning and service tunning](https://discuss.elastic.co/t/filebeat-and-data-json-file-field-meaning-and-service-tunning/242278)

<div class="topic-metadata">

**Author:** [@d.silwon](https://discuss.elastic.co/u/d.silwon)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 5:54am UTC](https://discuss.elastic.co/t/filebeat-and-data-json-file-field-meaning-and-service-tunning/242278 "2020-07-23T05:54:05Z")

</div>

Dears, The filebeat service have file data.json in /var/lib/filebeat/registry/filebeat. The content of this file looks like: \[ "soure":"/apps/logs/my\_apps/file.log","offset":"308017933","timestamp":"2020-07-23T07:20:38…

---

## [Steps to change elastic password](https://discuss.elastic.co/t/steps-to-change-elastic-password/242374)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 6:43pm UTC](https://discuss.elastic.co/t/steps-to-change-elastic-password/242374 "2020-07-23T18:43:20Z")

</div>

I try changing password for user elastic. I had many pipeline running and they all use this password. this is what I did and it starting giving me lot of error in logstash. is there step I missed? stop logstash went …

---

## [Creating/Manipulating Histograms in Scripts](https://discuss.elastic.co/t/creating-manipulating-histograms-in-scripts/242390)

<div class="topic-metadata">

**Author:** [@micah.williamson](https://discuss.elastic.co/u/micah.williamson)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 6:43pm UTC](https://discuss.elastic.co/t/creating-manipulating-histograms-in-scripts/242390 "2020-07-23T18:43:07Z")

</div>

I want to store a histogram in elasticsearch but I'm having trouble finding an example of a way to do this via script. The histogram buckets will be values 0-23, and I need to be able to increment buckets individually vi…

---

## [Date range filter using strict\_date\_time\_no\_millis format failing](https://discuss.elastic.co/t/date-range-filter-using-strict-date-time-no-millis-format-failing/242255)

<div class="topic-metadata">

**Author:** [@russinholi](https://discuss.elastic.co/u/russinholi)\
**Replies:** 3\
**Last updated:** [July 23, 2020, 5:10pm UTC](https://discuss.elastic.co/t/date-range-filter-using-strict-date-time-no-millis-format-failing/242255 "2020-07-23T17:10:23Z")

</div>

Hi all, I'm porting a query of an old app we have, from ES2.0 to ES7.8, and I'm getting this error: failed to parse date field \[2020-07-23T02:59:59+0000\] with format \[strict\_date\_time\_no\_millis\] while running a query w…

---

## [Watches index is missing in 7.6](https://discuss.elastic.co/t/watches-index-is-missing-in-7-6/240206)

<div class="topic-metadata">

**Author:** [@srk1](https://discuss.elastic.co/u/srk1)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 4:41pm UTC](https://discuss.elastic.co/t/watches-index-is-missing-in-7-6/240206 "2020-07-23T16:41:52Z")

</div>

Hi Elastic team, Watches index is missing all of a sudden and unable to locate all the previously located watches. After the cluster restart i can see the .watches index combing back but i can only find the ES monitored…

---

## [Documentation page for ESSingleNodeTestCase in 7.8](https://discuss.elastic.co/t/documentation-page-for-essinglenodetestcase-in-7-8/242373)

<div class="topic-metadata">

**Author:** [@Deb](https://discuss.elastic.co/u/Deb)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 4:36pm UTC](https://discuss.elastic.co/t/documentation-page-for-essinglenodetestcase-in-7-8/242373 "2020-07-23T16:36:10Z")

</div>

Hi Can someone let me know where is the documentation for ESSingleNodeTestCase for the latest elasticsearch? The page below seems to have been deleted https://www.elastic.co/guide/en/elasticsearch/reference/current/uni…

---

## [Parallel search after](https://discuss.elastic.co/t/parallel-search-after/241777)

<div class="topic-metadata">

**Author:** [@liron\_gofberg](https://discuss.elastic.co/u/liron_gofberg)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 4:35pm UTC](https://discuss.elastic.co/t/parallel-search-after/241777 "2020-07-23T16:35:54Z")

</div>

Hi, How can search after can be parallel if results from the previous page help the retrieval of the next page? but I can see in the documentation that it is parallel thanks, Liron

---

## [Field access in filter script](https://discuss.elastic.co/t/field-access-in-filter-script/242354)

<div class="topic-metadata">

**Author:** [@tudro](https://discuss.elastic.co/u/tudro)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 2:22pm UTC](https://discuss.elastic.co/t/field-access-in-filter-script/242354 "2020-07-23T14:22:22Z")

</div>

Hello, I have a mapping like this "user": { "mappings": { "properties": { "profile": { "properties": { "cars": {...} }}}}} I am trying t…

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

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