# Reindex Error

**URL:** https://discuss.elastic.co/t/reindex-error/123102
**Category:** Elasticsearch
**Created:** [March 8, 2018, 2:58pm UTC](https://discuss.elastic.co/t/reindex-error/123102 "2018-03-08T14:58:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [March 8, 2018, 2:58pm UTC](https://discuss.elastic.co/t/reindex-error/123102/1 "2018-03-08T14:58:39Z")

</div>

Hi,  
I'm trying to reindex a 1.7.0 kibana index to 2.4.6 via the elasticsearch-migration plugin and am seeing the following error:

```
PUT /.kibana-2.4.6 failed with [400] Mapping definition for [_size] has unsupported parameters: [store : true]: {}

```

The mapping for \_size looks like this:

```
"_size" : {
      "store" : true
    },

```

How can I get the renidex to complete?

Regards,  
D

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 8, 2018, 4:23pm UTC](https://discuss.elastic.co/t/reindex-error/123102/2 "2018-03-08T16:23:48Z")

</div>

`_size` has been replaced as a plugin in 2.x series.

[https://www.elastic.co/guide/en/elasticsearch/reference/2.4/breaking\_20\_removed\_features.html#\_literal\_\_size\_literal\_is\_now\_a\_plugin](https://www.elastic.co/guide/en/elasticsearch/reference/2.4/breaking_20_removed_features.html#_literal__size_literal_is_now_a_plugin)

So if you are using it, you might have to install this may be.

I'm not familiar with that though and I don't recall how the migration plugin worked.

May be you could remove the field `_size` from the mapping?

---

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [March 9, 2018, 10:28am UTC](https://discuss.elastic.co/t/reindex-error/123102/3 "2018-03-09T10:28:47Z")

</div>

I have mapper\_size already installed. How do i remove this field from the mapping?

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 9, 2018, 3:40pm UTC](https://discuss.elastic.co/t/reindex-error/123102/4 "2018-03-09T15:40:15Z")

</div>

I guess you need to do something like:

```auto
DELETE .kibana-2.4.6
PUT .kibana-2.4.6/_mapping
{
  // Your mapping here
}

```

And then copy again the data from your old index to the new one.  
But I'm really unsure here and I think you should better ask this in #kibana channel though.

May be move this thread there? (I can do it for you if you can't).

---

<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: [April 6, 2018, 3:40pm UTC](https://discuss.elastic.co/t/reindex-error/123102/5 "2018-04-06T15:40:39Z")

</div>

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