Adding czech fulltext support to postgres


(Mikulas Dite) #1

I would like to add support for czech fulltext search. The search configuration, dictionaries and stopwords are all ready, but I’m not sure how to integrate them into discourse.

In what part of the codebase should those files be inserted into tsearch_data? Would it be ok to add it as a step to discourse_docker/postgres.template.yml at master · discourse/discourse_docker · GitHub?

This information should also be added to:


(Sam Saffron) #2

I think its the base configuration of PG, try:

./launcher enter app
sudo -u postgres psql discourse

Mess around with pg so all fulltext is indexed in czech, kind of flooded at the moment you are going to need to do the footwork.