# \#reindex

**URL:** https://discuss.elastic.co/tag/reindex/84.md?page=1

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

**Page:** 2

---

## [Change type of mapping field without reindex?](https://discuss.elastic.co/t/change-type-of-mapping-field-without-reindex/360299)

<div class="topic-metadata">

**Author:** [@Chenko](https://discuss.elastic.co/u/Chenko)\
**Replies:** 1\
**Last updated:** [May 27, 2024, 11:02pm UTC](https://discuss.elastic.co/t/change-type-of-mapping-field-without-reindex/360299 "2024-05-27T23:02:26Z")

</div>

Hello, I was wondering what the best way to change the index mapping is? Let's say we have an indice that has a field date however this field is of type text. (This field does however have a subfield of .date with type…

---

## [How to rollover data stream during reindex](https://discuss.elastic.co/t/how-to-rollover-data-stream-during-reindex/359765)

<div class="topic-metadata">

**Author:** [@jacob.k](https://discuss.elastic.co/u/jacob.k)\
**Replies:** 1\
**Last updated:** [May 19, 2024, 3:42pm UTC](https://discuss.elastic.co/t/how-to-rollover-data-stream-during-reindex/359765 "2024-05-19T15:42:15Z")

</div>

I have an index with size 5gb. I would like to reindex it to a data stream with rollover policy of max size 1gb and 7 days. This is my policy PUT \_ilm/policy/jacob\_policy { "policy": { "phases": { "hot": {…

---

## [Cannot write after reindex](https://discuss.elastic.co/t/cannot-write-after-reindex/359690)

<div class="topic-metadata">

**Author:** [@hfd1927228](https://discuss.elastic.co/u/hfd1927228)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 9:29am UTC](https://discuss.elastic.co/t/cannot-write-after-reindex/359690 "2024-05-17T09:29:14Z")

</div>

I want to reindex an index,and then \_aliases. after execute \_reindex,it looks ok,but after execute \_aliases,all the index can not write, and query is timeout.include the other indexes in the cluster. so I rollback,it re…

---

## [Reindex performance](https://discuss.elastic.co/t/reindex-performance/359362)

<div class="topic-metadata">

**Author:** [@post90](https://discuss.elastic.co/u/post90)\
**Replies:** 2\
**Last updated:** [May 15, 2024, 7:13am UTC](https://discuss.elastic.co/t/reindex-performance/359362 "2024-05-15T07:13:26Z")

</div>

I want to move subset of data from one index to another (could be same cluster or different). What are the advantages of using a \_reindex API instead of simply indexing the required data via logstash from the origin of d…

---

## [Post Upgrade - To REINDEX or not to REINDEX](https://discuss.elastic.co/t/post-upgrade-to-reindex-or-not-to-reindex/359179)

<div class="topic-metadata">

**Author:** [@peledc](https://discuss.elastic.co/u/peledc)\
**Replies:** 0\
**Last updated:** [May 9, 2024, 12:26pm UTC](https://discuss.elastic.co/t/post-upgrade-to-reindex-or-not-to-reindex/359179 "2024-05-09T12:26:57Z")

</div>

This is more of general "Best Practice" question: We have a 1TB of data in our ES7 indices. We intend to upgrade it to version 8.xx Question is - Should we REINDEX existing indices (which were created in version 7.xx)…

---

## [Missing documents when using re-index API](https://discuss.elastic.co/t/missing-documents-when-using-re-index-api/358824)

<div class="topic-metadata">

**Author:** [@SamehSaeed](https://discuss.elastic.co/u/SamehSaeed)\
**Replies:** 10\
**Last updated:** [May 8, 2024, 10:34am UTC](https://discuss.elastic.co/t/missing-documents-when-using-re-index-api/358824 "2024-05-08T10:34:12Z")

</div>

Hello, I'm facing an issue while using re-index API. Currently we have 1 index per day of data which leaves is with just 100 days of data visible on the dashboard (cuz of the data view limitation) so I was trying to re…

---

## [Forcemerge of index with vectors takes long, many hours or forever](https://discuss.elastic.co/t/forcemerge-of-index-with-vectors-takes-long-many-hours-or-forever/356818)

<div class="topic-metadata">

**Author:** [@Yolga.Ai](https://discuss.elastic.co/u/Yolga.Ai)\
**Replies:** 2\
**Last updated:** [April 15, 2024, 4:05pm UTC](https://discuss.elastic.co/t/forcemerge-of-index-with-vectors-takes-long-many-hours-or-forever/356818 "2024-04-15T16:05:42Z")

</div>

I have two big problems where we try to index \>100mln ob documents with vector field: big problems with forcemerge in indices with dense\_vector field inside it. Sometimes it takes to forcmerge from 15-20 segments to 5 …

---

## [Create a new indices for each random directory](https://discuss.elastic.co/t/create-a-new-indices-for-each-random-directory/357329)

<div class="topic-metadata">

**Author:** [@Sandeep\_Baljepally](https://discuss.elastic.co/u/Sandeep_Baljepally)\
**Replies:** 3\
**Last updated:** [April 13, 2024, 7:22am UTC](https://discuss.elastic.co/t/create-a-new-indices-for-each-random-directory/357329 "2024-04-13T07:22:45Z")

</div>

Hi Team, I have a requirement to create randomly generated directories from scripts to create separate indices i.e /mnt/data/logger/xyz/xyz-1.1.1.1 and /mnt/data/logger/xyz/xyz-1.2.1.1 here xyz-x.x.x.x these are gen…

---

## [What is an easy way to convert an index to an alias that gets rolled over by ILM?](https://discuss.elastic.co/t/what-is-an-easy-way-to-convert-an-index-to-an-alias-that-gets-rolled-over-by-ilm/356926)

<div class="topic-metadata">

**Author:** [@jerrac](https://discuss.elastic.co/u/jerrac)\
**Replies:** 2\
**Last updated:** [April 8, 2024, 5:39pm UTC](https://discuss.elastic.co/t/what-is-an-easy-way-to-convert-an-index-to-an-alias-that-gets-rolled-over-by-ilm/356926 "2024-04-08T17:39:39Z")

</div>

So, during maintenance Friday evening I found that one of my indexes is well over 300-400GB in size and is using up most of my disk space. I had messed up the configuration of the index/alias I have Filebeat pointed at.…

---

## [Reindex remote cluster connection timeout](https://discuss.elastic.co/t/reindex-remote-cluster-connection-timeout/356922)

<div class="topic-metadata">

**Author:** [@neoaddix](https://discuss.elastic.co/u/neoaddix)\
**Replies:** 4\
**Last updated:** [April 8, 2024, 6:19am UTC](https://discuss.elastic.co/t/reindex-remote-cluster-connection-timeout/356922 "2024-04-08T06:19:02Z")

</div>

I'm trying to reindex an index from a remote cluster POST \_reindex?wait\_for\_completion=false { "source": { "remote": { "host": "https://remote-cluster.eu-west-1.aws.found.io:9200", "username": "xxx", …

---

## [Possible ways to allow write on restricted indies in v8.x](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508)

<div class="topic-metadata">

**Author:** [@Mahdi\_Moazami](https://discuss.elastic.co/u/Mahdi_Moazami)\
**Replies:** 3\
**Last updated:** [April 1, 2024, 6:18am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508 "2024-04-01T06:18:54Z")

</div>

Hi there, I have migrated my data from cluster version 7.8 to new cluster version 8. now I want to transfer my pipelines from old cluster to new one. the problem is that in version 8 the .logstash index is restricted an…

---

## [Reindex large index](https://discuss.elastic.co/t/reindex-large-index/356450)

<div class="topic-metadata">

**Author:** [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Replies:** 0\
**Last updated:** [March 29, 2024, 9:26am UTC](https://discuss.elastic.co/t/reindex-large-index/356450 "2024-03-29T09:26:53Z")

</div>

Today I was faced with a reindex due to a question of deleting a field, plus a change in the mapping of the datetime field that I had planned. I have done it with PHP. 42 million docs passed, even though the process la…

---

## [Reindex issue](https://discuss.elastic.co/t/reindex-issue/355772)

<div class="topic-metadata">

**Author:** [@Alan\_Hsiao](https://discuss.elastic.co/u/Alan_Hsiao)\
**Replies:** 5\
**Last updated:** [March 20, 2024, 6:46am UTC](https://discuss.elastic.co/t/reindex-issue/355772 "2024-03-20T06:46:07Z")

</div>

I have some issue while I am reindex this is my result of reindex when I use GET my\_index in devtool my data show this Does \_source enabled false made my reindex fall? How can I fix it?

---

## [Reindex api is not copying the \_ignored field values from source index](https://discuss.elastic.co/t/reindex-api-is-not-copying-the-ignored-field-values-from-source-index/355316)

<div class="topic-metadata">

**Author:** [@rkbbce](https://discuss.elastic.co/u/rkbbce)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 2:40pm UTC](https://discuss.elastic.co/t/reindex-api-is-not-copying-the-ignored-field-values-from-source-index/355316 "2024-03-13T14:40:02Z")

</div>

Hello Folks, I am trying to reindex the app search documents index from older version of es v7.17 to v8.8 but the target index is not maintaining the same \_ignored field value as source index. do we have any options in…

---

## [Reindex throttled after a few hours](https://discuss.elastic.co/t/reindex-throttled-after-a-few-hours/355059)

<div class="topic-metadata">

**Author:** [@elijah\_voigt](https://discuss.elastic.co/u/elijah_voigt)\
**Replies:** 3\
**Last updated:** [March 11, 2024, 4:45pm UTC](https://discuss.elastic.co/t/reindex-throttled-after-a-few-hours/355059 "2024-03-11T16:45:42Z")

</div>

I am on my 3rd attempt at re-indexing an index. The re-index task reliably demonstrates the following failure mode: The re-index task starts with high throughput, processing ~12,000 documents per second. After ~12-24 h…

---

## [Snapshot/Restore VS ReIndexing - Missing documents, zero failures](https://discuss.elastic.co/t/snapshot-restore-vs-reindexing-missing-documents-zero-failures/354448)

<div class="topic-metadata">

**Author:** [@Joao\_Barreto](https://discuss.elastic.co/u/Joao_Barreto)\
**Replies:** 26\
**Last updated:** [March 5, 2024, 10:38am UTC](https://discuss.elastic.co/t/snapshot-restore-vs-reindexing-missing-documents-zero-failures/354448 "2024-03-05T10:38:04Z")

</div>

Hi everyone. A few weeks ago I created a post regarding a data migration I have to do in a customer with a Platinum License. The conclusion was that I needed to go from elastic 6 to 7 then to 8.12 in order to have the d…

---

## [Create alias index that assigns alias names to fields in original index?](https://discuss.elastic.co/t/create-alias-index-that-assigns-alias-names-to-fields-in-original-index/354556)

<div class="topic-metadata">

**Author:** [@permaweb](https://discuss.elastic.co/u/permaweb)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 4:36am UTC](https://discuss.elastic.co/t/create-alias-index-that-assigns-alias-names-to-fields-in-original-index/354556 "2024-03-02T04:36:47Z")

</div>

Hello, I have a large index with very specific field mapping that would not be easy to change. We have an application the requires specific field names for the data it uses. For example our main index has a field "fea…

---

## [Crea index with new fields](https://discuss.elastic.co/t/crea-index-with-new-fields/353157)

<div class="topic-metadata">

**Author:** [@goncalobsantos](https://discuss.elastic.co/u/goncalobsantos)\
**Replies:** 1\
**Last updated:** [February 21, 2024, 12:17pm UTC](https://discuss.elastic.co/t/crea-index-with-new-fields/353157 "2024-02-21T12:17:09Z")

</div>

I have an index that contains 1 document. This document has a field1 with value "B" and a field2 with value "C, D, E" (that is, the value in field2 is comma separated and can have variable lenght). I want to create a …

---

## [Add context to suggestions field while re-indexing](https://discuss.elastic.co/t/add-context-to-suggestions-field-while-re-indexing/353407)

<div class="topic-metadata">

**Author:** [@dat\_boi](https://discuss.elastic.co/u/dat_boi)\
**Replies:** 6\
**Last updated:** [February 16, 2024, 7:18pm UTC](https://discuss.elastic.co/t/add-context-to-suggestions-field-while-re-indexing/353407 "2024-02-16T19:18:25Z")

</div>

so i'v been trying to add suggester to my old index which had docs with the fields -name --\> text -category --\> long -status --\> long i created a new index with the same mapping as the old one and i add the suggestio…

---

## [Reindex multiple indices - missing data stream](https://discuss.elastic.co/t/reindex-multiple-indices-missing-data-stream/352002)

<div class="topic-metadata">

**Author:** [@Oscar\_Yerpes](https://discuss.elastic.co/u/Oscar_Yerpes)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 2:45pm UTC](https://discuss.elastic.co/t/reindex-multiple-indices-missing-data-stream/352002 "2024-01-29T14:45:57Z")

</div>

Hello all, Elastic version is 8.1 I have daily indices from an ILM that I would like to reindex in a single monthly index. I've tried the following: POST \_reindex { "source": { "index": ".ds-hpc-slurm-2023.10.\*…

---

## [Pre v5 index compatibility with Elasticsearch v8](https://discuss.elastic.co/t/pre-v5-index-compatibility-with-elasticsearch-v8/350680)

<div class="topic-metadata">

**Author:** [@buitcj](https://discuss.elastic.co/u/buitcj)\
**Replies:** 5\
**Last updated:** [January 9, 2024, 11:14pm UTC](https://discuss.elastic.co/t/pre-v5-index-compatibility-with-elasticsearch-v8/350680 "2024-01-09T23:14:55Z")

</div>

Per Upgrade Elasticsearch | Elasticsearch Guide \[8.11\] | Elastic, "indices created in 6.x or earlier...use the archive functionality" which makes it sound like any version \<= 6 should work. Maybe slightly contradictory,…

---

## [Delete by query conflict](https://discuss.elastic.co/t/delete-by-query-conflict/350320)

<div class="topic-metadata">

**Author:** [@Hariharan](https://discuss.elastic.co/u/Hariharan)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 3:06pm UTC](https://discuss.elastic.co/t/delete-by-query-conflict/350320 "2024-01-03T15:06:35Z")

</div>

Hey folks, I have a quick question on how to handle a particular scenario I'm running into. So we have a sync between a person's calendar events and Elasticsearch to index the events from Calendar and build some sort of…

---

## [Unable to convert \[0.0\] to long](https://discuss.elastic.co/t/unable-to-convert-0-0-to-long/350031)

<div class="topic-metadata">

**Author:** [@Ethan777100](https://discuss.elastic.co/u/Ethan777100)\
**Replies:** 9\
**Last updated:** [January 1, 2024, 4:30am UTC](https://discuss.elastic.co/t/unable-to-convert-0-0-to-long/350031 "2024-01-01T04:30:11Z")

</div>

Been a while. Things have been smooth sailing for my other data, until this set here. I am not sure why I get this error when ingesting it. \[2023-12-27T16:46:33,099\]\[WARN \]\[logstash.outputs.elasticsearch\]\[main\]\[5612df4…

---

## [Ignore value change required to display large size string values in kibana](https://discuss.elastic.co/t/ignore-value-change-required-to-display-large-size-string-values-in-kibana/348810)

<div class="topic-metadata">

**Author:** [@Rakesh\_Sudhagoni](https://discuss.elastic.co/u/Rakesh_Sudhagoni)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 11:08pm UTC](https://discuss.elastic.co/t/ignore-value-change-required-to-display-large-size-string-values-in-kibana/348810 "2023-12-27T23:08:38Z")

</div>

Hi team, I have some data in indices that has more than 256 character length and it is displayed in discovery also. But I am not able to display in dashboard. I tried to re index the API also, But It's not working. Is a…

---

## [How do I get to know that reindexing has been completed in Elasticsearch python client?](https://discuss.elastic.co/t/how-do-i-get-to-know-that-reindexing-has-been-completed-in-elasticsearch-python-client/349670)

<div class="topic-metadata">

**Author:** [@Aditya\_Dubey](https://discuss.elastic.co/u/Aditya_Dubey)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 7:22pm UTC](https://discuss.elastic.co/t/how-do-i-get-to-know-that-reindexing-has-been-completed-in-elasticsearch-python-client/349670 "2023-12-19T19:22:18Z")

</div>

Basically, I'm running a reindexing function, and immediately after that, I'm running a function to delete the source index. Python runs all lines of code for the first function and moves to the next function (delete ind…

---

## [Changing Index Mapping & Making Long Texts Keyword For Elasticsearch](https://discuss.elastic.co/t/changing-index-mapping-making-long-texts-keyword-for-elasticsearch/347709)

<div class="topic-metadata">

**Author:** [@Ethan777100](https://discuss.elastic.co/u/Ethan777100)\
**Replies:** 3\
**Last updated:** [November 22, 2023, 6:35pm UTC](https://discuss.elastic.co/t/changing-index-mapping-making-long-texts-keyword-for-elasticsearch/347709 "2023-11-22T18:35:03Z")

</div>

Moving forward, should I find a need to change my index mapping after the data is ingested, I have this description column which I realised was ingested as Text and not a keyword. PUT /ats-mainline-logs-2023-01,ats-mai…

---

## [Reindex Api "didn't store \_source" error](https://discuss.elastic.co/t/reindex-api-didnt-store-source-error/347043)

<div class="topic-metadata">

**Author:** [@Hakan\_Kara](https://discuss.elastic.co/u/Hakan_Kara)\
**Replies:** 4\
**Last updated:** [November 14, 2023, 5:48am UTC](https://discuss.elastic.co/t/reindex-api-didnt-store-source-error/347043 "2023-11-14T05:48:46Z")

</div>

Hello, we are getting following error while using reindex api. Could we ignore these kind of errors with reindex api ? Or could we destroy the following doc with given id ? { "type" : "illegal\_argument\_exception", …

---

## [Reindexing failure - "all shards failed" - "arraycopy: length -9 is negative"](https://discuss.elastic.co/t/reindexing-failure-all-shards-failed-arraycopy-length-9-is-negative/344401)

<div class="topic-metadata">

**Author:** [@tpolera](https://discuss.elastic.co/u/tpolera)\
**Replies:** 3\
**Last updated:** [October 11, 2023, 2:11pm UTC](https://discuss.elastic.co/t/reindexing-failure-all-shards-failed-arraycopy-length-9-is-negative/344401 "2023-10-11T14:11:41Z")

</div>

Hello, we're having a recent issue with reindexing that is failing after a short period of time. We recently discovered a mistake with our original index that only had 1 shard set upon creation when we should've had 20. …

---

## [Reindex in elasticsearch 7.17 as pre-upgrade to 8.x](https://discuss.elastic.co/t/reindex-in-elasticsearch-7-17-as-pre-upgrade-to-8-x/344575)

<div class="topic-metadata">

**Author:** [@Indu\_Nallithodi](https://discuss.elastic.co/u/Indu_Nallithodi)\
**Replies:** 0\
**Last updated:** [October 7, 2023, 11:48pm UTC](https://discuss.elastic.co/t/reindex-in-elasticsearch-7-17-as-pre-upgrade-to-8-x/344575 "2023-10-07T23:48:24Z")

</div>

Elasticsearch team: in need of a guidancee/help Now am in a upgrade from 6.8 to 8.x(latest) Progress: Have 6.8 server with 6.8 indices(created in 5.6 and upgraded to 6.8 few years back) with multi-type Reindexed to s…

---

## [Asking how to nested logstash](https://discuss.elastic.co/t/asking-how-to-nested-logstash/343826)

<div class="topic-metadata">

**Author:** [@Shi\_Eng\_Ng](https://discuss.elastic.co/u/Shi_Eng_Ng)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 3:47am UTC](https://discuss.elastic.co/t/asking-how-to-nested-logstash/343826 "2023-09-26T03:47:33Z")

</div>

"archives\_id": null, "level\_of\_detail": null, "items": \[ { "barcode": "000892", "brn": "4188", "collection": "\["Books"\]", "updated\_time": "2023-09-13 11:36:56.000000", "suffix": "LAI", "status": "Available", "a…

[Previous page](https://discuss.elastic.co/tag/reindex/84.md?match_all_tags=true&tags%5B%5D=reindex)

[Next page](https://discuss.elastic.co/tag/reindex/84.md?match_all_tags=true&page=2&tags%5B%5D=reindex)
