# Elasticsearch

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

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

**Page:** 558

---

## [Ingesting Web Services API data into Elasticsearch without a database](https://discuss.elastic.co/t/ingesting-web-services-api-data-into-elasticsearch-without-a-database/286878)

<div class="topic-metadata">

**Author:** [@rvalle](https://discuss.elastic.co/u/rvalle)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 1:40am UTC](https://discuss.elastic.co/t/ingesting-web-services-api-data-into-elasticsearch-without-a-database/286878 "2021-10-18T01:40:24Z")

</div>

I’m new to this forum as well as to Elasticsearch. I just recently started exploring how Elasticsearch works and if it can solve a problem. I am trying to find a solution to the following scenario: I have a web servic…

---

## [Es\_rejected\_execution\_exception -](https://discuss.elastic.co/t/es-rejected-execution-exception/286901)

<div class="topic-metadata">

**Author:** [@Paulo\_Eduardo\_Bitar](https://discuss.elastic.co/u/Paulo_Eduardo_Bitar)\
**Replies:** 4\
**Last updated:** [October 18, 2021, 1:07am UTC](https://discuss.elastic.co/t/es-rejected-execution-exception/286901 "2021-10-18T01:07:30Z")

</div>

Hi, I just started learning Elastic and I have already found a problem. I am running Elastic in a Docker and trying to execute this curl -H 'Content-Type: application/json' -XPOST '127.0.0.1:9200/shakespeare/\_bulk?prett…

---

## [ElasticSearch Nest query returning Null values for every field?](https://discuss.elastic.co/t/elasticsearch-nest-query-returning-null-values-for-every-field/284796)

<div class="topic-metadata">

**Author:** [@bensalerno](https://discuss.elastic.co/u/bensalerno)\
**Replies:** 1\
**Last updated:** [October 17, 2021, 11:28pm UTC](https://discuss.elastic.co/t/elasticsearch-nest-query-returning-null-values-for-every-field/284796 "2021-10-17T23:28:31Z")

</div>

I finally got my Nest client set up, however, the results of every field are populated as null instead of the expected values. I looked at these c# - ElasticSearch NEST - all fields are NULL - Stack Overflow and c# - NE…

---

## [How to prevent a single node slowing down queries where it acts as the coordinator?](https://discuss.elastic.co/t/how-to-prevent-a-single-node-slowing-down-queries-where-it-acts-as-the-coordinator/286937)

<div class="topic-metadata">

**Author:** [@ted.fed](https://discuss.elastic.co/u/ted.fed)\
**Replies:** 0\
**Last updated:** [October 17, 2021, 9:20pm UTC](https://discuss.elastic.co/t/how-to-prevent-a-single-node-slowing-down-queries-where-it-acts-as-the-coordinator/286937 "2021-10-17T21:20:32Z")

</div>

As per my understanding, clients do not have a server-preference for sending read queries and do either a round-robin or a random client selection. If so, then each server acts as a coordinator node (one that scatter-ga…

---

## [Warnings when service starts](https://discuss.elastic.co/t/warnings-when-service-starts/286928)

<div class="topic-metadata">

**Author:** [@aakerbeere](https://discuss.elastic.co/u/aakerbeere)\
**Replies:** 1\
**Last updated:** [October 17, 2021, 9:16pm UTC](https://discuss.elastic.co/t/warnings-when-service-starts/286928 "2021-10-17T21:16:41Z")

</div>

fyi I get warnings when Elasticsearch.service starts. Don't know if this is important but it's considering reporting to the maintainers, which is done herewith. Elasticsearch aarch64 (RPi4). openjdk version "11.0.12" 2…

---

## [Is Elasticsearch good for such a problem?](https://discuss.elastic.co/t/is-elasticsearch-good-for-such-a-problem/286917)

<div class="topic-metadata">

**Author:** [@Michal\_Szymanski](https://discuss.elastic.co/u/Michal_Szymanski)\
**Replies:** 2\
**Last updated:** [October 17, 2021, 12:23pm UTC](https://discuss.elastic.co/t/is-elasticsearch-good-for-such-a-problem/286917 "2021-10-17T12:23:18Z")

</div>

Hi, We have been thinking about choosing the right technology for our problem for a long time. The problem is as follows: we will have tens of millions of JSON documents documents will contain any number of "entry" s…

---

## [Elasticsearch plugin to do search requests](https://discuss.elastic.co/t/elasticsearch-plugin-to-do-search-requests/286923)

<div class="topic-metadata">

**Author:** [@ali\_kh](https://discuss.elastic.co/u/ali_kh)\
**Replies:** 3\
**Last updated:** [October 17, 2021, 11:46am UTC](https://discuss.elastic.co/t/elasticsearch-plugin-to-do-search-requests/286923 "2021-10-17T11:46:55Z")

</div>

I want to build an ES plugin to do index search requests, what type of plugins can I use? and is there some tutorial or documentation for that? Thanks

---

## [HighLevelRestClient (Java) - Client does not shut down after async requests](https://discuss.elastic.co/t/highlevelrestclient-java-client-does-not-shut-down-after-async-requests/286836)

<div class="topic-metadata">

**Author:** [@codingchili](https://discuss.elastic.co/u/codingchili)\
**Replies:** 4\
**Last updated:** [October 17, 2021, 10:46am UTC](https://discuss.elastic.co/t/highlevelrestclient-java-client-does-not-shut-down-after-async-requests/286836 "2021-10-17T10:46:30Z")

</div>

Hello, I'm unable to close the threadpool that is backing the HighLevelRestClient. Whenever my framework fails to deploy a part of the application or just for a graceful shutdown, I need the threadpool to shutdown to al…

---

## [Named multi match query](https://discuss.elastic.co/t/named-multi-match-query/286904)

<div class="topic-metadata">

**Author:** [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)\
**Replies:** 0\
**Last updated:** [October 17, 2021, 3:35am UTC](https://discuss.elastic.co/t/named-multi-match-query/286904 "2021-10-17T03:35:59Z")

</div>

Hello everyone , I need a hand here. I have a cross\_fields multi\_match query and I need to use named queries for each field. I can rewrite it into a bool/should match but then I dont know how to reproduce the cross\_field…

---

## [Cannot setup cluster of ES with Docker of 2 EC2 machines on 3 nodes](https://discuss.elastic.co/t/cannot-setup-cluster-of-es-with-docker-of-2-ec2-machines-on-3-nodes/286890)

<div class="topic-metadata">

**Author:** [@vitaly1233](https://discuss.elastic.co/u/vitaly1233)\
**Replies:** 4\
**Last updated:** [October 16, 2021, 6:29pm UTC](https://discuss.elastic.co/t/cannot-setup-cluster-of-es-with-docker-of-2-ec2-machines-on-3-nodes/286890 "2021-10-16T18:29:53Z")

</div>

Im trying to setup 3 nodes on 2 machines as the following configuration. following the doc - Install Elasticsearch with Docker | Elasticsearch Guide \[7.15\] | Elastic (run this script on each machine) services: es01:…

---

## [Can not upload synonyms file in the elastic cloud](https://discuss.elastic.co/t/can-not-upload-synonyms-file-in-the-elastic-cloud/286888)

<div class="topic-metadata">

**Author:** [@aninda\_halder](https://discuss.elastic.co/u/aninda_halder)\
**Replies:** 5\
**Last updated:** [October 16, 2021, 6:27pm UTC](https://discuss.elastic.co/t/can-not-upload-synonyms-file-in-the-elastic-cloud/286888 "2021-10-16T18:27:43Z")

</div>

Can you help me to upload synonyms and stop word files in cloud ? After doing some googling i found this this link, and successfully add a custom extension but i can not enable them for existing Elasticsearch deployments…

---

## [Timed out while retrying \[indices:admin/exists\] after failure](https://discuss.elastic.co/t/timed-out-while-retrying-indices-admin-exists-after-failure/286870)

<div class="topic-metadata">

**Author:** [@akshay\_dindure1994](https://discuss.elastic.co/u/akshay_dindure1994)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 7:22pm UTC](https://discuss.elastic.co/t/timed-out-while-retrying-indices-admin-exists-after-failure/286870 "2021-10-15T19:22:45Z")

</div>

Hello Team, I have single node setup in my environment. I am facing issue after an server reboot. Elastic is take 8 time more time then usual to start. And soon getting abnormal. Please find the the Error which I am g…

---

## [Elasticsearch configuration](https://discuss.elastic.co/t/elasticsearch-configuration/286480)

<div class="topic-metadata">

**Author:** [@niraj\_pandey](https://discuss.elastic.co/u/niraj_pandey)\
**Replies:** 29\
**Last updated:** [October 16, 2021, 4:31am UTC](https://discuss.elastic.co/t/elasticsearch-configuration/286480 "2021-10-16T04:31:14Z")

</div>

Hi , I am trying to configure Elasticsearch 7.0.0 with 2 master and 1 data nodes (will add more data nodes later). Below are the configuration details for each node. But when I ran the API (curl -X GET "rw-elkm2-vm:9200…

---

## [Fetch additional info for each Elasticsearch](https://discuss.elastic.co/t/fetch-additional-info-for-each-elasticsearch/286880)

<div class="topic-metadata">

**Author:** [@pedrorabbi](https://discuss.elastic.co/u/pedrorabbi)\
**Replies:** 2\
**Last updated:** [October 16, 2021, 3:31am UTC](https://discuss.elastic.co/t/fetch-additional-info-for-each-elasticsearch/286880 "2021-10-16T03:31:12Z")

</div>

So, I have 2 indexes in my Elasticsearch server. I need to gather the results from the first index, and for each result I need to gather info from the second index. How to do that? Tried the foreach processor, but no lu…

---

## [Enable .keyword fields for specific fields only](https://discuss.elastic.co/t/enable-keyword-fields-for-specific-fields-only/286866)

<div class="topic-metadata">

**Author:** [@Rakesh\_B](https://discuss.elastic.co/u/Rakesh_B)\
**Replies:** 3\
**Last updated:** [October 15, 2021, 8:26pm UTC](https://discuss.elastic.co/t/enable-keyword-fields-for-specific-fields-only/286866 "2021-10-15T20:26:16Z")

</div>

Hi, Elasticsearch Version: 7.15.0 Logstash Version: 7.15.0 We have a ton of fields for our index and we get new fields frequently so, we cannot disable dynamic mapping. Dynamic mapping creates .keyword fields for a ma…

---

## [How to get the value of an array using ctx.payload](https://discuss.elastic.co/t/how-to-get-the-value-of-an-array-using-ctx-payload/286864)

<div class="topic-metadata">

**Author:** [@StephaneRodier](https://discuss.elastic.co/u/StephaneRodier)\
**Replies:** 1\
**Last updated:** [October 15, 2021, 8:19pm UTC](https://discuss.elastic.co/t/how-to-get-the-value-of-an-array-using-ctx-payload/286864 "2021-10-15T20:19:27Z")

</div>

Hello, Let's say I have the results below in an array of 2: "hits": { "hits": \[ { "\_index": "blah-2021.10.01-000003", "\_type": "\_doc", "\_source": …

---

## [S3 - setting and verifying repo issue](https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661)

<div class="topic-metadata">

**Author:** [@vee](https://discuss.elastic.co/u/vee)\
**Replies:** 30\
**Last updated:** [October 15, 2021, 7:42pm UTC](https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661 "2021-10-15T19:42:27Z")

</div>

Trying our in-house S3 compatible storage device as frozen tier, but seeing errors when verifying the repository. Got a confirmation from elastic support that the one we have is fully supported by S3 protocol. Here are …

---

## [Watcher - how to set the doc\_values condition for a query with a filter terms aggregation. (Detect lack of logs per hostname - use case)](https://discuss.elastic.co/t/watcher-how-to-set-the-doc-values-condition-for-a-query-with-a-filter-terms-aggregation-detect-lack-of-logs-per-hostname-use-case/286225)

<div class="topic-metadata">

**Author:** [@Manu\_BS](https://discuss.elastic.co/u/Manu_BS)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 3:19pm UTC](https://discuss.elastic.co/t/watcher-how-to-set-the-doc-values-condition-for-a-query-with-a-filter-terms-aggregation-detect-lack-of-logs-per-hostname-use-case/286225 "2021-10-15T15:19:44Z")

</div>

Hello friends, I wanted to create a few watchers that help us to detect when we are not receiving specific logs that are crucial for the monitoring chain. It means, to not be receiving logs from specific servers. For …

---

## [Very slow aggregate query](https://discuss.elastic.co/t/very-slow-aggregate-query/286371)

<div class="topic-metadata">

**Author:** [@Giovanni\_Di\_Lembo](https://discuss.elastic.co/u/Giovanni_Di_Lembo)\
**Replies:** 15\
**Last updated:** [October 15, 2021, 2:13pm UTC](https://discuss.elastic.co/t/very-slow-aggregate-query/286371 "2021-10-15T14:13:15Z")

</div>

Hi all I have 200 Gb data in Elasticsearch and when I excecute an aggregate query it takes 8 seconds. My client goes in timeout. Actually my query is like that: { "aggs": { "filtered": { "filter": { …

---

## [StackOverflowError triggering cluster crash](https://discuss.elastic.co/t/stackoverflowerror-triggering-cluster-crash/285550)

<div class="topic-metadata">

**Author:** [@bhargava\_kovi](https://discuss.elastic.co/u/bhargava_kovi)\
**Replies:** 7\
**Last updated:** [October 15, 2021, 1:43pm UTC](https://discuss.elastic.co/t/stackoverflowerror-triggering-cluster-crash/285550 "2021-10-15T13:43:36Z")

</div>

The cluster was suddenly crashed mentioning the below stack trace. we are using version ES 7.10.1. I tried to look for a similar issue on StackOverflowError in Lucene but couldnt find much on it. Can anyone help to un…

---

## [Aggregation after rescore](https://discuss.elastic.co/t/aggregation-after-rescore/286833)

<div class="topic-metadata">

**Author:** [@SantaDiver](https://discuss.elastic.co/u/SantaDiver)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 12:47pm UTC](https://discuss.elastic.co/t/aggregation-after-rescore/286833 "2021-10-15T12:47:50Z")

</div>

Hello! I am trying to build ecommerce search engine with facets using Elasticsearch. I am using Elasticsearch-ltr plugin, which provides me possibility to rescore documents using machine learning formula. I want to cut …

---

## [Random node frequently removed from the cluster](https://discuss.elastic.co/t/random-node-frequently-removed-from-the-cluster/286296)

<div class="topic-metadata">

**Author:** [@JohnPhilip](https://discuss.elastic.co/u/JohnPhilip)\
**Replies:** 11\
**Last updated:** [October 11, 2021, 9:58am UTC](https://discuss.elastic.co/t/random-node-frequently-removed-from-the-cluster/286296 "2021-10-11T09:58:32Z")

</div>

I found different node removed from cluster in last month, sometimes it happens 10 times a day. ES version is 7.6.2, and there are 5000+ shards, 6 data nodes with 30gb heap size, and another 3 master node in the cluster…

---

## [Elasticsearch huge CPU utilisation](https://discuss.elastic.co/t/elasticsearch-huge-cpu-utilisation/286707)

<div class="topic-metadata">

**Author:** [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Replies:** 6\
**Last updated:** [October 15, 2021, 11:10am UTC](https://discuss.elastic.co/t/elasticsearch-huge-cpu-utilisation/286707 "2021-10-15T11:10:02Z")

</div>

Hello, We have ELK Stack in our Company. Last time I had stability issues with Elasticsearch - meaning Elasticsearch was running after restart and after 3 hours was hung. Right now I see java process in Elasticsearch …

---

## [Optional field for boosting results score](https://discuss.elastic.co/t/optional-field-for-boosting-results-score/286805)

<div class="topic-metadata">

**Author:** [@Sodium](https://discuss.elastic.co/u/Sodium)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 11:01am UTC](https://discuss.elastic.co/t/optional-field-for-boosting-results-score/286805 "2021-10-15T11:01:18Z")

</div>

Hello, I currently have this request: 'query' =\> 'multi\_match' =\> \[ 'query' =\> $queryString, 'type' =\> 'bool\_prefix', 'fields' =\> \[ 'label^3', 'categories\_lis…

---

## [Can I update a pivot Transform's aggregation script?](https://discuss.elastic.co/t/can-i-update-a-pivot-transforms-aggregation-script/286740)

<div class="topic-metadata">

**Author:** [@nsouth](https://discuss.elastic.co/u/nsouth)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 10:34am UTC](https://discuss.elastic.co/t/can-i-update-a-pivot-transforms-aggregation-script/286740 "2021-10-15T10:34:38Z")

</div>

I have a transform with a scripted metric aggregation. I need to change how some fields are being calculated and I need to drop a few fields. However, the update API doesn't appear to support updating the transform's agg…

---

## [Help needed using a column of results returned in a second query (Chained input)](https://discuss.elastic.co/t/help-needed-using-a-column-of-results-returned-in-a-second-query-chained-input/286809)

<div class="topic-metadata">

**Author:** [@SamHunt](https://discuss.elastic.co/u/SamHunt)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 9:00am UTC](https://discuss.elastic.co/t/help-needed-using-a-column-of-results-returned-in-a-second-query-chained-input/286809 "2021-10-15T09:00:52Z")

</div>

Help needed using a column of results returned in a second query (Chained input). I'm aware of an example in the docs showing chained input but it does not seem to work or be suitable for adaptation. I would like the f…

---

## [onQueryPhase listener org.elasticsearch.index.SearchSlowLog fails with NullpointerException](https://discuss.elastic.co/t/onqueryphase-listener-org-elasticsearch-index-searchslowlog-fails-with-nullpointerexception/286726)

<div class="topic-metadata">

**Author:** [@Harald\_Bittermann](https://discuss.elastic.co/u/Harald_Bittermann)\
**Replies:** 3\
**Last updated:** [October 15, 2021, 8:13am UTC](https://discuss.elastic.co/t/onqueryphase-listener-org-elasticsearch-index-searchslowlog-fails-with-nullpointerexception/286726 "2021-10-15T08:13:34Z")

</div>

Within the last month we are seeing the following exceptions like the one below more and more often on one of our clusters. \[2021-10-12T12:38:45,944 UTC\]\[WARN \]\[o.e.i.s.IndexShard \] \[10.180.253.11\] \[visit-global-l…

---

## [What happens if 2 of 5 data nodes are down?](https://discuss.elastic.co/t/what-happens-if-2-of-5-data-nodes-are-down/286019)

<div class="topic-metadata">

**Author:** [@smm](https://discuss.elastic.co/u/smm)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 7:04am UTC](https://discuss.elastic.co/t/what-happens-if-2-of-5-data-nodes-are-down/286019 "2021-10-15T07:04:32Z")

</div>

Dear community, what does happen if in an Elasticsearch cluster 2 of 5 data nodes are down, data is still incoming via logstash and daily indices are used (cluster version 7.8.1)? For example the nodes are down for max …

---

## [Elsticsearch, do POST, GET Requests between custom plugins with the nodeClient](https://discuss.elastic.co/t/elsticsearch-do-post-get-requests-between-custom-plugins-with-the-nodeclient/286795)

<div class="topic-metadata">

**Author:** [@aza-zil](https://discuss.elastic.co/u/aza-zil)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 6:30am UTC](https://discuss.elastic.co/t/elsticsearch-do-post-get-requests-between-custom-plugins-with-the-nodeclient/286795 "2021-10-15T06:30:05Z")

</div>

I have two plugins in ES, and I want one of them to send GET/POST requests to the other using the nodeCLient, how can I do that?

---

## [Cluster returns 200 to queries even if entire shards are unavailable](https://discuss.elastic.co/t/cluster-returns-200-to-queries-even-if-entire-shards-are-unavailable/286432)

<div class="topic-metadata">

**Author:** [@Mon48](https://discuss.elastic.co/u/Mon48)\
**Replies:** 11\
**Last updated:** [October 15, 2021, 5:16am UTC](https://discuss.elastic.co/t/cluster-returns-200-to-queries-even-if-entire-shards-are-unavailable/286432 "2021-10-15T05:16:31Z")

</div>

I'm working with about 80 instances, and a index of 2TB and 50 shards with 1 replica However for some reason from time to time the cluster collapses (still root causing this) As you can see from the image, instances…

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

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