Re: Problem with site doc search

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>, Gevik Babakhani <pgdev(at)xs4all(dot)nl>, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem with site doc search
Date: 2008-04-15 14:48:13
Message-ID: 20080415164813.4c88e680@mha-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Richard Huxton wrote:
> Bruce Momjian wrote:
> > Magnus Hagander wrote:
> >> I didn't do anything, but possibly it got fixed by a different
> >> upgrade at some point, and the recrawling of the sites.
> >
> > Oops, maybe it isn't fixed. I tried "pg_standby" and it seemed to
> > work but "pg" and "standby" returns the same results.
> >
> > Is that correct? How do I test this?
>
> The default is to split words on underscore, so it's probably doing
> what it always did. Try "to_tsquery" and you should see it matching
> "tsquery" (probably "to" is a stopword).
>
> I did put together a custom parser that allowed underscore in words,
> but given my extensive "C" experience in the last decade (one tsearch
> parser) you don't want to just plug that into the live site. Someone
> (Gevik?) was going to have a look at it when they had the time, but
> I'd guess that's the one thing none of us have much of.

Yeah.
Did you ever post the code to anybody other than Gevik? If not, please
send it to pgsql-www and someone can give it a quick look-over (perhaps
Oleg can help us there?)

//Magnus

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message tomas 2008-04-15 14:48:35 Re: pulling libpqtypes from queue
Previous Message Richard Huxton 2008-04-15 14:44:31 Re: Problem with site doc search