# Elasticsearch

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

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

**Page:** 1458

---

## [Mapping conflict after upgrading from 6.4.0 to 6.5.2](https://discuss.elastic.co/t/mapping-conflict-after-upgrading-from-6-4-0-to-6-5-2/160269)

<div class="topic-metadata">

**Author:** [@popa](https://discuss.elastic.co/u/popa)\
**Replies:** 0\
**Last updated:** [December 11, 2018, 1:27am UTC](https://discuss.elastic.co/t/mapping-conflict-after-upgrading-from-6-4-0-to-6-5-2/160269 "2018-12-11T01:27:15Z")

</div>

I've recently updated my Elastic Stack from 6.4.0 to 6.5.1 and then 6.5.2 and now I have some mapping conflicts. For the most part everything went well when using the rolling upgrade documentation. I did experience some…

---

## [Elasttic search upgraded from 6.2.2 to 6.5.2](https://discuss.elastic.co/t/elasttic-search-upgraded-from-6-2-2-to-6-5-2/160243)

<div class="topic-metadata">

**Author:** [@shani\_angarkadu](https://discuss.elastic.co/u/shani_angarkadu)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 10:17pm UTC](https://discuss.elastic.co/t/elasttic-search-upgraded-from-6-2-2-to-6-5-2/160243 "2018-12-10T22:17:12Z")

</div>

Urgent, Hi I have installed new elastic search 6.5.2 and moved the old data from 6.2 restarted the elastic search all the previous indices are migrated and the elastic health is yellow, But whenever I create a new in…

---

## [Question about Rolling Upgrade](https://discuss.elastic.co/t/question-about-rolling-upgrade/160253)

<div class="topic-metadata">

**Author:** [@samwzm](https://discuss.elastic.co/u/samwzm)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 10:13pm UTC](https://discuss.elastic.co/t/question-about-rolling-upgrade/160253 "2018-12-10T22:13:14Z")

</div>

Hi, there, We have a ES cluster with version 6.3.2. We have three separate Master nodes and two hot data nodes. We want to roll upgrade to latest version 6.5.1. We followed below instruction: https://www.elastic.co/gui…

---

## [Architecting cluster for fast searching](https://discuss.elastic.co/t/architecting-cluster-for-fast-searching/159777)

<div class="topic-metadata">

**Author:** [@some\_dood](https://discuss.elastic.co/u/some_dood)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 9:22pm UTC](https://discuss.elastic.co/t/architecting-cluster-for-fast-searching/159777 "2018-12-10T21:22:59Z")

</div>

I am trying to architect a cluster optimized for search speed. Right now we have three dedicated data nodes on bare metal, each with 64 cores, 755GB RAM, and 15TB SSD's along with 3 dedicated master nodes on VMs (4 cores…

---

## [Thread\_pool/bulk node\_stat replaced by?](https://discuss.elastic.co/t/thread-pool-bulk-node-stat-replaced-by/160219)

<div class="topic-metadata">

**Author:** [@Maxime\_Poirier-Journ](https://discuss.elastic.co/u/Maxime_Poirier-Journ)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 9:11pm UTC](https://discuss.elastic.co/t/thread-pool-bulk-node-stat-replaced-by/160219 "2018-12-10T21:11:53Z")

</div>

We were monitoring node\_stats on GET /\_nodes/node\_ip/stats/thread\_pool/bulk before we've updated to ES 6.3.1 and it seems that the metric does not exists anymore. Was this metric replaced by another one so I can modify m…

---

## [Update fields of a doc from another doc according to key field](https://discuss.elastic.co/t/update-fields-of-a-doc-from-another-doc-according-to-key-field/160240)

<div class="topic-metadata">

**Author:** [@dnz](https://discuss.elastic.co/u/dnz)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 8:04pm UTC](https://discuss.elastic.co/t/update-fields-of-a-doc-from-another-doc-according-to-key-field/160240 "2018-12-10T20:04:05Z")

</div>

Hello, I have one type of doc. Each doc has a filled field, "guid". And on some of the docs the field "operationName" is filled, any on the others this field is empty. I need to update this empty "operationName" field a…

---

## [Invalid synonym rule when using two files](https://discuss.elastic.co/t/invalid-synonym-rule-when-using-two-files/158603)

<div class="topic-metadata">

**Author:** [@Bilal](https://discuss.elastic.co/u/Bilal)\
**Replies:** 4\
**Last updated:** [December 10, 2018, 7:48pm UTC](https://discuss.elastic.co/t/invalid-synonym-rule-when-using-two-files/158603 "2018-12-10T19:48:44Z")

</div>

I have two synonyms files with few thousand lines, here is the sample causing the problem: en\_synonyms file : cereal, semolina, wheat fr\_synonyms file : ble, cereale, wheat This is the error I got : { "error": { …

---

## [Input Output Error when creating snapshot](https://discuss.elastic.co/t/input-output-error-when-creating-snapshot/160231)

<div class="topic-metadata">

**Author:** [@Andres\_Gonzalez](https://discuss.elastic.co/u/Andres_Gonzalez)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 5:54pm UTC](https://discuss.elastic.co/t/input-output-error-when-creating-snapshot/160231 "2018-12-10T17:54:32Z")

</div>

We are trying to add a Windows Shared Folder as the repository location for a Single Node Elasticsearch Instance that is running on SUSE SLES. However once we try to create a new snapshot we get the following error: \[…

---

## [Search multifield using cross\_fields with one untokenizer field](https://discuss.elastic.co/t/search-multifield-using-cross-fields-with-one-untokenizer-field/160232)

<div class="topic-metadata">

**Author:** [@Claudio\_Ranieri](https://discuss.elastic.co/u/Claudio_Ranieri)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 6:09pm UTC](https://discuss.elastic.co/t/search-multifield-using-cross-fields-with-one-untokenizer-field/160232 "2018-12-10T18:09:34Z")

</div>

Hi, Our system is based on searching on multiple fields, such as: category, spec, name of product, among others. This way we can adjust our relevance by boost on field. The users can search for "tv 60 inches". In this c…

---

## [Snapshot newly created indices](https://discuss.elastic.co/t/snapshot-newly-created-indices/159428)

<div class="topic-metadata">

**Author:** [@rpendela](https://discuss.elastic.co/u/rpendela)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 5:46pm UTC](https://discuss.elastic.co/t/snapshot-newly-created-indices/159428 "2018-12-10T17:46:26Z")

</div>

Hello Community, I have quick question on Curator snapshot. I configured curator and working fine. Now I want to take snapshot on daily basis but delete snapshots on server for every 90days. so here is my current actio…

---

## [Disable monitoring exporters](https://discuss.elastic.co/t/disable-monitoring-exporters/158308)

<div class="topic-metadata">

**Author:** [@saif](https://discuss.elastic.co/u/saif)\
**Replies:** 17\
**Last updated:** [December 10, 2018, 5:33pm UTC](https://discuss.elastic.co/t/disable-monitoring-exporters/158308 "2018-12-10T17:33:49Z")

</div>

Hello, i need to disable monitoring exporters and set the monitoring to default setting GET /\_cluster/settings { "persistent" : { "xpack" : { "monitoring" : { "elasticsearch" : { "collect…

---

## [Bulk API Documentation update request](https://discuss.elastic.co/t/bulk-api-documentation-update-request/160039)

<div class="topic-metadata">

**Author:** [@Jamalarm](https://discuss.elastic.co/u/Jamalarm)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 5:08pm UTC](https://discuss.elastic.co/t/bulk-api-documentation-update-request/160039 "2018-12-10T17:08:42Z")

</div>

Hi Guys, I'm writing component at the moment that is basically a glorified ingest pipeline. We use the \_bulk endpoint extensively. Currently, just prior to invocation, we store a map of \_index+\_id -\> document and then c…

---

## [Updating old logs after changing logstash importation](https://discuss.elastic.co/t/updating-old-logs-after-changing-logstash-importation/160221)

<div class="topic-metadata">

**Author:** [@GitsBdr](https://discuss.elastic.co/u/GitsBdr)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 4:54pm UTC](https://discuss.elastic.co/t/updating-old-logs-after-changing-logstash-importation/160221 "2018-12-10T16:54:16Z")

</div>

Hi all and thanks for your help, I recently needed to change my logstash config to import my logs into elasticsearch with a new field name. I'm reading those logs from a csv file, and in the filter config section I hav…

---

## [Refresh store stats](https://discuss.elastic.co/t/refresh-store-stats/160200)

<div class="topic-metadata">

**Author:** [@YuvalPruss](https://discuss.elastic.co/u/YuvalPruss)\
**Replies:** 3\
**Last updated:** [December 10, 2018, 4:43pm UTC](https://discuss.elastic.co/t/refresh-store-stats/160200 "2018-12-10T16:43:00Z")

</div>

Hi, I opened this issue in the ES github: Elasticsearch store.size and pri.store.size does not updated after creating an index · Issue #36274 · elastic/elasticsearch · GitHub Shortly, I had this problem: When I'm cre…

---

## [Curator, create index, dynamic name](https://discuss.elastic.co/t/curator-create-index-dynamic-name/160217)

<div class="topic-metadata">

**Author:** [@hage42](https://discuss.elastic.co/u/hage42)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 4:37pm UTC](https://discuss.elastic.co/t/curator-create-index-dynamic-name/160217 "2018-12-10T16:37:21Z")

</div>

Can the index-name, to be set inside of a "create\_index" - Action be created dynamically? Like name: staticText-\<$date\> or name: staticText-\<$PrefixOfIndexXY\> ?

---

## [Query with multiple has\_children clauses](https://discuss.elastic.co/t/query-with-multiple-has-children-clauses/159987)

<div class="topic-metadata">

**Author:** [@Andrew\_Hackley](https://discuss.elastic.co/u/Andrew_Hackley)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 4:26pm UTC](https://discuss.elastic.co/t/query-with-multiple-has-children-clauses/159987 "2018-12-10T16:26:08Z")

</div>

I'd like to know if it's possible to have multiple has\_children clauses in one query. I've not been able to get it to work. Here's an example of what I'm trying: GET test-index/\_search { "query": { "bool": { …

---

## [How to find distinct of 2 terms in ElasticSearch](https://discuss.elastic.co/t/how-to-find-distinct-of-2-terms-in-elasticsearch/160212)

<div class="topic-metadata">

**Author:** [@murtazahzaveri](https://discuss.elastic.co/u/murtazahzaveri)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 4:12pm UTC](https://discuss.elastic.co/t/how-to-find-distinct-of-2-terms-in-elasticsearch/160212 "2018-12-10T16:12:04Z")

</div>

I want to retrieve distinct value from document in elasticsearch on 2 terms... for example: my documents has department and College...so if i am searching on any state name so i should get distinct values based on both …

---

## [Extract \_id's of matching documents](https://discuss.elastic.co/t/extract-ids-of-matching-documents/159970)

<div class="topic-metadata">

**Author:** [@nonagon](https://discuss.elastic.co/u/nonagon)\
**Replies:** 2\
**Last updated:** [December 10, 2018, 3:25pm UTC](https://discuss.elastic.co/t/extract-ids-of-matching-documents/159970 "2018-12-10T15:25:53Z")

</div>

Hi, I'm trying to extract a list of matching documents for simple single-word queries, and I only need the document \_id's. I'm running Elasticsearch 6.4.3 on a machine with 64GB RAM (I've given Elasticsearch 31GB). My d…

---

## [Error when testing sample about Security Extensions and Custom Realms from Elasticsearch blog post](https://discuss.elastic.co/t/error-when-testing-sample-about-security-extensions-and-custom-realms-from-elasticsearch-blog-post/159683)

<div class="topic-metadata">

**Author:** [@Uiidoi12](https://discuss.elastic.co/u/Uiidoi12)\
**Replies:** 3\
**Last updated:** [December 10, 2018, 1:44pm UTC](https://discuss.elastic.co/t/error-when-testing-sample-about-security-extensions-and-custom-realms-from-elasticsearch-blog-post/159683 "2018-12-10T13:44:15Z")

</div>

Hi, I followed steps from this blog post and tried the following commands to test, after installing the plugin on my Elasticsearch instance: $ curl 'localhost:9200/webstore-45/\_doc/1' -d '{ "name":"store-45-item-1" }' …

---

## [Multi Match query with one field of edge n-grams and another field of stemmed terms](https://discuss.elastic.co/t/multi-match-query-with-one-field-of-edge-n-grams-and-another-field-of-stemmed-terms/160184)

<div class="topic-metadata">

**Author:** [@marvalben](https://discuss.elastic.co/u/marvalben)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 1:36pm UTC](https://discuss.elastic.co/t/multi-match-query-with-one-field-of-edge-n-grams-and-another-field-of-stemmed-terms/160184 "2018-12-10T13:36:03Z")

</div>

Hi All, Been doing a lot of research and I think I may have a solution, but I’m looking for some “best practice” advise! I have a document with 2 fields (name and description). Both fields use the standard tokeniser bu…

---

## [Using Parent-Child Rleatioshio with Join](https://discuss.elastic.co/t/using-parent-child-rleatioshio-with-join/154135)

<div class="topic-metadata">

**Author:** [@rahulnama](https://discuss.elastic.co/u/rahulnama)\
**Replies:** 13\
**Last updated:** [December 10, 2018, 1:26pm UTC](https://discuss.elastic.co/t/using-parent-child-rleatioshio-with-join/154135 "2018-12-10T13:26:32Z")

</div>

Hi Team I've indexed pdf's page by page. Now to maintain book(parent)-page(child) relationship what is the advantage of using joins? Now, url of the book stored in file system is also one of the field in my mappings. …

---

## [Feedback wanted: lead - a CLI tool to manage watches/alerts](https://discuss.elastic.co/t/feedback-wanted-lead-a-cli-tool-to-manage-watches-alerts/160173)

<div class="topic-metadata">

**Author:** [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 12:57pm UTC](https://discuss.elastic.co/t/feedback-wanted-lead-a-cli-tool-to-manage-watches-alerts/160173 "2018-12-10T12:57:14Z")

</div>

Hey, This is a call for feedback for a small CLI tool I prototyped (it's really just that, not anything production ready). When managing watches, Elasticsearch assumes, that you put those watches via the API and from t…

---

## [How to call elastic search url under our application when we have 2+1 elastic search cluster Setup on windows](https://discuss.elastic.co/t/how-to-call-elastic-search-url-under-our-application-when-we-have-2-1-elastic-search-cluster-setup-on-windows/160162)

<div class="topic-metadata">

**Author:** [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 12:07pm UTC](https://discuss.elastic.co/t/how-to-call-elastic-search-url-under-our-application-when-we-have-2-1-elastic-search-cluster-setup-on-windows/160162 "2018-12-10T12:07:25Z")

</div>

Hi, We have 2+1 Elastic search Clustering setup on windows server. here how we can call elastic search URL under our application? so that any one node get fail and still we can have connection to Elastic cache, just…

---

## [How to migrate master nodes to use persistent volume in kubernetes env](https://discuss.elastic.co/t/how-to-migrate-master-nodes-to-use-persistent-volume-in-kubernetes-env/159140)

<div class="topic-metadata">

**Author:** [@wangywy](https://discuss.elastic.co/u/wangywy)\
**Replies:** 3\
**Last updated:** [December 10, 2018, 10:15am UTC](https://discuss.elastic.co/t/how-to-migrate-master-nodes-to-use-persistent-volume-in-kubernetes-env/159140 "2018-12-10T10:15:01Z")

</div>

Hi all, Our local ES cluster is running in k8s env, with 3 client/ingest pods, 3 data pods and 3 master pods. Previously we only assigned the persistent volume to data pods, now we think better to assign persistent vol…

---

## [Key annotations and annotation types](https://discuss.elastic.co/t/key-annotations-and-annotation-types/159989)

<div class="topic-metadata">

**Author:** [@15hawai15](https://discuss.elastic.co/u/15hawai15)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 9:47am UTC](https://discuss.elastic.co/t/key-annotations-and-annotation-types/159989 "2018-12-10T09:47:35Z")

</div>

Can someone please explain what are the keys and also key annotations and key annotations types and give me some example ?

---

## ["Bootstrap check failed" still a mystery?](https://discuss.elastic.co/t/bootstrap-check-failed-still-a-mystery/159957)

<div class="topic-metadata">

**Author:** [@Nikhil\_Jaiswal](https://discuss.elastic.co/u/Nikhil_Jaiswal)\
**Replies:** 11\
**Last updated:** [December 10, 2018, 9:37am UTC](https://discuss.elastic.co/t/bootstrap-check-failed-still-a-mystery/159957 "2018-12-10T09:37:17Z")

</div>

Hi, I read many threads related to "Bootstrap check failed" but didn't get any solution. I am using elasticsearch for production environment. below is my ES configuration clustername: elasticsearch node.name: xyz nod…

---

## [Query search or keyword search failed on nested datatype field elasticsearch6.3.1](https://discuss.elastic.co/t/query-search-or-keyword-search-failed-on-nested-datatype-field-elasticsearch6-3-1/159863)

<div class="topic-metadata">

**Author:** [@Vishnu\_P\_S](https://discuss.elastic.co/u/Vishnu_P_S)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 9:35am UTC](https://discuss.elastic.co/t/query-search-or-keyword-search-failed-on-nested-datatype-field-elasticsearch6-3-1/159863 "2018-12-10T09:35:45Z")

</div>

I am using elasticsearch version 6.3.1, previously I was using elasticsearch version 5.6.6. I have an index with fields of simple datatype as well as with nested type. In 5.6.6 if I search with keywords, it will return r…

---

## [How to filter the results based on protocol](https://discuss.elastic.co/t/how-to-filter-the-results-based-on-protocol/160060)

<div class="topic-metadata">

**Author:** [@anveshdd](https://discuss.elastic.co/u/anveshdd)\
**Replies:** 1\
**Last updated:** [December 10, 2018, 9:17am UTC](https://discuss.elastic.co/t/how-to-filter-the-results-based-on-protocol/160060 "2018-12-10T09:17:44Z")

</div>

Working on ES 6.4.2. How can I filter the below results. \`Title: Some TITLE Description:A Storm application is designed as a "topology" in the shape of a directed acyclic graph (DAG) with spouts and bolts acting as the…

---

## [I cann't search Persian (Farsi) in es](https://discuss.elastic.co/t/i-cannt-search-persian-farsi-in-es/160127)

<div class="topic-metadata">

**Author:** [@Hossein\_Ghaheri](https://discuss.elastic.co/u/Hossein_Ghaheri)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 9:06am UTC](https://discuss.elastic.co/t/i-cannt-search-persian-farsi-in-es/160127 "2018-12-10T09:06:10Z")

</div>

Hi, The language of my documents is Persian. Now when I search with Persian language , I don't get any results. my index name is : 'course\_cats' and results of GET 'http://localhost:9200/course\_cats' is as follow : …

---

## [How to modify default \_score to 0?](https://discuss.elastic.co/t/how-to-modify-default-score-to-0/160111)

<div class="topic-metadata">

**Author:** [@920663d69ffd7d4add49](https://discuss.elastic.co/u/920663d69ffd7d4add49)\
**Replies:** 3\
**Last updated:** [December 10, 2018, 8:57am UTC](https://discuss.elastic.co/t/how-to-modify-default-score-to-0/160111 "2018-12-10T08:57:49Z")

</div>

I tried function\_score query with some filters whose weights are less than 1. However, the max\_score of the result is 1 by default (documents matches none of the filters are scored 1 by default).

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

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