Re: integrated tsearch has different results than tsearch2

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: integrated tsearch has different results than tsearch2
Дата
Msg-id 46DBE0DF.4010109@sigaev.ru
обсуждение исходный текст
Ответ на integrated tsearch has different results than tsearch2  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: integrated tsearch has different results than tsearch2
Список pgsql-hackers
> 1. I am not able use fulltext with latin2 encoding :( I missing note
> about only utf8 dictionaries in doc).
You can use any server encoding, but dictionary's files should be in utf8 - 
dictionary will convert utf8 files into server encoding.

> 
> 
> 2. with hspell dictionaries (fresh copy from open office) I got
> different and wrong results.
> postgres=# select to_tsvector('cs','Příliš žlutý kůň se napil žluté
> vody') @@ to_tsquery('cs','napít');
>  ?column?
> ----------
>  f
> (1 row)

Pls, output of:
select ts_lexize('cspell','napil');
select to_tsvector('cs','Příliš žlutý kůň se napil žluté
vody');




-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


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