View Single Post

   
  #3 (permalink)  
Old 04-15-2008, 10:48 PM
Teodor Sigaev
 
Posts: n/a
Default Re: integrated tsearch has different results than tsearch2

> 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/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote