# \_search field added to mappings long before installing plugins

**URL:** https://discuss.elastic.co/t/search-field-added-to-mappings-long-before-installing-plugins/284867
**Category:** Elasticsearch
**Created:** [September 22, 2021, 12:38pm UTC](https://discuss.elastic.co/t/search-field-added-to-mappings-long-before-installing-plugins/284867 "2021-09-22T12:38:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![BogdanD](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@BogdanD](https://discuss.elastic.co/u/BogdanD)
#### Post date: [September 22, 2021, 12:38pm UTC](https://discuss.elastic.co/t/search-field-added-to-mappings-long-before-installing-plugins/284867/1 "2021-09-22T12:38:21Z")

</div>

Hi all,

I'm having an issue with setting up the mapper-size plugin, specifically:  
I have an ES instance that I've been upgrading since 6.x, now at 7.14. My mappings for my indices have always included:  
"\_size": {  
"enabled": true  
}

This was an early attempt to enable the \_size field that was dropped and has now decided to turn on me.  
Well, the mapping stayed, however, I never actually installed the mapping-size plugin on my nodes. That is, until today, when, upon restarting the service, I got a double definition error for the \_size field:

MapperParsingException: Field [\_size] is defined both as an object and a field

Aside from changing my index template mappings and reindexing (not an option), what chance have I got to get this working?

---

<div class="post-metadata">

### Author: ![mayya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayya/32/83147_2.png) [@mayya](https://discuss.elastic.co/u/mayya)
#### Post date: [September 23, 2021, 8:47pm UTC](https://discuss.elastic.co/t/search-field-added-to-mappings-long-before-installing-plugins/284867/2 "2021-09-23T20:47:30Z")

</div>

Unfortunately there is no way to delete field or field mapping from the index, and as you correctly identified only re-indexing can help.

---

<div class="post-metadata">

### Author: ![BogdanD](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@BogdanD](https://discuss.elastic.co/u/BogdanD)
#### Post date: [September 24, 2021, 2:25pm UTC](https://discuss.elastic.co/t/search-field-added-to-mappings-long-before-installing-plugins/284867/3 "2021-09-24T14:25:45Z")

</div>

Thank you for the quick feedback. That's what I figured the response would be but it's nice to get confirmation.

---

<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: [October 22, 2021, 2:26pm UTC](https://discuss.elastic.co/t/search-field-added-to-mappings-long-before-installing-plugins/284867/4 "2021-10-22T14:26:33Z")

</div>

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