Re: How does the tsearch configuration get selected?
От | Teodor Sigaev |
---|---|
Тема | Re: How does the tsearch configuration get selected? |
Дата | |
Msg-id | 4672AD04.1010404@sigaev.ru обсуждение исходный текст |
Ответ на | Re: How does the tsearch configuration get selected? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: How does the tsearch configuration get selected?
|
Список | pgsql-hackers |
> The only reason the TS stuff needs an encoding spec is to figure out how > to read an external stop word file. I think my suggestion upthread is a > lot better: have just one stop word file per language, store them all in > UTF8, and convert to database encoding when loading them. The database Hmm. You mean to use language name in configuration, use current encoding to define which dictionary should be used (stemmers for the same language are different for different encoding) and recode dictionaries file from UTF8 to current locale. Did I understand you right? That's possible to do. But it's incompatible changes and cause some difficulties for DBA. If server locale is ISO (or KOI8 or any other) and file is in UTF8 then text editor/tools might be confused. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/
В списке pgsql-hackers по дате отправления: