# Missing Mapping caused by an updated Translation file - Possible to Reindex without Restart all?

**URL:** https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895
**Category:** Logstash
**Created:** [January 27, 2019, 11:25am UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895 "2019-01-27T11:25:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)
#### Post date: [January 27, 2019, 11:25am UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/1 "2019-01-27T11:25:12Z")

</div>

Hi there,

I just checked the ES Put Mapping API but that's like "Böhmische Dörfer" for me atm.  
What I try to do is following:

My ES Index name = "dict\_c"

In my logstash conf:

```
translate {
    		field => "[Präfix_Country]"
    		destination => "[Country_New]"
    		override => true
    		dictionary_path => "C:/dict/dict_countrys.csv"
    		}  

```

Now, the translation file will be updated sometime.  
Let's say:

from "+049","DE"  
to "+049","GERMANY"

And thats my missing link 🙂  
How to reindex or re-mapping [Country\_New] on this specific task wihout restart all.  
The Documentation is not giving me the right hint, honestly, I didn't understand it that well at this point either.

Thanks for any help and Regards

---

<div class="post-metadata">

### Author: ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)
#### Post date: [January 29, 2019, 11:07am UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/2 "2019-01-29T11:07:01Z")

</div>

Do you mean, go back into the ES documents indexed with the old value and change it to the new value?

---

<div class="post-metadata">

### Author: ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)
#### Post date: [January 30, 2019, 7:44am UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/3 "2019-01-30T07:44:24Z")

</div>

Hi,  
yes this is what I want to achive!  
No structure adjustments or changes, just the values of extisting fields of an existing index.

Thanks

---

<div class="post-metadata">

### Author: ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)
#### Post date: [January 30, 2019, 12:19pm UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/4 "2019-01-30T12:19:46Z")

</div>

In another pipeline, you will need to use the Elasticsearch Input to query for the docs that have the old value, push them through the translate filter again and do an update on the Elasticsearch output.

By what mechanism is the translate dictionary updated?

---

<div class="post-metadata">

### Author: ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)
#### Post date: [February 4, 2019, 10:06am UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/5 "2019-02-04T10:06:13Z")

</div>

Hi,  
ok I'll do as per your instructions.  
There is a master csv and the files will be simply replaced of it.

---

<div class="post-metadata">

### Author: ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)
#### Post date: [February 4, 2019, 10:14am UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/6 "2019-02-04T10:14:09Z")

</div>

I mean is the master CSV file updated by a human or a script? What triggers the update?  
Do you record the date/time the update is done - you only need to re-index docs ingested before that date/time.  
What will you do about really old records that have a looked up value from the master CSV file three (more) updates ago?  
You only need to run the reindex LS pipeline once after each update to the master CSV file, how will you do this? Via config reloading, Centralised Pipeline Management or manually starting up a LS instance?

---

<div class="post-metadata">

### Author: ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)
#### Post date: [February 11, 2019, 12:28pm UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/7 "2019-02-11T12:28:58Z")

</div>

Hi,  
sorry for absence!  
The files will be updated manually.  
Fully undertstand your advice.  
Its in (learning) progress, will come back if I have more questions.  
Regards

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 11, 2019, 12:28pm UTC](https://discuss.elastic.co/t/missing-mapping-caused-by-an-updated-translation-file-possible-to-reindex-without-restart-all/165895/8 "2019-03-11T12:28:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
