diff options
author | hyperion <8027-hyperion@users.noreply.git.pleroma.social> | 2021-02-06 09:42:17 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2021-02-06 09:42:17 +0000 |
commit | 8d4e0342e1b5ebbe486dc538e3c8fe81d53220e6 (patch) | |
tree | 0f8779125f24793369647b632397ee10850e53a3 /docs/administration | |
parent | 7f0787163999fc0ac0c6fcfd0c13f80c5a55266d (diff) | |
download | pleroma-8d4e0342e1b5ebbe486dc538e3c8fe81d53220e6.tar.gz pleroma-8d4e0342e1b5ebbe486dc538e3c8fe81d53220e6.zip |
Update priv/repo/migrations/20190501125843_add_fts_index_to_objects.exs, priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs files
Diffstat (limited to 'docs/administration')
-rw-r--r-- | docs/administration/CLI_tasks/database.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/administration/CLI_tasks/database.md b/docs/administration/CLI_tasks/database.md index 6dca83167..c53c49921 100644 --- a/docs/administration/CLI_tasks/database.md +++ b/docs/administration/CLI_tasks/database.md @@ -141,3 +141,21 @@ but should only be run if necessary. **It is safe to cancel this.** ```sh mix pleroma.database ensure_expiration ``` + +## Change Text Search Configuration + +Change `default_text_search_config` for database and (if necessary) text_search_config used in index, then rebuild index (it may take time). + +=== "OTP" + + ```sh + ./bin/pleroma_ctl database set_text_search_config english + ``` + +=== "From Source" + + ```sh + mix pleroma.database set_text_search_config english + ``` + +See [PostgreSQL documentation](https://www.postgresql.org/docs/current/textsearch-configuration.html) and `docs/configuration/howto_search_cjk.md` for more detail. |