# Is it possible to specify "path" in multi\_field mapping per field not per entire property?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-specify-path-in-multi-field-mapping-per-field-not-per-entire-property/11732>\
**Category:** Elasticsearch\
**Created:** [April 29, 2013, 3:07pm UTC](https://discuss.elastic.co/t/is-it-possible-to-specify-path-in-multi-field-mapping-per-field-not-per-entire-property/11732 "2013-04-29T15:07:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roytmana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roytmana/32/44855_2.png) [@roytmana](https://discuss.elastic.co/u/roytmana)\
**Post date:** [April 29, 2013, 3:07pm UTC](https://discuss.elastic.co/t/is-it-possible-to-specify-path-in-multi-field-mapping-per-field-not-per-entire-property/11732/1 "2013-04-29T15:07:16Z")

</div>

Is it possible to specify "path" in multi\_field mapping per field not per  
entire property?  
Example: I would like to map Vendor name property in multiple ways - edge  
n-grammed for, shingled, not analyzed plus I want to include it into  
"my\_all" field  
First three mapped fields I would like to be named as vendor.name.ngramm,  
vendor.name.shingle, vendor.name.notanalyzed while the last one must be  
called my\_all so I can combine several properties into it.

I could use "jsut\_name" and give my first three fields full names  
( vendor.name.ngramm etc) but it would be lot better if I could specify  
path per mapped field instead.  
In my case it is more important than in general as I am trying to generate  
ES mapping file from my own annotated document metadata and having to  
produce full (nested) property name within metadata transformation process  
is rather a challenge

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:39am UTC](https://discuss.elastic.co/t/is-it-possible-to-specify-path-in-multi-field-mapping-per-field-not-per-entire-property/11732/2 "2017-07-06T02:39:13Z")

</div>

Closed on July 6, 2017, 2:39am UTC


