Go to file
2023-08-09 15:51:38 +02:00
assets Move to new design 2023-08-09 15:47:47 +02:00
crates Add session 2023-08-09 15:51:38 +02:00
scripts Fix serialize issues 2023-08-09 15:49:12 +02:00
.env Fixes 2022-07-22 13:05:13 +02:00
.gitignore Add session 2023-08-09 15:49:58 +02:00
Cargo.lock Fix field name 2023-08-09 15:51:37 +02:00
Cargo.toml Add session 2023-08-09 15:49:58 +02:00
README.md Start basics 2023-04-24 16:11:49 +02:00
rust-toolchain.toml Fix admin page 2023-08-09 15:49:58 +02:00
rustfmt.toml Upload image 2022-07-08 15:28:30 +02:00

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;