Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/oscon_tsearch2/lang_dict_03.html
Дата изменения: Unknown Дата индексирования: Sat Dec 22 10:28:29 2007 Кодировка: Поисковые слова: п п п п п п п п п п п п п |
Previous | Next |
Installing a language dictionary (Continued)Copy the simple configuration into the new default_english configuration. INSERT INTO pg_ts_cfgmap (ts_name, tok_alias, dict_name) SELECT 'default_english', tok_alias, dict_name from pg_ts_cfgmap WHERE ts_name = 'simple'; Update the default_english configuration to parse using the english dictionary if possible and the algorithmic stemmer if a word is not found. UPDATE pg_ts_cfgmap set dict_name = '{en_ispell,en_stem}' WHERE ts_name = 'default_english' AND tok_alias in ('lhword', 'lpart_hword', 'lword'); |