Re: [GENERAL] processing urls with tsearch2

2007-09-17 Thread Laimonas Simutis
pointers or ideas on where I can start to look if I want to compile and add a dictionary to tsearch2 but on windows environment? Thanks, Laimis On 9/13/07, Laimonas Simutis <[EMAIL PROTECTED]> wrote: > > Any way to install the dictionary without the make? As in is there binary >

[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

Re: [GENERAL] processing urls with tsearch2

2007-09-13 Thread Laimonas Simutis
Any way to install the dictionary without the make? As in is there binary versions of it available? I am running postgresql on windows servers... On 9/13/07, Oleg Bartunov <[EMAIL PROTECTED]> wrote: > > On Thu, 13 Sep 2007, Laimonas Simutis wrote: > > > Hey guys, >

[GENERAL] processing urls with tsearch2

2007-09-13 Thread Laimonas Simutis
Hey guys, maybe anyone using tsearch2 could advise on this. With the default installation, url, host and some other tokens are processed with the simple dictionary. Thus term like mywebsite.com gets stored as 'mywebsite.com'. The parser correctly assigns token id of type host to the term, but then