Re: [GENERAL] tsearch2 and parsing host strings

2007-09-14 Thread Oleg Bartunov
On Tue, 11 Sep 2007, Laimonas Simutis wrote: A question related to tsearch2 functionality in postgres: When I run the following query: select to_tsvector('default', 'website.com') I get "'website.com':1". What I need to get back is 'website':1 instead. I can see that the parser correctly de

[GENERAL] tsearch2 and parsing host strings

2007-09-14 Thread Laimonas Simutis
A question related to tsearch2 functionality in postgres: When I run the following query: select to_tsvector('default', 'website.com') I get "'website.com':1". What I need to get back is 'website':1 instead. I can see that the parser correctly determines term website.com as a host token, which