# Default template mapping at type level

**URL:** https://discuss.elastic.co/t/default-template-mapping-at-type-level/23004
**Category:** Elasticsearch
**Created:** [March 31, 2015, 11:04am UTC](https://discuss.elastic.co/t/default-template-mapping-at-type-level/23004 "2015-03-31T11:04:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aken](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@aken](https://discuss.elastic.co/u/aken)
#### Post date: [March 31, 2015, 11:04am UTC](https://discuss.elastic.co/t/default-template-mapping-at-type-level/23004/1 "2015-03-31T11:04:48Z")

</div>

Hallo,

I have 6 types that I would like to keep in the same time-series index. 5  
of these types are very similar and so I have defined the common fields in  
the _default_ mapping. The 6th is very different and shares very few fields  
with the other types: but since the _default_ mapping applies to all types  
in the index I have a lot of fields in the mapping for type6 that I don't  
need or want. Is there a way around this? I'm looking for a "default" type  
that I can derive from (rather than a default mapping at index level), but  
this does not seem to exist. Is this correct or is there a workaround?

Regards,  
Andrew

--  
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/9f026249-dd48-4769-b435-7cdfc5517905%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9f026249-dd48-4769-b435-7cdfc5517905%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, 12:22am UTC](https://discuss.elastic.co/t/default-template-mapping-at-type-level/23004/2 "2017-07-06T00:22:48Z")

</div>


