Re: [Fwd: Re: tsearch in core patch]

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: teodor(at)sigaev(dot)ru, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [Fwd: Re: tsearch in core patch]
Date: 2007-06-23 18:59:23
Message-ID: 467D6D8B.1000506@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii wrote:

> japanese '{ja_JP, C}'
>
> How would we know C -> japanese?
>
You can't do that. You can't have different languages (not locales)
mapping to the same 'tsearch language' because the stemmer doesn't know
that a specific word is in english or japanese. So you have two options:
(a) disable stemming (b) leave the language set to 'japanese' and see if
it plays well.

--
Euler Taveira de Oliveira
http://www.timbira.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2007-06-23 19:11:42 Re: tsearch in core patch
Previous Message Steve Atkins 2007-06-23 18:40:29 Re: Bugtraq: Having Fun With PostgreSQL