Thread: FTI (not tsearch) ignores greek

FTI (not tsearch) ignores greek

From
ilias seperis
Date:
hello,

i'm using postgresql-8.1 and installed the FTI contrib
package (fti.so).

I'm trying to full-text index a table's collumn.
Almost eveything is ok. I insert some test data on the
table and i can see that it is indexed in the fti
table.

The problem comes when i insert data with greek
characters. It seems as though they are completely
ignored from FTI. I don't get any error at all.

The database was created with server_encoding
iso8859-7 and i'm using the same client_encoding too.

Any suggestions?

thanx
ilias



____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Re: FTI (not tsearch) ignores greek

From
"Joshua D. Drake"
Date:
ilias seperis wrote:
> hello,
>
> i'm using postgresql-8.1 and installed the FTI contrib
> package (fti.so).
>
> I'm trying to full-text index a table's collumn.
> Almost eveything is ok. I insert some test data on the
> table and i can see that it is indexed in the fti
> table.
>

You should be using Tsearch2 not fti.

Joshua D. Drake

> The problem comes when i insert data with greek
> characters. It seems as though they are completely
> ignored from FTI. I don't get any error at all.
>
> The database was created with server_encoding
> iso8859-7 and i'm using the same client_encoding too.
>
> Any suggestions?
>
> thanx
> ilias
>
>
>
> ____________________________________________________________________________________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at Yahoo! Games.
> http://videogames.yahoo.com/platform?platform=120121
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>


--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/