tsearch - v2 new dict
От | sector119@mail.ru |
---|---|
Тема | tsearch - v2 new dict |
Дата | |
Msg-id | 20030613143319.GA6360@city.gov.te.ua обсуждение исходный текст |
Ответы |
Re: tsearch - v2 new dict
Re: tsearch - v2 new dict |
Список | pgsql-general |
Hi I try to add new dict,but I've get an error $mars->{sector119}:~ % ls -la /usr/local/pgsql/share/ukrainian* -rw-r--r-- 1 root root 59504 2 2000 /usr/local/pgsql/share/ukrainian.aff -rw-r--r-- 1 root root 1355320 2 2000 /usr/local/pgsql/share/ukrainian.dict lrwxrwxrwx 1 root root 14 13 09:23 /usr/local/pgsql/share/ukrainian.hash -> ukrainian.dict -rw-r--r-- 1 root root 699 13 17:14 /usr/local/pgsql/share/ukrainian.stop test=# SELECT * from pg_ts_cfg where id=4; id | ts_name | prs_name | locale ----+---------+----------+-------- 4 | uk | default | uk_UA test=# SELECT * from pg_ts_cfgmap where ts_name='uk'; ts_name | lex_alias | dict_name ---------+-------------+----------- uk | file | {simple} uk | lhword | {uk_stem} uk | lpart_hword | {uk_stem} uk | lword | {uk_stem} uk | uint | {simple} uk | version | {simple} (6 rows) test=# SELECT * from pg_ts_dict where dict_id=6; dict_id | 6 dict_name | uk_stem dict_init | 17632 dict_initoption | DictFile="/usr/local/pgsql/share/ukrainian.hash", AffFile="/usr/local/pgsql/share/ukrainian.aff", StopFile="/usr/local/pgsql/share/ukrainian.stop dict_lemmatize | 17633 dict_comment | Ukrainian Stemmer. Snowball. test=# SELECT txt2txtidx('uk','alot of words in ukrainian'); ERROR: Unexpected end of line Why I get this error message? If I did something wrong, please say me what I have to change! Thank you! -- WBR, sector119
В списке pgsql-general по дате отправления: