# Creating nested fields from a plugin

**URL:** <https://discuss.elastic.co/t/creating-nested-fields-from-a-plugin/19639>\
**Category:** Elasticsearch\
**Created:** [September 5, 2014, 8:40am UTC](https://discuss.elastic.co/t/creating-nested-fields-from-a-plugin/19639 "2014-09-05T08:40:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakub\_Kotowski](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Jakub\_Kotowski](https://discuss.elastic.co/u/Jakub_Kotowski)\
**Post date:** [September 5, 2014, 8:40am UTC](https://discuss.elastic.co/t/creating-nested-fields-from-a-plugin/19639/1 "2014-09-05T08:40:58Z")

</div>

Hi all,

is there a way to create a nested field from a plugin such as the  
attachment mapper?

The parseContext.externalValue(...), and fieldMapper.parse(parseContext)  
technique creates only normal Lucene fields as far as I can see.

Thanks,

Jakub

--  
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/e36abf1e-a0c6-4b7b-a560-a861d790bbfa%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e36abf1e-a0c6-4b7b-a560-a861d790bbfa%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:04am UTC](https://discuss.elastic.co/t/creating-nested-fields-from-a-plugin/19639/2 "2017-07-06T01:04:09Z")

</div>

Closed on July 6, 2017, 1:04am UTC


