tags:

views:

63

answers:

0

I have a bunch of text that i need to search, and it's not always nicely formatted.

select to_tsvector('hello.test') @@ 'test'

This returns false, because it thinks hello.test is a hostname.

Is there any way to have something like all non alphanumeric characters as a stopword, so that i can GIN-index the example above as 2 words?