Re: [Fwd: Re: tsearch in core patch] - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [Fwd: Re: tsearch in core patch]
Date
Msg-id 20070625.121623.39158598.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: [Fwd: Re: tsearch in core patch]  (Euler Taveira de Oliveira <euler@timbira.com>)
Responses Re: [Fwd: Re: tsearch in core patch]  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: "William ZHANG"
Date:
Subject: Re: Server-side support of all encodings
Next
From: Tatsuo Ishii
Date:
Subject: Re: tsearch in core patch