# Type field with hyphen (-) separator

**URL:** <https://discuss.elastic.co/t/type-field-with-hyphen-separator/74365>\
**Category:** Elasticsearch\
**Created:** [February 8, 2017, 12:51pm UTC](https://discuss.elastic.co/t/type-field-with-hyphen-separator/74365 "2017-02-08T12:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [February 8, 2017, 12:51pm UTC](https://discuss.elastic.co/t/type-field-with-hyphen-separator/74365/1 "2017-02-08T12:51:13Z")

</div>

Hi,  
Can I have type field with separator in the value?

`document_type: abc-xyz`  
I remember, I couldn't create visualizations using these fields. It gives some warning or error for those fields.  
What is the problem in this? How to overcome this problem?

br,  
Sunil

---

<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:** [March 8, 2017, 12:51pm UTC](https://discuss.elastic.co/t/type-field-with-hyphen-separator/74365/2 "2017-03-08T12:51:39Z")

</div>

Closed on March 8, 2017, 12:51pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
