Re: Problem with site doc search

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Problem with site doc search
Дата
Msg-id 4804BF4F.5040201@archonet.com
обсуждение исходный текст
Ответ на Re: Problem with site doc search  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Problem with site doc search  (Magnus Hagander <magnus@hagander.net>)
Re: Problem with site doc search  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
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.

--   Richard Huxton  Archonet Ltd


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgwin32_safestat weirdness
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Problem with site doc search