# Type name warning

**URL:** https://discuss.elastic.co/t/type-name-warning/4417
**Category:** Elasticsearch
**Created:** [May 16, 2011, 8:25pm UTC](https://discuss.elastic.co/t/type-name-warning/4417 "2011-05-16T20:25:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![plaflamme](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@plaflamme](https://discuss.elastic.co/u/plaflamme)
#### Post date: [May 16, 2011, 8:25pm UTC](https://discuss.elastic.co/t/type-name-warning/4417/1 "2011-05-16T20:25:27Z")

</div>

Hi,

I'm creating a type name that contains a dot in its name. ES is warning me  
not to do this:

"... Type [type.name] contains a '.', it is recommended not to include it  
within a type name"

Why is it recommended not to use dots? I'd like to know what kind of issues  
this may cause.

Thanks,  
Philippe

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [May 16, 2011, 9:25pm UTC](https://discuss.elastic.co/t/type-name-warning/4417/2 "2011-05-16T21:25:23Z")

</div>

When using the syntax of my\_type.my\_field in different places (like term query as the field name, then the type will not be properly recognized).  
On Monday, May 16, 2011 at 11:25 PM, Philippe Laflamme wrote:

> Hi,
> 
> I'm creating a type name that contains a dot in its name. ES is warning me not to do this:
> 
> "... Type [type.name] contains a '.', it is recommended not to include it within a type name"
> 
> Why is it recommended not to use dots? I'd like to know what kind of issues this may cause.
> 
> Thanks,  
> Philippe

---

<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, 4:06am UTC](https://discuss.elastic.co/t/type-name-warning/4417/3 "2017-07-06T04:06:03Z")

</div>


