# Nested field for list of string

**URL:** https://discuss.elastic.co/t/nested-field-for-list-of-string/54153
**Category:** Elasticsearch
**Created:** [June 28, 2016, 11:13am UTC](https://discuss.elastic.co/t/nested-field-for-list-of-string/54153 "2016-06-28T11:13:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![siddharth\_gupta](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@siddharth\_gupta](https://discuss.elastic.co/u/siddharth_gupta)
#### Post date: [June 28, 2016, 11:13am UTC](https://discuss.elastic.co/t/nested-field-for-list-of-string/54153/1 "2016-06-28T11:13:08Z")

</div>

Hello,

I have a list of paragraphs and want to make it a nested type for indexing.

My mapping looks like ::  
`"content_list" :{ "type" : "nested", "include_in_parent": true, "properties": { "para": { "type": "string" } } }`  
content\_list is a list of paragraphs. I want every element of this array to be a sub-document.  
Can anyone please help me ?

Thanks  
Siddharth.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 28, 2016, 11:35am UTC](https://discuss.elastic.co/t/nested-field-for-list-of-string/54153/2 "2016-06-28T11:35:46Z")

</div>

This looks correct to me.

---

<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, 10:39pm UTC](https://discuss.elastic.co/t/nested-field-for-list-of-string/54153/3 "2017-07-05T22:39:55Z")

</div>


