# Treating DOT as space

**URL:** <https://discuss.elastic.co/t/treating-dot-as-space/43279>\
**Category:** Elasticsearch\
**Created:** [March 2, 2016, 5:13pm UTC](https://discuss.elastic.co/t/treating-dot-as-space/43279 "2016-03-02T17:13:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arvind\_Kumar\_Chigura](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Arvind\_Kumar\_Chigura](https://discuss.elastic.co/u/Arvind_Kumar_Chigura)\
**Post date:** [March 2, 2016, 5:13pm UTC](https://discuss.elastic.co/t/treating-dot-as-space/43279/1 "2016-03-02T17:13:23Z")

</div>

Continuing the discussion from [Dot not used as delimiter](https://discuss.elastic.co/t/dot-not-used-as-delimiter/12468/2):

How do I update the word\_delimter filter to look for dot and convert that to space ?

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 2, 2016, 6:35pm UTC](https://discuss.elastic.co/t/treating-dot-as-space/43279/2 "2016-03-02T18:35:19Z")

</div>

I would apply a char filter for replacements before the word delimiter  
filter:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-mapping-charfilter.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-mapping-charfilter.html)

The tokenizer will be executed before any token filters, so may not have  
the dot in your token at that point (depending on which tokenizer you used).

Ivan

---

<div class="post-metadata">

**Author:** ![Arvind\_Kumar\_Chigura](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Arvind\_Kumar\_Chigura](https://discuss.elastic.co/u/Arvind_Kumar_Chigura)\
**Post date:** [March 11, 2016, 7:29pm UTC](https://discuss.elastic.co/t/treating-dot-as-space/43279/3 "2016-03-11T19:29:42Z")

</div>

I need dot to be both treated as DOT and also as space.

Can you please give me a example of how to do that in char filter?

Similar to this [https://support.dtsearch.com/dts0154.htm](https://support.dtsearch.com/dts0154.htm)

---

<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:09pm UTC](https://discuss.elastic.co/t/treating-dot-as-space/43279/4 "2017-07-05T23:09:04Z")

</div>


