Stored field not showing for updated profile

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"
}
}
}

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