argonfand@ece0840d56 | ||
assets | ||
crates | ||
scripts | ||
.env | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
docker-compose.yml | ||
README.md | ||
rust-toolchain.toml | ||
rustfmt.toml |
OS Wilno
PostgreSQL dictionary
https://github.com/dominem/postgresql_fts_polish_dict
cp db/dictionary/polish.dict /usr/share/postgresql/tsearch_data/polish.dict
cp db/dictionary/polish.affix /usr/share/postgresql/tsearch_data/polish.affix
cp db/dictionary/polish.stop /usr/share/postgresql/tsearch_data/polish.stop
CREATE TEXT SEARCH DICTIONARY polish (
Template = ispell,
DictFile = polish,
AffFile = polish,
StopWords = polish
);
CREATE TEXT SEARCH CONFIGURATION polish(parser = default);
ALTER TEXT SEARCH CONFIGURATION polish
ALTER MAPPING FOR asciiword, asciihword, hword_asciipart, word, hword, hword_part
WITH polish;