Re: Problem with site doc search

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Problem with site doc search
Дата
Msg-id 47A5EE6C.4040704@hagander.net
обсуждение исходный текст
Ответ на Re: Problem with site doc search  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: Problem with site doc search  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Список pgsql-hackers
Oleg Bartunov wrote:
> On Sat, 2 Feb 2008, Gurjeet Singh wrote:
> 
>> Hi All,
>>
>>    I just noticed a minor bug in our search results. Searching for
>> is_insteadbool in 8.3 docs returns the following page:
>>
>> http://www.postgresql.org/docs/8.3/static/catalog-pg-rewrite.html
>>
>>    is_instead is a column, and bool is the datatype, both mentioned in
>> different columns. I know it is based on postgres' own full text 
>> search, but
>> am not sure about the method how docs are read by the search engine. It
>> seems that the problem lies in the the way the doc was read and fed to 
>> the
>> index builder, because the initial search results show these two words
>> combined.
>>
>>    Also, is it possible to teach our search engine to *not* treat _
>> (underscore) as a word separator? This would be great help and would 
>> result
>> much better results.
> 
> 
> Sure, there are many ways to do this. Magnus ?

Which way would you recommend? You're the tsearch master ;-)

//Magnus


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Autoconf 2.61
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: FW: bitemporal functionality for PostgreSQL