The official postgres
docker with Czech full-text search dictionaries pulled from https://postgres.cz/data/czech.tar.gz.
-
11.6
Based onpostgres:11.6
-
9.6
- Based on
dedekj/docker-pgq:9.6
. docker pull dedekj/postgres-pgq-tsearch-czech:9.6
- Based on
-
9.5
- Based on
jtjeferreira/docker-pgq:9.5
. docker pull dedekj/postgres-pgq-tsearch-czech:9.5
- Based on
docker build -t datlowe/postgres-pgq-tsearch-czech:9.6 .
docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=datlowe -e POSTGRES_USER=datlowe datlowe/postgres-pgq-tsearch-czech:9.6
SELECT * FROM ts_debug('czech', 'psi a psů a lidi a lidí a ruce a vody a Měla cholecystektomii neb cholecystektomie i mnoho cholecystektomií');
create text search dictionary czech_ispell
(template=ispell, dictfile=czech, afffile=czech, stopwords=czech);
create text search dictionary czech_snowball
(template=snowball, language=czech, stopwords=czech);
create text search configuration czech (copy=english);
alter text search configuration czech
alter mapping for word, asciiword with czech_ispell, czech_snowball;