# Help needed for index field mapping after index creation

**URL:** <https://discuss.elastic.co/t/help-needed-for-index-field-mapping-after-index-creation/21589>\
**Category:** Elasticsearch\
**Created:** [January 12, 2015, 6:45pm UTC](https://discuss.elastic.co/t/help-needed-for-index-field-mapping-after-index-creation/21589 "2015-01-12T18:45:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvnagaraju](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bvnagaraju](https://discuss.elastic.co/u/bvnagaraju)\
**Post date:** [January 12, 2015, 6:45pm UTC](https://discuss.elastic.co/t/help-needed-for-index-field-mapping-after-index-creation/21589/1 "2015-01-12T18:45:36Z")

</div>

we have a scenario where we know set of fields that we need at the time of  
index creation .This we know how do create field mapping at time of index  
creation .

But ,  
we have other scenario where users can create custom fields after index  
creation and dont know what is the field properties of the field user  
trying to create .Field properties like data type , IsGrouping and others

Not sure how to do it .? If you can help with us sample code , it will be  
big help .

Also interested knowing thoughts on document schema this case

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0af12488-10f4-4a17-a533-79195adc0f04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0af12488-10f4-4a17-a533-79195adc0f04%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![richinkansal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richinkansal/32/6033_2.png) [@richinkansal](https://discuss.elastic.co/u/richinkansal)\
**Post date:** [October 28, 2015, 10:01pm UTC](https://discuss.elastic.co/t/help-needed-for-index-field-mapping-after-index-creation/21589/2 "2015-10-28T22:01:42Z")

</div>

I have the similar problem..

---

<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:** [July 5, 2017, 11:41pm UTC](https://discuss.elastic.co/t/help-needed-for-index-field-mapping-after-index-creation/21589/3 "2017-07-05T23:41:59Z")

</div>


