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

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: euler(at)timbira(dot)com
Cc: ishii(at)sraoss(dot)co(dot)jp, teodor(at)sigaev(dot)ru, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [Fwd: Re: tsearch in core patch]
Date: 2007-06-25 03:16:23
Message-ID: 20070625.121623.39158598.t-ishii@sraoss.co.jp
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.

Ok, probably we need to copy the English stemming rule to the one for
Japanese. I think same thing (commonly used English with local
language) can be applied to Chinese and Korean.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2007-06-25 03:19:06 Re: tsearch in core patch
Previous Message William ZHANG 2007-06-25 01:56:28 Re: Server-side support of all encodings