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

From Euler Taveira de Oliveira
Subject Re: [Fwd: Re: tsearch in core patch]
Date
Msg-id 467D6D8B.1000506@timbira.com
Whole thread Raw
In response to Re: [Fwd: Re: tsearch in core patch]  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: [Fwd: Re: tsearch in core patch]  (Tatsuo Ishii <ishii@sraoss.co.jp>)
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.


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


pgsql-hackers by date:

Previous
From: Steve Atkins
Date:
Subject: Re: Bugtraq: Having Fun With PostgreSQL
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch in core patch