Re: integrated tsearch has different results than tsearch2 - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: integrated tsearch has different results than tsearch2
Date
Msg-id 46DBE0DF.4010109@sigaev.ru
Whole thread Raw
In response to integrated tsearch has different results than tsearch2  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: integrated tsearch has different results than tsearch2
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Per-function GUC settings: trickier than it looked
Next
From: "Vishnu Aggarwal"
Date:
Subject: helps required in postgresql and visual basic 6.0