# Mapping # in file using type\_table\_path

**URL:** <https://discuss.elastic.co/t/mapping-in-file-using-type-table-path/32875>\
**Category:** Elasticsearch\
**Created:** [October 23, 2015, 6:06pm UTC](https://discuss.elastic.co/t/mapping-in-file-using-type-table-path/32875 "2015-10-23T18:06:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marinoc](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@marinoc](https://discuss.elastic.co/u/marinoc)\
**Post date:** [October 23, 2015, 6:06pm UTC](https://discuss.elastic.co/t/mapping-in-file-using-type-table-path/32875/1 "2015-10-23T18:06:32Z")

</div>

I'm using the word\_delimiter filter and wanted to create a type\_table\_path file to store my mappings. Howerver, one of my mappings is for the hash sign (#).

How can I prevent the parser from treating this line as a comment?

```
# Mapping some characters to ALPHA.
@ => ALPHA
# => ALPHA
```

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [October 23, 2015, 6:21pm UTC](https://discuss.elastic.co/t/mapping-in-file-using-type-table-path/32875/2 "2015-10-23T18:21:24Z")

</div>

Try `\u0023 => ALPHA`.

---

<div class="post-metadata">

**Author:** ![marinoc](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@marinoc](https://discuss.elastic.co/u/marinoc)\
**Post date:** [October 23, 2015, 6:45pm UTC](https://discuss.elastic.co/t/mapping-in-file-using-type-table-path/32875/3 "2015-10-23T18:45:20Z")

</div>

That worked, thanks Nik!

---

<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 5, 2017, 11:42pm UTC](https://discuss.elastic.co/t/mapping-in-file-using-type-table-path/32875/4 "2017-07-05T23:42:54Z")

</div>


