# Elasticsearch

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

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

**Page:** 645

---

## [Invalid NEST response built from a successful (200) low level call on PUT](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-successful-200-low-level-call-on-put/273266)

<div class="topic-metadata">

**Author:** [@niaz](https://discuss.elastic.co/u/niaz)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 10:13am UTC](https://discuss.elastic.co/t/invalid-nest-response-built-from-a-successful-200-low-level-call-on-put/273266 "2021-05-18T10:13:49Z")

</div>

I am running with elasticsearch 7.12.1 on Ubuntu 20.04.2 LTS. Only elasticsearch is running on port 9200. Kibana is also installed on the same VM, port 5601 but its service is currently stopped. I am using NEST to conn…

---

## [Split data into into two sets (test/train)](https://discuss.elastic.co/t/split-data-into-into-two-sets-test-train/273236)

<div class="topic-metadata">

**Author:** [@eliase](https://discuss.elastic.co/u/eliase)\
**Replies:** 3\
**Last updated:** [May 18, 2021, 9:01am UTC](https://discuss.elastic.co/t/split-data-into-into-two-sets-test-train/273236 "2021-05-18T09:01:49Z")

</div>

Hi, for machine learning validation I would like to split the data in elastic search into two sets. The random score in combination with the size parameter would give me one set but how can I obtain all other documents…

---

## [Updating OS packages when using ansible role](https://discuss.elastic.co/t/updating-os-packages-when-using-ansible-role/273213)

<div class="topic-metadata">

**Author:** [@biggtimber](https://discuss.elastic.co/u/biggtimber)\
**Replies:** 2\
**Last updated:** [May 18, 2021, 1:53am UTC](https://discuss.elastic.co/t/updating-os-packages-when-using-ansible-role/273213 "2021-05-18T01:53:09Z")

</div>

How is it recommended to run OS updates on the ES nodes that are maintained by the ansible role. Should the ES and Java packages be version locked, and will that effect upgrading the nodes later?

---

## [Easiest Way To Install Elastic... apt-get install or wget](https://discuss.elastic.co/t/easiest-way-to-install-elastic-apt-get-install-or-wget/272879)

<div class="topic-metadata">

**Author:** [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Replies:** 13\
**Last updated:** [May 18, 2021, 12:13am UTC](https://discuss.elastic.co/t/easiest-way-to-install-elastic-apt-get-install-or-wget/272879 "2021-05-18T00:13:16Z")

</div>

Good Day, In your opinion, what is the easiest way to get Elasticsearch 6.18.5 onto Ubuntu 18.04 servers. I'm looking at this ES guide here... Install Elasticsearch with Debian Package | Elasticsearch Guide \[6.8\] | Ela…

---

## [How to avoid jvm error in python elasticsearch rest client](https://discuss.elastic.co/t/how-to-avoid-jvm-error-in-python-elasticsearch-rest-client/273161)

<div class="topic-metadata">

**Author:** [@rknd](https://discuss.elastic.co/u/rknd)\
**Replies:** 5\
**Last updated:** [May 17, 2021, 11:13pm UTC](https://discuss.elastic.co/t/how-to-avoid-jvm-error-in-python-elasticsearch-rest-client/273161 "2021-05-17T23:13:28Z")

</div>

I have 10 elasticsearch nodes in one server(cluster), all nodes have 2gb jvm heap size. I have a python rest client for elasticsearch. With that client I fetch datas from elasticsearch and re-indexing with new datas. I…

---

## [Possible to only find new entries since last search?](https://discuss.elastic.co/t/possible-to-only-find-new-entries-since-last-search/273173)

<div class="topic-metadata">

**Author:** [@Sandra\_Schlichting](https://discuss.elastic.co/u/Sandra_Schlichting)\
**Replies:** 1\
**Last updated:** [May 17, 2021, 11:12pm UTC](https://discuss.elastic.co/t/possible-to-only-find-new-entries-since-last-search/273173 "2021-05-17T23:12:11Z")

</div>

Dear all =) Does anyone know if it is possible to make a query that searched for error\_event:1 and the next time I run it, it only shows the new entries since last search? Hugs, Sandra =)

---

## [Combine daily indices into monthly with ILM](https://discuss.elastic.co/t/combine-daily-indices-into-monthly-with-ilm/273185)

<div class="topic-metadata">

**Author:** [@vkatsikaros](https://discuss.elastic.co/u/vkatsikaros)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 10:58pm UTC](https://discuss.elastic.co/t/combine-daily-indices-into-monthly-with-ilm/273185 "2021-05-17T22:58:22Z")

</div>

Hi I would like to combine daily indices into monthly. I'd like to ask if this can be performed with Index Lifecycle Management in 7.12. There are reindex related questions, but should be old to include an ILM solution: …

---

## [Endpoint inconsistency in different regions of Elastic Cloud](https://discuss.elastic.co/t/endpoint-inconsistency-in-different-regions-of-elastic-cloud/273202)

<div class="topic-metadata">

**Author:** [@Mkian](https://discuss.elastic.co/u/Mkian)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 9:58pm UTC](https://discuss.elastic.co/t/endpoint-inconsistency-in-different-regions-of-elastic-cloud/273202 "2021-05-17T21:58:43Z")

</div>

In Elastic Cloud a custom endpoint alias is recently added which is good and it helps in some automations BUT I see an inconsistency in different regions when I get the endpoints which makes the automation unnecessarily …

---

## [Search plugin with custom query getting IllegalAccessError](https://discuss.elastic.co/t/search-plugin-with-custom-query-getting-illegalaccesserror/273221)

<div class="topic-metadata">

**Author:** [@elelliot](https://discuss.elastic.co/u/elelliot)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 8:55pm UTC](https://discuss.elastic.co/t/search-plugin-with-custom-query-getting-illegalaccesserror/273221 "2021-05-17T20:55:00Z")

</div>

I'm having an issue with installing a custom query in my elasticsearch plugin. For my use case, I have a custom query PayloadPhraseQuery that uses many of the other existing Lucene phrase query code. However when I run …

---

## [Analyzing profiling results](https://discuss.elastic.co/t/analyzing-profiling-results/273071)

<div class="topic-metadata">

**Author:** [@alexs1](https://discuss.elastic.co/u/alexs1)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 4:51pm UTC](https://discuss.elastic.co/t/analyzing-profiling-results/273071 "2021-05-17T16:51:26Z")

</div>

Hello, I'm migrating a cluster from an old one, and for some reason, after reindexing by best practices (than I know), performance are slower in the new cluster. the first has 500GB- 5 shards and 1 replica the new clu…

---

## [Master nodes history](https://discuss.elastic.co/t/master-nodes-history/273189)

<div class="topic-metadata">

**Author:** [@nuzolx](https://discuss.elastic.co/u/nuzolx)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 5:08pm UTC](https://discuss.elastic.co/t/master-nodes-history/273189 "2021-05-17T17:08:51Z")

</div>

Hi, Is it possible to know the history of master nodes? which node was master when ... By an API call not in logs.

---

## [Index name with binary chars - Elastic 6.8.12](https://discuss.elastic.co/t/index-name-with-binary-chars-elastic-6-8-12/273198)

<div class="topic-metadata">

**Author:** [@aayala](https://discuss.elastic.co/u/aayala)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 4:38pm UTC](https://discuss.elastic.co/t/index-name-with-binary-chars-elastic-6-8-12/273198 "2021-05-17T16:38:57Z")

</div>

How I can remove an index with binary data in there name ? Example: k8s-^@^@^@^@^@-2021.05.14

---

## [Elasticsearch cannot start a service "Mount point not found"](https://discuss.elastic.co/t/elasticsearch-cannot-start-a-service-mount-point-not-found/270449)

<div class="topic-metadata">

**Author:** [@Jakub\_Skapski](https://discuss.elastic.co/u/Jakub_Skapski)\
**Replies:** 16\
**Last updated:** [May 17, 2021, 3:55pm UTC](https://discuss.elastic.co/t/elasticsearch-cannot-start-a-service-mount-point-not-found/270449 "2021-05-17T15:55:36Z")

</div>

Hello, I'm not able to start Elasticsearch on my PC. Same error pops up with docker, or installing it standalone on my Manjaro Linux. \[2021-04-17T16:16:21,296\]\[ERROR\]\[o.e.b.Bootstrap \] \[kuba-ms7b87\] Exceptio…

---

## [Adaptive Replica Selection - deeper details](https://discuss.elastic.co/t/adaptive-replica-selection-deeper-details/272963)

<div class="topic-metadata">

**Author:** [@Glen\_Smith](https://discuss.elastic.co/u/Glen_Smith)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 3:24pm UTC](https://discuss.elastic.co/t/adaptive-replica-selection-deeper-details/272963 "2021-05-17T15:24:14Z")

</div>

Hello, If possible, I'd like to learn more specifically how shard ranking is calculated for a search. The current documentation for Adaptive Replica Selection says By default, Elasticsearch uses adaptive replica sele…

---

## [Implementing basic auth for basic license throwing error](https://discuss.elastic.co/t/implementing-basic-auth-for-basic-license-throwing-error/272797)

<div class="topic-metadata">

**Author:** [@rohitarorait82](https://discuss.elastic.co/u/rohitarorait82)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 2:58pm UTC](https://discuss.elastic.co/t/implementing-basic-auth-for-basic-license-throwing-error/272797 "2021-05-17T14:58:41Z")

</div>

Hi All, Our cluster have 6 nodes(1 coordinating, 3 master+data, 2 data nodes). We have implemented basic auth in the coordinating node, as our kibana is calling only coordinating node and it is working fine. However , …

---

## [Sub Query without Xpack or Nested mappings](https://discuss.elastic.co/t/sub-query-without-xpack-or-nested-mappings/273187)

<div class="topic-metadata">

**Author:** [@bsmith](https://discuss.elastic.co/u/bsmith)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 2:49pm UTC](https://discuss.elastic.co/t/sub-query-without-xpack-or-nested-mappings/273187 "2021-05-17T14:49:51Z")

</div>

Trying to mimic the following SQL with the intent of using the results for Vega. SQL gets a count of employees who were active at the start date as well as the end date. I have a feeling this can't be done without neste…

---

## [ElasticSearch - Refresh issue ? Too many Requests ? Can't find documents randomly](https://discuss.elastic.co/t/elasticsearch-refresh-issue-too-many-requests-cant-find-documents-randomly/268197)

<div class="topic-metadata">

**Author:** [@Rayzbam](https://discuss.elastic.co/u/Rayzbam)\
**Replies:** 16\
**Last updated:** [May 17, 2021, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-refresh-issue-too-many-requests-cant-find-documents-randomly/268197 "2021-05-17T13:34:30Z")

</div>

Hi, It's been some week i encounter some issues on ElasticSearch "Search" API. Sometimes, the search doesn't return a result which has been indexed before (sometimes while before, like 30min or 1hour). I made some res…

---

## [Elastic application is down because of unknown node.remote\_cluster\_client](https://discuss.elastic.co/t/elastic-application-is-down-because-of-unknown-node-remote-cluster-client/272484)

<div class="topic-metadata">

**Author:** [@Dawood](https://discuss.elastic.co/u/Dawood)\
**Replies:** 11\
**Last updated:** [May 17, 2021, 11:04am UTC](https://discuss.elastic.co/t/elastic-application-is-down-because-of-unknown-node-remote-cluster-client/272484 "2021-05-17T11:04:48Z")

</div>

---

## [Create nested mappings there is still an error](https://discuss.elastic.co/t/create-nested-mappings-there-is-still-an-error/273138)

<div class="topic-metadata">

**Author:** [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 10:35am UTC](https://discuss.elastic.co/t/create-nested-mappings-there-is-still-an-error/273138 "2021-05-17T10:35:33Z")

</div>

hallo, can you help me with this problem PUT office { "mappings": { "departments" : \[{ "properties":{ "id":{ "type":"integer" }, "deptName":{ "type":"string" }, "employee\_details":{ "type":"nested", "prope…

---

## [Elasticsearch Create a snapshot repository error](https://discuss.elastic.co/t/elasticsearch-create-a-snapshot-repository-error/60830)

<div class="topic-metadata">

**Author:** [@Canon88](https://discuss.elastic.co/u/Canon88)\
**Replies:** 13\
**Last updated:** [May 17, 2021, 10:16am UTC](https://discuss.elastic.co/t/elasticsearch-create-a-snapshot-repository-error/60830 "2021-05-17T10:16:46Z")

</div>

When I use curl -XPUT 'http://192.168.184.33:9200/\_snapshot/elkbak' -d '{"type": "fs","settings": {"location": "/data/elk\_bak","compress": true}}'. Shows the following error: {"error":{"root\_cause":\[{"type":"repository…

---

## [How Alerts & Actions handles query delay in ML jobs alerts? v7.12](https://discuss.elastic.co/t/how-alerts-actions-handles-query-delay-in-ml-jobs-alerts-v7-12/273067)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 1\
**Last updated:** [May 17, 2021, 9:50am UTC](https://discuss.elastic.co/t/how-alerts-actions-handles-query-delay-in-ml-jobs-alerts-v7-12/273067 "2021-05-17T09:50:45Z")

</div>

Im having some problems with Alerts & Actions, usually when I create an alert it works the first time it found an anomlay but then I stop getting alerts, so I was wondering how Alerts & Actions handles query delay in ML …

---

## [\[ES v7.9.1\] What is the largest useful size setting for terms aggregations](https://discuss.elastic.co/t/es-v7-9-1-what-is-the-largest-useful-size-setting-for-terms-aggregations/273153)

<div class="topic-metadata">

**Author:** [@str8y](https://discuss.elastic.co/u/str8y)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 9:28am UTC](https://discuss.elastic.co/t/es-v7-9-1-what-is-the-largest-useful-size-setting-for-terms-aggregations/273153 "2021-05-17T09:28:38Z")

</div>

In order to get all the existing data we set the size parameter for each terms aggregation to 2147483647 (Integer.MAX) Depending on the number of documents, these queries run forever and consume massive memory. Actually…

---

## [GeoPoint vs GeoLocation and Search and Sorting](https://discuss.elastic.co/t/geopoint-vs-geolocation-and-search-and-sorting/273018)

<div class="topic-metadata">

**Author:** [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 7:41am UTC](https://discuss.elastic.co/t/geopoint-vs-geolocation-and-search-and-sorting/273018 "2021-05-17T07:41:28Z")

</div>

Good morning, Now I'm beginning to work with geoLocations and I'm using the library nest to interact to ElasticSearch, but my first question is: Whats is more correct? GeoLocation type or geoPoint: Location "locatio…

---

## [Restarting elasticsearch (via systemctl): Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details](https://discuss.elastic.co/t/restarting-elasticsearch-via-systemctl-job-for-elasticsearch-service-failed-because-the-control-process-exited-with-error-code-see-systemctl-status-elasticsearch-service-and-journalctl-xe-for-details/273137)

<div class="topic-metadata">

**Author:** [@confidential](https://discuss.elastic.co/u/confidential)\
**Replies:** 1\
**Last updated:** [May 17, 2021, 7:39am UTC](https://discuss.elastic.co/t/restarting-elasticsearch-via-systemctl-job-for-elasticsearch-service-failed-because-the-control-process-exited-with-error-code-see-systemctl-status-elasticsearch-service-and-journalctl-xe-for-details/273137 "2021-05-17T07:39:38Z")

</div>

Restarting elasticsearch (via systemctl): Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details. ## JVM c…

---

## [Does the index API block responses until the indexing process is through?](https://discuss.elastic.co/t/does-the-index-api-block-responses-until-the-indexing-process-is-through/273115)

<div class="topic-metadata">

**Author:** [@Courtan](https://discuss.elastic.co/u/Courtan)\
**Replies:** 9\
**Last updated:** [May 17, 2021, 6:54am UTC](https://discuss.elastic.co/t/does-the-index-api-block-responses-until-the-indexing-process-is-through/273115 "2021-05-17T06:54:14Z")

</div>

I am wondering wether the index API waits to return a response until the whole indexing process is complete. More specifically: When I send a document to the API for indexing, will ES only check wether the request, json…

---

## [How to use an array as a param for feature logging (Elasticsearch learning to rank plugin)](https://discuss.elastic.co/t/how-to-use-an-array-as-a-param-for-feature-logging-elasticsearch-learning-to-rank-plugin/273112)

<div class="topic-metadata">

**Author:** [@ndkmath1](https://discuss.elastic.co/u/ndkmath1)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 6:41am UTC](https://discuss.elastic.co/t/how-to-use-an-array-as-a-param-for-feature-logging-elasticsearch-learning-to-rank-plugin/273112 "2021-05-17T06:41:02Z")

</div>

I want to create a feature in my featureset and its param is an array. I known how to use a single value for feature logging but I don't know how to use an array. I tried something like below but it didn't help. Do you h…

---

## [Impact of setting max\_inner\_result\_window at index level](https://discuss.elastic.co/t/impact-of-setting-max-inner-result-window-at-index-level/273128)

<div class="topic-metadata">

**Author:** [@surabhi11](https://discuss.elastic.co/u/surabhi11)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 6:20am UTC](https://discuss.elastic.co/t/impact-of-setting-max-inner-result-window-at-index-level/273128 "2021-05-17T06:20:02Z")

</div>

Hi, We have a user index and it has recipients (nested object). Since recipients are saved in User domain as nested object, so in order to pull the recipients data with pagination we are using inner\_hits query in respe…

---

## [CPU loading: 100% under load after 10-12 hrs of usage](https://discuss.elastic.co/t/cpu-loading-100-under-load-after-10-12-hrs-of-usage/271041)

<div class="topic-metadata">

**Author:** [@Dmitry\_Uglatch](https://discuss.elastic.co/u/Dmitry_Uglatch)\
**Replies:** 8\
**Last updated:** [May 17, 2021, 6:06am UTC](https://discuss.elastic.co/t/cpu-loading-100-under-load-after-10-12-hrs-of-usage/271041 "2021-05-17T06:06:45Z")

</div>

Hello, we're switching from ES 5.5 to 7.12. After applying it works perfect for about 10-12 hrs: and then we get CPU loading: 100% Even simple queries: GET /products/\_search?size=0 works for 5-6 seconds. And it return…

---

## [Daily reingestion of data](https://discuss.elastic.co/t/daily-reingestion-of-data/272972)

<div class="topic-metadata">

**Author:** [@SamKidman](https://discuss.elastic.co/u/SamKidman)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 4:42am UTC](https://discuss.elastic.co/t/daily-reingestion-of-data/272972 "2021-05-17T04:42:21Z")

</div>

We've had an elasticsearch setup for a while now that has worked by reingesting all data from a relational database into a new index in denormalised form. We now want to perform immediate updates to the data in elastics…

---

## [Suggest score up by hit position](https://discuss.elastic.co/t/suggest-score-up-by-hit-position/273118)

<div class="topic-metadata">

**Author:** [@Yuya\_Takao](https://discuss.elastic.co/u/Yuya_Takao)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 1:21am UTC](https://discuss.elastic.co/t/suggest-score-up-by-hit-position/273118 "2021-05-17T01:21:52Z")

</div>

Hi there, I want to suggest score up by hit position. Is there any idea? I know boost option, but I have no idea to score up by hit position. for example: \[search word 'a'\] largest score 'august' second largest sc…

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

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