# Mapping\_path option in char filter

**URL:** <https://discuss.elastic.co/t/mapping-path-option-in-char-filter/129020>\
**Category:** Elasticsearch\
**Created:** [April 22, 2018, 7:39pm UTC](https://discuss.elastic.co/t/mapping-path-option-in-char-filter/129020 "2018-04-22T19:39:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar\_Narottam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar_narottam/32/18959_2.png) [@Kumar\_Narottam](https://discuss.elastic.co/u/Kumar_Narottam)\
**Post date:** [April 22, 2018, 7:39pm UTC](https://discuss.elastic.co/t/mapping-path-option-in-char-filter/129020/1 "2018-04-22T19:39:56Z")

</div>

Hi All,

Can some one guide me how to write own custom char filter using Mapping\_path parameter..

We can write with Mapping parameter where we can give key value pair. I do not want to reindex my data every time, hence want to put all mapping items in a file and while reindexing data character file picks up mapping filter from a physical file.

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [April 24, 2018, 4:28am UTC](https://discuss.elastic.co/t/mapping-path-option-in-char-filter/129020/2 "2018-04-24T04:28:24Z")

</div>

If you are referring to a `mappings_path` configuration of the [Mapping Char Filter](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/analysis-mapping-charfilter.html) then this is available ever since version 2.0.

Also, keep in mind that the `mappings_path` file is loaded once the index is opened and won't be reloaded anymore (unless index is closed/opened)

---

<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:** [May 22, 2018, 4:28am UTC](https://discuss.elastic.co/t/mapping-path-option-in-char-filter/129020/3 "2018-05-22T04:28:30Z")

</div>

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