# How to use store comma separated values in elastic search column?

**URL:** <https://discuss.elastic.co/t/how-to-use-store-comma-separated-values-in-elastic-search-column/183956>\
**Category:** Elasticsearch\
**Created:** [June 3, 2019, 12:08pm UTC](https://discuss.elastic.co/t/how-to-use-store-comma-separated-values-in-elastic-search-column/183956 "2019-06-03T12:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KrishK](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@KrishK](https://discuss.elastic.co/u/KrishK)\
**Post date:** [June 3, 2019, 12:08pm UTC](https://discuss.elastic.co/t/how-to-use-store-comma-separated-values-in-elastic-search-column/183956/1 "2019-06-03T12:08:28Z")

</div>

I have comma separated values in one column and i want to use that column in elastic search.  
Mapping created with Nested type.

Below is mapping :  
e.g

"mapping": {  
"doctype": {  
"type": "nested",  
"properties": {  
"d": {  
"type": "short"  
}  
}  
}

After created index and Inserted data, i found some warning with that column.

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/a/eaaee0ca985655b73b91d10fa0cab8633850785d.png)

So i want to know is there any issue with mapping? or it will create any issue in future? or is there best way to store this type of values?

Thanks

---

<div class="post-metadata">

**Author:** ![jignesh.panchal](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jignesh.panchal](https://discuss.elastic.co/u/jignesh.panchal)\
**Post date:** [June 5, 2019, 5:32am UTC](https://discuss.elastic.co/t/how-to-use-store-comma-separated-values-in-elastic-search-column/183956/2 "2019-06-05T05:32:07Z")

</div>

Hi KrishK  
I am also searching solution for this topic

---

<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 3, 2019, 5:32am UTC](https://discuss.elastic.co/t/how-to-use-store-comma-separated-values-in-elastic-search-column/183956/3 "2019-07-03T05:32:12Z")

</div>

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