# Elasticsearch

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

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

**Page:** 553

---

## [\[DOCS\] Where can I find the newest 7.15 guide docs zh-CN versions?](https://discuss.elastic.co/t/docs-where-can-i-find-the-newest-7-15-guide-docs-zh-cn-versions/287662)

<div class="topic-metadata">

**Author:** [@xiongjiamu](https://discuss.elastic.co/u/xiongjiamu)\
**Replies:** 3\
**Last updated:** [October 27, 2021, 2:04am UTC](https://discuss.elastic.co/t/docs-where-can-i-find-the-newest-7-15-guide-docs-zh-cn-versions/287662 "2021-10-27T02:04:22Z")

</div>

HI there I am a beginner for Elasticsearch, and it is not very convenient for me to read the guide book with English. I't very nice that you have gave us a Chinese guide book here https://www.elastic.co/guide/cn/elasti…

---

## [Sent alert](https://discuss.elastic.co/t/sent-alert/287734)

<div class="topic-metadata">

**Author:** [@AAguilarbr](https://discuss.elastic.co/u/AAguilarbr)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 10:43pm UTC](https://discuss.elastic.co/t/sent-alert/287734 "2021-10-26T22:43:19Z")

</div>

Hello, Im wondering How can i set alert, us 2 conditions/input is met. Exemple, If CPU is higher then 80% and ASP.net has 60 requests in the Queue. Then send an Alert. Thanks!

---

## [Does pagination work with msearch with a HighRestClient in java](https://discuss.elastic.co/t/does-pagination-work-with-msearch-with-a-highrestclient-in-java/287678)

<div class="topic-metadata">

**Author:** [@MinwooKim](https://discuss.elastic.co/u/MinwooKim)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 10:34am UTC](https://discuss.elastic.co/t/does-pagination-work-with-msearch-with-a-highrestclient-in-java/287678 "2021-10-26T10:34:32Z")

</div>

Hi I have some questions based on pagination for reading an index. (by the way, FIFO doesn't need to be guranteed, just need a bulk reading process with speed) obviously in java using the HighRestClient, I have heard t…

---

## [Implicit search terms](https://discuss.elastic.co/t/implicit-search-terms/287710)

<div class="topic-metadata">

**Author:** [@Ramzay](https://discuss.elastic.co/u/Ramzay)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 9:44pm UTC](https://discuss.elastic.co/t/implicit-search-terms/287710 "2021-10-26T21:44:01Z")

</div>

Our index contains documents with the optional field Category. We need to search by default only the documents that have no category, and search for the documents with category only if the specific category provided exp…

---

## [General elastic performance when search\_after with PIT sorted by score is used for UI pagination](https://discuss.elastic.co/t/general-elastic-performance-when-search-after-with-pit-sorted-by-score-is-used-for-ui-pagination/287238)

<div class="topic-metadata">

**Author:** [@vjgorla](https://discuss.elastic.co/u/vjgorla)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 9:17pm UTC](https://discuss.elastic.co/t/general-elastic-performance-when-search-after-with-pit-sorted-by-score-is-used-for-ui-pagination/287238 "2021-10-26T21:17:13Z")

</div>

We are integrating search\_after query to our UI pagination. If we use PIT and keep the search context alive between UI page fetches, which could be minutes depending on user think time, would that scale well?. We have to…

---

## [Inconsistent results when search\_after is used for pagination sorted by score and id](https://discuss.elastic.co/t/inconsistent-results-when-search-after-is-used-for-pagination-sorted-by-score-and-id/286554)

<div class="topic-metadata">

**Author:** [@vjgorla](https://discuss.elastic.co/u/vjgorla)\
**Replies:** 3\
**Last updated:** [October 26, 2021, 7:14pm UTC](https://discuss.elastic.co/t/inconsistent-results-when-search-after-is-used-for-pagination-sorted-by-score-and-id/286554 "2021-10-26T19:14:28Z")

</div>

We have implemented pagination using search\_after and sorting the results by \_score and a unique id field as a tie-breaker. However sometimes we are getting duplicate results across pages, and other times matches do not …

---

## [Replacing hosts in a cluster](https://discuss.elastic.co/t/replacing-hosts-in-a-cluster/287511)

<div class="topic-metadata">

**Author:** [@rihad](https://discuss.elastic.co/u/rihad)\
**Replies:** 4\
**Last updated:** [October 26, 2021, 3:47pm UTC](https://discuss.elastic.co/t/replacing-hosts-in-a-cluster/287511 "2021-10-26T15:47:09Z")

</div>

Hi, we have a 7.9.1 cluster consisting of 3 hosts and we need to replace it with 3 new servers running ES 7.14-7.15. Would it be enough to just start one new server, wait for it to join the cluster, then shut down one ol…

---

## [Can a dedicated coordinator replace a load balancer](https://discuss.elastic.co/t/can-a-dedicated-coordinator-replace-a-load-balancer/287496)

<div class="topic-metadata">

**Author:** [@anon43570709](https://discuss.elastic.co/u/anon43570709)\
**Replies:** 8\
**Last updated:** [October 26, 2021, 1:58pm UTC](https://discuss.elastic.co/t/can-a-dedicated-coordinator-replace-a-load-balancer/287496 "2021-10-26T13:58:27Z")

</div>

Can a dedicated coordinator replace a load balancer such as haproxy?

---

## [Illustration of DocValues, Fielddata and Inverted Index](https://discuss.elastic.co/t/illustration-of-docvalues-fielddata-and-inverted-index/287699)

<div class="topic-metadata">

**Author:** [@galambo](https://discuss.elastic.co/u/galambo)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 1:18pm UTC](https://discuss.elastic.co/t/illustration-of-docvalues-fielddata-and-inverted-index/287699 "2021-10-26T13:18:19Z")

</div>

Hello, I would like to better understand internal Elasticsearch data structures, more specifically 1) inverted index 2) fielddata and 3) DocValues Assume we have the following use case: Sample data 1: We’re given a …

---

## [Problem’s processing or storing decimal starting with 0.0](https://discuss.elastic.co/t/problem-s-processing-or-storing-decimal-starting-with-0-0/287635)

<div class="topic-metadata">

**Author:** [@Hescalona](https://discuss.elastic.co/u/Hescalona)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 1:17pm UTC](https://discuss.elastic.co/t/problem-s-processing-or-storing-decimal-starting-with-0-0/287635 "2021-10-26T13:17:35Z")

</div>

Hi, I'm trying to store values like 0.033 but Elasticsearch it's storing just 0. The Log come from a file to LOGSTASH them process with GROK (in https://grokdebug.herokuapp.com/ the debug work fine) and store in Elastic…

---

## [How do I calculate the number of shards I should have?](https://discuss.elastic.co/t/how-do-i-calculate-the-number-of-shards-i-should-have/287561)

<div class="topic-metadata">

**Author:** [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Replies:** 5\
**Last updated:** [October 26, 2021, 12:23pm UTC](https://discuss.elastic.co/t/how-do-i-calculate-the-number-of-shards-i-should-have/287561 "2021-10-26T12:23:50Z")

</div>

Hello Following the advice given on this forum (thank you), I have been able to reduce from August to now, shard amount: From 4028 to 3317 That being said, I feel this is a high number. There is a document that says h…

---

## [Elasticsearch not updating any data with no error](https://discuss.elastic.co/t/elasticsearch-not-updating-any-data-with-no-error/287177)

<div class="topic-metadata">

**Author:** [@APic](https://discuss.elastic.co/u/APic)\
**Replies:** 7\
**Last updated:** [October 26, 2021, 11:59am UTC](https://discuss.elastic.co/t/elasticsearch-not-updating-any-data-with-no-error/287177 "2021-10-26T11:59:58Z")

</div>

Hello, in Elasticsearch 6.6.2 i'm having this weird problem where elastic stops performing any modification to data. Any UPDATE/INDEX/DELETE operation returns OK result but data never change in indexes. I see no errors…

---

## [Get search with json request](https://discuss.elastic.co/t/get-search-with-json-request/287616)

<div class="topic-metadata">

**Author:** [@razs](https://discuss.elastic.co/u/razs)\
**Replies:** 10\
**Last updated:** [October 26, 2021, 11:28am UTC](https://discuss.elastic.co/t/get-search-with-json-request/287616 "2021-10-26T11:28:51Z")

</div>

Hi, how can i get a search with json and python? 0 Been reading this Run Elasticsearch API requests | Kibana Guide \[7.15\] | Elastic and im having doubst, can anyone help me create a json request to run from python to d…

---

## [Function\_score for score\_mode: sum returning 1 instead of 0](https://discuss.elastic.co/t/function-score-for-score-mode-sum-returning-1-instead-of-0/287679)

<div class="topic-metadata">

**Author:** [@hexer338](https://discuss.elastic.co/u/hexer338)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 10:38am UTC](https://discuss.elastic.co/t/function-score-for-score-mode-sum-returning-1-instead-of-0/287679 "2021-10-26T10:38:30Z")

</div>

Hi, When using function\_score query with score\_mode: "sum", calculated score is returned as 1 instead of 0. Elasticsearch Version: 7.1.0 Steps to Reproduce: Index a document and search using function\_score query: P…

---

## [Kafka Connect Error on Elasticsearch API Hit](https://discuss.elastic.co/t/kafka-connect-error-on-elasticsearch-api-hit/287673)

<div class="topic-metadata">

**Author:** [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 10:08am UTC](https://discuss.elastic.co/t/kafka-connect-error-on-elasticsearch-api-hit/287673 "2021-10-26T10:08:49Z")

</div>

Hello, I try to send logs to Elasticsearch using kafka. When I hit the Elasticsearch hosts, the index was created, but the document was not, so the result, I got a newly created index with 0 document this is the error …

---

## [SSLHandshakeException: Empty server certificate chain](https://discuss.elastic.co/t/sslhandshakeexception-empty-server-certificate-chain/287628)

<div class="topic-metadata">

**Author:** [@porscheme](https://discuss.elastic.co/u/porscheme)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 9:14am UTC](https://discuss.elastic.co/t/sslhandshakeexception-empty-server-certificate-chain/287628 "2021-10-26T09:14:48Z")

</div>

ES version: 7.12 I'm getting this error...any help is really appreciated. "Caused by: javax.net.ssl.SSLHandshakeException: Empty server certificate chain", "at sun.security.ssl.Alert.createSSLException(Alert.java:131) …

---

## [Error when running curator](https://discuss.elastic.co/t/error-when-running-curator/287577)

<div class="topic-metadata">

**Author:** [@Jojo123](https://discuss.elastic.co/u/Jojo123)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 8:44am UTC](https://discuss.elastic.co/t/error-when-running-curator/287577 "2021-10-26T08:44:13Z")

</div>

Hello everyone, I'm an absolute beginner who encounters many problems and haven't find a solution yet. I've been running Elasticsearch and kibana for some months on a debian 10 VM. Elasticsearch receives logs from 2 wi…

---

## [How to call transform api using python](https://discuss.elastic.co/t/how-to-call-transform-api-using-python/287072)

<div class="topic-metadata">

**Author:** [@marone](https://discuss.elastic.co/u/marone)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 7:55am UTC](https://discuss.elastic.co/t/how-to-call-transform-api-using-python/287072 "2021-10-26T07:55:06Z")

</div>

I am trying to develop a python script since the max frequency parameter for transform api ranges from 1s to 1h. I am using: python verison 3.6.8 Elasticsearch python api: python -m pip install elasticsearch UPDATE…

---

## [Import index from another Elasticsearch](https://discuss.elastic.co/t/import-index-from-another-elasticsearch/287167)

<div class="topic-metadata">

**Author:** [@mangeshs](https://discuss.elastic.co/u/mangeshs)\
**Replies:** 6\
**Last updated:** [October 26, 2021, 7:31am UTC](https://discuss.elastic.co/t/import-index-from-another-elasticsearch/287167 "2021-10-26T07:31:27Z")

</div>

I have two Elasticsearch in same system and I want index with it's data from first Elasticsearch to second one in new index. How it's done?

---

## [Save aggr query and use it again](https://discuss.elastic.co/t/save-aggr-query-and-use-it-again/287545)

<div class="topic-metadata">

**Author:** [@Alexey\_Nikolaev](https://discuss.elastic.co/u/Alexey_Nikolaev)\
**Replies:** 3\
**Last updated:** [October 26, 2021, 7:05am UTC](https://discuss.elastic.co/t/save-aggr-query-and-use-it-again/287545 "2021-10-26T07:05:00Z")

</div>

Hello. I have indexes one per month. Name format is cucm-{mm-yyyy}. I need to make aggregation query from all of this type of indexes and than use saved(if it's possible) aggr query in other queries. Is it possible ?

---

## [VersionConflictEngineException throw after the upgrade From 5.0.0 to 5.6.16](https://discuss.elastic.co/t/versionconflictengineexception-throw-after-the-upgrade-from-5-0-0-to-5-6-16/287576)

<div class="topic-metadata">

**Author:** [@dalei2019](https://discuss.elastic.co/u/dalei2019)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 3:11am UTC](https://discuss.elastic.co/t/versionconflictengineexception-throw-after-the-upgrade-from-5-0-0-to-5-6-16/287576 "2021-10-26T03:11:52Z")

</div>

Sorry, I known it is old version of ES . Our plan is upgrade old version of es cluster to 7.15.x . Now after first step, upgrade to 5.6 , concurrent index write use bulkRequest (transport client ) throw many VersionCon…

---

## [Source Only Snapshot Fails for Old Version Indices after Upgrading Cluster](https://discuss.elastic.co/t/source-only-snapshot-fails-for-old-version-indices-after-upgrading-cluster/287541)

<div class="topic-metadata">

**Author:** [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 1:55am UTC](https://discuss.elastic.co/t/source-only-snapshot-fails-for-old-version-indices-after-upgrading-cluster/287541 "2021-10-26T01:55:04Z")

</div>

Hello, I try to use snapshot on old indices, old indices is from es 6.5.1. I ugpraded to es 7.11.2 Since I want to reserve more spaces, I want to use \_source only snapshot on indices, but I got an error when I try to us…

---

## [Conditional string message of a Watch](https://discuss.elastic.co/t/conditional-string-message-of-a-watch/287608)

<div class="topic-metadata">

**Author:** [@rowish](https://discuss.elastic.co/u/rowish)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 5:03pm UTC](https://discuss.elastic.co/t/conditional-string-message-of-a-watch/287608 "2021-10-25T17:03:17Z")

</div>

I am wondering if there is possible to embed in a watch such a mechanism that will use a sort of variable to determine the string in the email message of the action based on the chain input data. Specifically, instead o…

---

## [Sorting out TLS for ELK, using Helm Chart, in AKS](https://discuss.elastic.co/t/sorting-out-tls-for-elk-using-helm-chart-in-aks/286080)

<div class="topic-metadata">

**Author:** [@dcarlet](https://discuss.elastic.co/u/dcarlet)\
**Replies:** 3\
**Last updated:** [October 25, 2021, 11:24pm UTC](https://discuss.elastic.co/t/sorting-out-tls-for-elk-using-helm-chart-in-aks/286080 "2021-10-25T23:24:55Z")

</div>

So, I am trying to set up the following configuration: 3 node elastic cluster 1 node logstash 1 node kibana I am utilizing the Helm Charts (GitHub - elastic/helm-charts: You know, for Kubernetes); and specifically …

---

## [MadCap Flare and ElastiSearch 5.6](https://discuss.elastic.co/t/madcap-flare-and-elastisearch-5-6/287627)

<div class="topic-metadata">

**Author:** [@bob\_hopfner](https://discuss.elastic.co/u/bob_hopfner)\
**Replies:** 3\
**Last updated:** [October 25, 2021, 10:26pm UTC](https://discuss.elastic.co/t/madcap-flare-and-elastisearch-5-6/287627 "2021-10-25T22:26:31Z")

</div>

I am trying to get ElastiSearch (ver. 5.6) working with MadCap Flare (latest). We have done all the installation steps, the ES portal is populating with content from our site. When i publish to local host, it works and t…

---

## [Xpack for production (100 data nodes)](https://discuss.elastic.co/t/xpack-for-production-100-data-nodes/287533)

<div class="topic-metadata">

**Author:** [@porscheme](https://discuss.elastic.co/u/porscheme)\
**Replies:** 3\
**Last updated:** [October 25, 2021, 9:54pm UTC](https://discuss.elastic.co/t/xpack-for-production-100-data-nodes/287533 "2021-10-25T21:54:26Z")

</div>

Azure Cloud ES version: 7.12 Data Nodes Count: 100 (deployed using helm chats) I read ES docs that explain how to enable xpack Few Questions: How I automate xpack?

---

## [Elastic Watcher - Problem in compare condition](https://discuss.elastic.co/t/elastic-watcher-problem-in-compare-condition/286582)

<div class="topic-metadata">

**Author:** [@Chiaaa](https://discuss.elastic.co/u/Chiaaa)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 7:20am UTC](https://discuss.elastic.co/t/elastic-watcher-problem-in-compare-condition/286582 "2021-10-13T07:20:30Z")

</div>

Hi, I'm new to Elastic Word. I have to create a custom watcher that extracts -from an index - the Isin, Price and Currency fields of the last day (without aggregating them) and compares them with the average price of t…

---

## [Use Dynamic Values in array](https://discuss.elastic.co/t/use-dynamic-values-in-array/285978)

<div class="topic-metadata">

**Author:** [@varunbsgaur](https://discuss.elastic.co/u/varunbsgaur)\
**Replies:** 0\
**Last updated:** [October 6, 2021, 6:33am UTC](https://discuss.elastic.co/t/use-dynamic-values-in-array/285978 "2021-10-06T06:33:49Z")

</div>

Need to use dynamic values in script processor for better results , but its always giving error. Kindly help!!!! "processors": \[ { "split": { "field": "f1", "separator": "\_", "target\_field":"temp" }, "script":…

---

## [Data frame analytics on scripted fields ML possible?](https://discuss.elastic.co/t/data-frame-analytics-on-scripted-fields-ml-possible/285504)

<div class="topic-metadata">

**Author:** [@MLsuper](https://discuss.elastic.co/u/MLsuper)\
**Replies:** 17\
**Last updated:** [October 25, 2021, 5:17pm UTC](https://discuss.elastic.co/t/data-frame-analytics-on-scripted-fields-ml-possible/285504 "2021-10-25T17:17:23Z")

</div>

I am currently playing around with Machine learning on Kibana and I successfully learned how to use Anomaly detection to use scripted fields by editing the JSON. Now I want to use data frame analytics specifically curre…

---

## [Create Repository with S3 Protocol on Bucket Cloud on Premise](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523)

<div class="topic-metadata">

**Author:** [@alfianaf](https://discuss.elastic.co/u/alfianaf)\
**Replies:** 5\
**Last updated:** [October 25, 2021, 7:54pm UTC](https://discuss.elastic.co/t/create-repository-with-s3-protocol-on-bucket-cloud-on-premise/287523 "2021-10-25T19:54:31Z")

</div>

Hello, atm my company have cloud on premise storage with S3 protocol I want to create snapshot repository on that storage, is this possible to do, because my storage is not based on aws, but only use the s3 protocol T…

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

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