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

I do not know is this BUG or regional settings misunderstandings but in serach box when user type word letter by letter if 4TH letter is β€œY” serach box shows blank

If I copy and paste full string at once search box will show correct rezults.

Here is few pictures




4 Likes

Forgive me if I’m boring but looks like that this is not just case with Y letter.
Perhaps Discourse trying to search for words
Here is also sample whit word
silent will match silently
but when user just types silentl Discource will not match silently.

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

http://www.postgresql.org/docs/9.3/static/textsearch-dictionaries.html

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.

1 Like

I am pretty sure I fixed this, try latest, if not fixed flag to reopen.