Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-04 Thread Pavel Stehule
2007/9/4, Heikki Linnakangas <[EMAIL PROTECTED]>: > Pavel Stehule wrote: > > I used dictionaries from fedora core packages > > > > hunspell-cs-20060303-5.fc7.i386.rpm > > > > then I converted it to utf8 with iconv > > Ok, thanks. > > Apparently it's a bug I introduced when I refactored spell.c to u

Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-04 Thread Heikki Linnakangas
Pavel Stehule wrote: > I used dictionaries from fedora core packages > > hunspell-cs-20060303-5.fc7.i386.rpm > > then I converted it to utf8 with iconv Ok, thanks. Apparently it's a bug I introduced when I refactored spell.c to use the readline function for reading and recoding the input file.

Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-04 Thread Pavel Stehule
I used dictionaries from fedora core packages hunspell-cs-20060303-5.fc7.i386.rpm then I converted it to utf8 with iconv Pavel 2007/9/4, Heikki Linnakangas <[EMAIL PROTECTED]>: > Pavel Stehule wrote: > > 2007/9/3, Teodor Sigaev <[EMAIL PROTECTED]>: > >>> 1. I am not able use fulltext with latin

Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-04 Thread Heikki Linnakangas
Pavel Stehule wrote: > 2007/9/3, Teodor Sigaev <[EMAIL PROTECTED]>: >>> 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

Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-04 Thread Pavel Stehule
2007/9/3, Teodor Sigaev <[EMAIL PROTECTED]>: > > 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. >

Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-03 Thread Teodor Sigaev
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 of

Re: [HACKERS] integrated tsearch has different results than tsearch2

2007-09-03 Thread Oleg Bartunov
Pavel, I can't read your posting. Can you use plain text format ? Oleg On Mon, 3 Sep 2007, Pavel Stehule wrote: Hello I am testing fulltext. 1. I am not able use fulltext with latin2 encoding :( I missing noteabout only utf8 dictionaries in doc). 2. with hspell dictionaries (fresh copy from

[HACKERS] integrated tsearch has different results than tsearch2

2007-09-03 Thread Pavel Stehule
Hello I am testing fulltext. 1. I am not able use fulltext with latin2 encoding :( I missing note about only utf8 dictionaries in doc). 2. with hspell dictionaries (fresh copy from open office) I got different and wrong results. Original (old) result ts=# select * from ts_debug('Příliš žluťou