# Search box stops on 4th character if it is "Y"

**URL:** <https://meta.discourse.org/t/search-box-stops-on-4th-character-if-it-is-y/29641>\
**Category:** Bug\
**Tags:** search\
**Created:** [4 Junho , 2015 10:45 UTC](https://meta.discourse.org/t/search-box-stops-on-4th-character-if-it-is-y/29641 "2015-06-04T10:45:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [23 Junho , 2015 04:07 UTC](https://meta.discourse.org/t/search-box-stops-on-4th-character-if-it-is-y/29641/3 "2015-06-23T04:07:08Z")

</div>

I don’t think this is anything to do with `y` the issue here is that snowball stemmer is used in English. It has edge cases

> **[12.6. Dictionaries](https://www.postgresql.org/docs/9.3/textsearch-dictionaries.html)**
>
> 12.6. Dictionaries # 12.6.1. Stop Words 12.6.2. Simple Dictionary 12.6.3. Synonym Dictionary 12.6.4. Thesaurus Dictionary 12.6.5. Ispell Dictionary 12.6.6. Snowball Dictionary …

I have been considering using ispell instead. Since you are a non-English install its very likely the English stemmer is a bad choice and you should just go with simple or a language specific stemmet.

It will require mucking with the install a bit.

Long term I am thinking of doing all the stemming and stopword in our ruby process to avoid all the magic done in pg.

---

_[View the full topic](https://meta.discourse.org/t/search-box-stops-on-4th-character-if-it-is-y/29641)._
