summaryrefslogtreecommitdiff
path: root/docs/configuration/howto_search_cjk.md
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2021-08-29 18:48:53 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2021-08-29 18:48:53 +0000
commit0b2119d4a791b3623b304b0bab683609d23271d4 (patch)
tree40eac155fc0b26d924aa072fd289fc3e64bfad26 /docs/configuration/howto_search_cjk.md
parentdc63aaf84f07a6f8042f43617d8ec356fed85cec (diff)
parent7372609c5b5063d177715d5067654888f7075403 (diff)
Merge branch 'release/2.4.1' into 'stable'v2.4.1
Release: 2.4.1 See merge request pleroma/pleroma!3501
Diffstat (limited to 'docs/configuration/howto_search_cjk.md')
-rw-r--r--docs/configuration/howto_search_cjk.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/howto_search_cjk.md b/docs/configuration/howto_search_cjk.md
index d3ce28077..a73b10db3 100644
--- a/docs/configuration/howto_search_cjk.md
+++ b/docs/configuration/howto_search_cjk.md
@@ -5,7 +5,7 @@ Pleroma's full text search feature is powered by PostgreSQL's native [text searc
## Setup and test the new search config
-In most cases, you would need an extension installed to support parsing CJK text. Here are a few extension you may choose from, or you are more than welcome to share additional ones you found working for you with the rest of Pleroma community.
+In most cases, you would need an extension installed to support parsing CJK text. Here are a few extensions you may choose from, or you are more than welcome to share additional ones you found working for you with the rest of Pleroma community.
* [a generic n-gram parser](https://github.com/huangjimmy/pg_cjk_parser) supports Simplifed/Traditional Chinese, Japanese, and Korean
* [a Korean parser](https://github.com/i0seph/textsearch_ko) based on mecab
@@ -34,7 +34,7 @@ Check output of the query, and see if it matches your expectation.
mix pleroma.database set_text_search_config YOUR.CONFIG
```
-Note: index update may take a while.
+Note: index update may take a while, and it can be done while the instance is up and running, so you may restart db connection as soon as you see `Recreate index` in task output.
## Restart database connection
Since some changes above will only apply with a new database connection, you will have to restart either Pleroma or PostgreSQL process, or use `pg_terminate_backend` SQL command without restarting either.