# Stored field not showing for updated profile

**URL:** <https://discuss.elastic.co/t/stored-field-not-showing-for-updated-profile/133220>\
**Category:** Elasticsearch\
**Created:** [May 24, 2018, 8:16pm UTC](https://discuss.elastic.co/t/stored-field-not-showing-for-updated-profile/133220 "2018-05-24T20:16:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![telebh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/telebh/32/42272_2.png) [@telebh](https://discuss.elastic.co/u/telebh)\
**Post date:** [May 24, 2018, 8:16pm UTC](https://discuss.elastic.co/t/stored-field-not-showing-for-updated-profile/133220/1 "2018-05-24T20:16:43Z")

</div>

Hi there,

I am running through an issue for populating a new field in existing ES index.  
I had ES V 5.3, then migrated to ES 6.0 cluster using snapshot from index of older version.  
now i modified mappings of ES V6.0 by adding a new filed as follows:

"doc\_count":  
{  
"type": "integer",  
"store": true  
},

then indexed new documents that have value for the new field, but it does not show up in the stored\_field list when run the following search

GET myindex/\_search  
{  
"stored\_fields": ["oc\_count"],  
"query":  
{  
"match": {  
"docproperties.doc\_type": "apr"  
}  
}  
}

---

<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:** [June 21, 2018, 8:16pm UTC](https://discuss.elastic.co/t/stored-field-not-showing-for-updated-profile/133220/2 "2018-06-21T20:16:46Z")

</div>

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