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

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [Fwd: Re: tsearch in core patch]
Дата
Msg-id 20070625.121623.39158598.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: [Fwd: Re: tsearch in core patch]  (Euler Taveira de Oliveira <euler@timbira.com>)
Ответы Re: [Fwd: Re: tsearch in core patch]  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "William ZHANG"
Дата:
Сообщение: Re: Server-side support of all encodings
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: tsearch in core patch