25 lines
438 B
Markdown
25 lines
438 B
Markdown
|
# OS Wilno
|
||
|
|
||
|
## PostgreSQL dictionary
|
||
|
|
||
|
https://github.com/dominem/postgresql_fts_polish_dict
|
||
|
|
||
|
```
|
||
|
|
||
|
```
|
||
|
|
||
|
```sql
|
||
|
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;
|
||
|
```
|