# Elasticsearch

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

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

**Page:** 1121

---

## [Socket timeout during reindexAsync in RestHighLevelClient](https://discuss.elastic.co/t/socket-timeout-during-reindexasync-in-resthighlevelclient/203452)

<div class="topic-metadata">

**Author:** [@Dawid\_Macura](https://discuss.elastic.co/u/Dawid_Macura)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 6:22pm UTC](https://discuss.elastic.co/t/socket-timeout-during-reindexasync-in-resthighlevelclient/203452 "2019-10-18T18:22:11Z")

</div>

Hi, I have the problem with reindexing my documents, I have index with 900K documents but RestHighLevelClient always returns java.net.SocketTimeoutException, I increase the socket timeout, set the batch size to 500 bu…

---

## [When creating an index in Elasticsearch is there a way to map \_id field to incoming data field](https://discuss.elastic.co/t/when-creating-an-index-in-elasticsearch-is-there-a-way-to-map-id-field-to-incoming-data-field/204256)

<div class="topic-metadata">

**Author:** [@bkleynbok](https://discuss.elastic.co/u/bkleynbok)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 5:40pm UTC](https://discuss.elastic.co/t/when-creating-an-index-in-elasticsearch-is-there-a-way-to-map-id-field-to-incoming-data-field/204256 "2019-10-18T17:40:29Z")

</div>

My team is using ELK Stack 7.3.2 I have tried many ways to show what we need in Kibana. Lets say I have some JSON coming in from Kafka topic. ex. {"processName":"SM1","processType":"serviceManager","status":"UP","upda…

---

## [Elasticsearch snapshots on Azure Blob stops suddenly with weird error](https://discuss.elastic.co/t/elasticsearch-snapshots-on-azure-blob-stops-suddenly-with-weird-error/201541)

<div class="topic-metadata">

**Author:** [@sunilthemaster](https://discuss.elastic.co/u/sunilthemaster)\
**Replies:** 6\
**Last updated:** [October 18, 2019, 5:26pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshots-on-azure-blob-stops-suddenly-with-weird-error/201541 "2019-10-18T17:26:26Z")

</div>

I have multiple environments on Azure. Each of the env. has multiple node elasticsearch cluster. everything was working fine for months and now suddenly ES snapshot stopped worked with weird error. Error during snapshot…

---

## [Date script not working](https://discuss.elastic.co/t/date-script-not-working/201873)

<div class="topic-metadata">

**Author:** [@Cain310](https://discuss.elastic.co/u/Cain310)\
**Replies:** 15\
**Last updated:** [October 18, 2019, 2:46pm UTC](https://discuss.elastic.co/t/date-script-not-working/201873 "2019-10-18T14:46:19Z")

</div>

I am having trouble writing a script to work with my two date fields. ES/KB version 5.6.16 "doc": { "chargebackDate": "2019-09-23 14:51:29", "products": \[ { "recurr…

---

## [Node stats API overhead](https://discuss.elastic.co/t/node-stats-api-overhead/204186)

<div class="topic-metadata">

**Author:** [@dbakti7](https://discuss.elastic.co/u/dbakti7)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 5:05pm UTC](https://discuss.elastic.co/t/node-stats-api-overhead/204186 "2019-10-18T17:05:33Z")

</div>

According to Telemetry Devices - Rally 2.10.0 documentation It's mentioned that Using this telemetry device will skew your results because the node-stats API triggers additional refreshes. What "refreshes" refers to…

---

## [Elaticsearch readiness probe failed connection refused](https://discuss.elastic.co/t/elaticsearch-readiness-probe-failed-connection-refused/204193)

<div class="topic-metadata">

**Author:** [@Jayabal\_K](https://discuss.elastic.co/u/Jayabal_K)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 4:55pm UTC](https://discuss.elastic.co/t/elaticsearch-readiness-probe-failed-connection-refused/204193 "2019-10-18T16:55:36Z")

</div>

Hi, My elasticsearch cluster is deployed in kubernetes environment. I used readinessprobe and livenessprobe to check cluster health. But it throwing connection refused error. Liveness probe failed: Get http://IP:9200/\_…

---

## [How to Select \* from Doc where description like '%keju%' and purchasedId = 'PG.R.UNC.01'](https://discuss.elastic.co/t/how-to-select-from-doc-where-description-like-keju-and-purchasedid-pg-r-unc-01/204204)

<div class="topic-metadata">

**Author:** [@Ahmad\_Teguh\_Satria](https://discuss.elastic.co/u/Ahmad_Teguh_Satria)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 4:23pm UTC](https://discuss.elastic.co/t/how-to-select-from-doc-where-description-like-keju-and-purchasedid-pg-r-unc-01/204204 "2019-10-18T16:23:37Z")

</div>

Hello, i'm new on elastic search, still not understand how using query for elastic search i have data like this one { "\_index" : "normal", "\_type" : "product", "\_id" : "002417", "\_score" : 0.93070257, "\_source" :…

---

## [Elsaticsearch everyday, first search is slow and rest are fine](https://discuss.elastic.co/t/elsaticsearch-everyday-first-search-is-slow-and-rest-are-fine/201506)

<div class="topic-metadata">

**Author:** [@shani\_angarkadu](https://discuss.elastic.co/u/shani_angarkadu)\
**Replies:** 5\
**Last updated:** [October 18, 2019, 4:13pm UTC](https://discuss.elastic.co/t/elsaticsearch-everyday-first-search-is-slow-and-rest-are-fine/201506 "2019-10-18T16:13:31Z")

</div>

My first search every morning is very slow and the rest of the searches for that day is good. I have read few related questions, answers are too old. Could you please help me with this. Thank you!!

---

## [ILM policy and default alias name](https://discuss.elastic.co/t/ilm-policy-and-default-alias-name/204234)

<div class="topic-metadata">

**Author:** [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 4:07pm UTC](https://discuss.elastic.co/t/ilm-policy-and-default-alias-name/204234 "2019-10-18T16:07:32Z")

</div>

If I setup policy only for roll over what will be the default rollover index name will be? my\_original\_index-00001 ?

---

## [Trouble running ElasticSearch with previous data after upgrade from 6.7 to 7.4 (through 6.8)](https://discuss.elastic.co/t/trouble-running-elasticsearch-with-previous-data-after-upgrade-from-6-7-to-7-4-through-6-8/203086)

<div class="topic-metadata">

**Author:** [@IdanLevi](https://discuss.elastic.co/u/IdanLevi)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 4:03pm UTC](https://discuss.elastic.co/t/trouble-running-elasticsearch-with-previous-data-after-upgrade-from-6-7-to-7-4-through-6-8/203086 "2019-10-18T16:03:31Z")

</div>

I had a local Ubuntu 18 on a Hyper-V machine with ES 6 installed. The path.data & path.logs are configured on a mounted external drive. The IT guys tried to upgrade it to 6.8, then to 7.4 but something went wrong (Kiba…

---

## [More like this not working](https://discuss.elastic.co/t/more-like-this-not-working/204153)

<div class="topic-metadata">

**Author:** [@Rick\_Choo](https://discuss.elastic.co/u/Rick_Choo)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 3:45pm UTC](https://discuss.elastic.co/t/more-like-this-not-working/204153 "2019-10-18T15:45:31Z")

</div>

Hi, following the more like this api document, I cannot get any returns even when I pass an exact term for search. Below is my code. PUT /test { "mappings": { "properties": { "title": { …

---

## [Histogram aggregation Elasticsearch](https://discuss.elastic.co/t/histogram-aggregation-elasticsearch/204241)

<div class="topic-metadata">

**Author:** [@sebastien\_goulet](https://discuss.elastic.co/u/sebastien_goulet)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 2:41pm UTC](https://discuss.elastic.co/t/histogram-aggregation-elasticsearch/204241 "2019-10-18T14:41:00Z")

</div>

Problem is described as it follows: I'am querying the number of documents of a given "type" attribute for a time interval, let say 1 week, i'am first having around 600 documents. On the other hand, i want to retrieve e…

---

## [How does Elastic's term index work?](https://discuss.elastic.co/t/how-does-elastics-term-index-work/204062)

<div class="topic-metadata">

**Author:** [@nico127](https://discuss.elastic.co/u/nico127)\
**Replies:** 7\
**Last updated:** [October 18, 2019, 2:36pm UTC](https://discuss.elastic.co/t/how-does-elastics-term-index-work/204062 "2019-10-18T14:36:21Z")

</div>

Hello folks, I'm currently trying to improve the performance of an Elastic cluster, which isn't easy because I'm no expert. The cluster is made of 6 data nodes and 3 master nodes, the 6 data nodes having 64G of memory (~…

---

## [Terms aggregation for emails list](https://discuss.elastic.co/t/terms-aggregation-for-emails-list/204222)

<div class="topic-metadata">

**Author:** [@isamzwuairi](https://discuss.elastic.co/u/isamzwuairi)\
**Replies:** 5\
**Last updated:** [October 18, 2019, 1:51pm UTC](https://discuss.elastic.co/t/terms-aggregation-for-emails-list/204222 "2019-10-18T13:51:03Z")

</div>

Hello all, I have problem with terms aggregation; the problem is when am trying to make an aggregation out of multiple lists of emails, elasticsearch is splitting the response in buckets.key by the "@" sign in the email…

---

## [Get all unique values of a field across documents](https://discuss.elastic.co/t/get-all-unique-values-of-a-field-across-documents/203882)

<div class="topic-metadata">

**Author:** [@decodeit](https://discuss.elastic.co/u/decodeit)\
**Replies:** 6\
**Last updated:** [October 18, 2019, 1:02pm UTC](https://discuss.elastic.co/t/get-all-unique-values-of-a-field-across-documents/203882 "2019-10-18T13:02:55Z")

</div>

so i have a field named subjects, it is an array. so I want to get all the values of subjects field in a particular index. should be about 300-400. Can someone suggest how to achieve this. I am doing this: GET /index/\_…

---

## [Synonyms update causes cluster to go red and become unrecoverable](https://discuss.elastic.co/t/synonyms-update-causes-cluster-to-go-red-and-become-unrecoverable/203503)

<div class="topic-metadata">

**Author:** [@imranazad](https://discuss.elastic.co/u/imranazad)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 11:27am UTC](https://discuss.elastic.co/t/synonyms-update-causes-cluster-to-go-red-and-become-unrecoverable/203503 "2019-10-18T11:27:56Z")

</div>

We have a 4 node cluster using elasticsearch-6.5.2 and recently we did a synonyms update which caused the cluster state to turn red for two indexes out of four. The initial error we discovered was due to the shard failin…

---

## [Faceting for array of dictionaries with elasticsearch-dsl Python](https://discuss.elastic.co/t/faceting-for-array-of-dictionaries-with-elasticsearch-dsl-python/204212)

<div class="topic-metadata">

**Author:** [@alstr](https://discuss.elastic.co/u/alstr)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 11:12am UTC](https://discuss.elastic.co/t/faceting-for-array-of-dictionaries-with-elasticsearch-dsl-python/204212 "2019-10-18T11:12:44Z")

</div>

I'm using elasticsearch-dsl to add search functionality to my Python/Django app. I'm pretty new to Elasticsearch and still learning as I go, but I have the base search functionality working. I'm now trying to implement …

---

## [Network Device Monitoring possible?](https://discuss.elastic.co/t/network-device-monitoring-possible/203613)

<div class="topic-metadata">

**Author:** [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 10:16am UTC](https://discuss.elastic.co/t/network-device-monitoring-possible/203613 "2019-10-18T10:16:25Z")

</div>

Is it possible to monitor network devices ( Switch , Router , link ) through ELK Stack ? Need to monitor the matrices cpu , ram and mem in Routers and switches .

---

## [Kibana SQL Query Index with -](https://discuss.elastic.co/t/kibana-sql-query-index-with/203668)

<div class="topic-metadata">

**Author:** [@Srini12](https://discuss.elastic.co/u/Srini12)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 9:14am UTC](https://discuss.elastic.co/t/kibana-sql-query-index-with/203668 "2019-10-18T09:14:51Z")

</div>

Good day, I have a wired situation, my elastic index name contains '-' (ex: my-index-2019) I am trying to query using sql syntax, but it complaining about the '-' in the index name. Any ideas.? how to sort out this. B…

---

## [Multisearch with array params](https://discuss.elastic.co/t/multisearch-with-array-params/203792)

<div class="topic-metadata">

**Author:** [@NAL](https://discuss.elastic.co/u/NAL)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 7:40am UTC](https://discuss.elastic.co/t/multisearch-with-array-params/203792 "2019-10-18T07:40:57Z")

</div>

Hello, I want to use multisearch request to search for multiple geo\_point. My problem is that I want to pass an array as parameter in "term" node but it doesn't works. I use a template : POST /\_scripts/my\_template\_3 …

---

## [Elasticsearch query equivalent to LDAP search](https://discuss.elastic.co/t/elasticsearch-query-equivalent-to-ldap-search/204178)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 7:05am UTC](https://discuss.elastic.co/t/elasticsearch-query-equivalent-to-ldap-search/204178 "2019-10-18T07:05:46Z")

</div>

base: "cn=schema" scope:0 dereference:3 sizelimit:0 timelimit:0 attrsonly:0 filter: "(objectClass=subschema)" attribute: "objectClasses" attribute: "attributeTypes" attribute: "matchingRules" attribute: "ldapSy…

---

## [Performance and Sizing Help and Insights](https://discuss.elastic.co/t/performance-and-sizing-help-and-insights/203846)

<div class="topic-metadata">

**Author:** [@cwade](https://discuss.elastic.co/u/cwade)\
**Replies:** 3\
**Last updated:** [October 16, 2019, 7:39pm UTC](https://discuss.elastic.co/t/performance-and-sizing-help-and-insights/203846 "2019-10-16T19:39:33Z")

</div>

Question: We are looking for some guidance or some commentary on our OpenDistro cluster which is deployed onto our Kubernetes infrastructure via Helm. I have noted the current configuration for the cluster below. While…

---

## [Nest 7 - Bulk Operations](https://discuss.elastic.co/t/nest-7-bulk-operations/204166)

<div class="topic-metadata">

**Author:** [@han1](https://discuss.elastic.co/u/han1)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 5:40am UTC](https://discuss.elastic.co/t/nest-7-bulk-operations/204166 "2019-10-18T05:40:13Z")

</div>

Can anyone help us in pointing us to documentation or give us a clue of how to write Bulk operations and actions (index, update etc) using NEST (in particular using scripts). Many thanks.

---

## [Aggregating on a nested field](https://discuss.elastic.co/t/aggregating-on-a-nested-field/203537)

<div class="topic-metadata">

**Author:** [@jagannathan\_rajagopa](https://discuss.elastic.co/u/jagannathan_rajagopa)\
**Replies:** 4\
**Last updated:** [October 18, 2019, 3:57am UTC](https://discuss.elastic.co/t/aggregating-on-a-nested-field/203537 "2019-10-18T03:57:37Z")

</div>

I have an elastic search schema as below. { "mappings": { "properties": { "process\_id": { "type": "keyword" }, "user\_info": { "type": "nested", "properties": { "…

---

## [Field alias in dynamic template](https://discuss.elastic.co/t/field-alias-in-dynamic-template/204159)

<div class="topic-metadata">

**Author:** [@jasony](https://discuss.elastic.co/u/jasony)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 3:34am UTC](https://discuss.elastic.co/t/field-alias-in-dynamic-template/204159 "2019-10-18T03:34:47Z")

</div>

Hello, Is it possible to put field alias in dynamic template? if so, can you please share some samples with field alias? I tried to find elastic document but couldn't find. FYI, currently I am working on below templat…

---

## [Forcing only certain nodes to perform coordination within a cluster](https://discuss.elastic.co/t/forcing-only-certain-nodes-to-perform-coordination-within-a-cluster/204120)

<div class="topic-metadata">

**Author:** [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Replies:** 2\
**Last updated:** [October 18, 2019, 1:12am UTC](https://discuss.elastic.co/t/forcing-only-certain-nodes-to-perform-coordination-within-a-cluster/204120 "2019-10-18T01:12:15Z")

</div>

My understanding is the node receiving the REST query will act as a coordinating node. Is this assumption false? What I'm trying to do is to force say 3 nodes to handle both ingest and coordinating functions. Those 3 …

---

## [Cluster drops several days after enabling tls/monitoring](https://discuss.elastic.co/t/cluster-drops-several-days-after-enabling-tls-monitoring/204146)

<div class="topic-metadata">

**Author:** [@Jesbourne](https://discuss.elastic.co/u/Jesbourne)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 12:49am UTC](https://discuss.elastic.co/t/cluster-drops-several-days-after-enabling-tls-monitoring/204146 "2019-10-18T00:49:17Z")

</div>

This weekend we enabled TLS on our cluster on port 9300 for cluster communications, as well as xpack monitoring, and we added a node to the cluster that runs kibana and elasticsearch as an ingest node. Every few days th…

---

## [Detect Keyword stuffing](https://discuss.elastic.co/t/detect-keyword-stuffing/204138)

<div class="topic-metadata">

**Author:** [@royal\_man](https://discuss.elastic.co/u/royal_man)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 10:12pm UTC](https://discuss.elastic.co/t/detect-keyword-stuffing/204138 "2019-10-17T22:12:41Z")

</div>

Can someone guide me how to resolve the issue of keyword stuffing in documents. I want to identify if the document has keyword stuffing and give a negative boost in the ranking. Please tell me how to solve this in Elas…

---

## [Highlight each span\_term with a different tag](https://discuss.elastic.co/t/highlight-each-span-term-with-a-different-tag/204136)

<div class="topic-metadata">

**Author:** [@anycolife](https://discuss.elastic.co/u/anycolife)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 10:08pm UTC](https://discuss.elastic.co/t/highlight-each-span-term-with-a-different-tag/204136 "2019-10-17T22:08:35Z")

</div>

Is it possible to highlight each span\_term with a different tag? For example: PUT /my\_index/\_doc/1 { "text": "my interesting book" } then: GET /my\_index/\_search { "query": { "span\_near": { "clauses": \[ …

---

## [ZoneDataTime error on query but not injest for pipeline](https://discuss.elastic.co/t/zonedatatime-error-on-query-but-not-injest-for-pipeline/204110)

<div class="topic-metadata">

**Author:** [@dlaprade](https://discuss.elastic.co/u/dlaprade)\
**Replies:** 2\
**Last updated:** [October 17, 2019, 10:06pm UTC](https://discuss.elastic.co/t/zonedatatime-error-on-query-but-not-injest-for-pipeline/204110 "2019-10-17T22:06:06Z")

</div>

Elasticsearch version tested: 7.1.1 7.2.0 Index mapping field: "releaseDate" : { "type" : "date", "format" : "yyyy-MM-dd'T'HH:mm:ssXXX" }, Pipeline: { …

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

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