Change wording

This commit is contained in:
itepechi 2023-08-06 08:15:04 +09:00
parent 1ce5f0a920
commit 4733438d3e
1 changed files with 4 additions and 4 deletions

View File

@ -161,7 +161,7 @@ Follow the printed link to set your password.
#### Switch to PGroonga
Before proceeding, make sure you set `config :pleroma, :database, pgroonga_enabled` to `false`.
Before proceeding, make sure that `config :pleroma, :database, pgroonga_enabled` is set to `false`.
```ex
config :pleroma, :database,
@ -200,7 +200,7 @@ By default, PGroonga uses a bigram tokenizer with prefix matching enabled.
If you're not happy with this, you can change the behavior using the `database set_pgroonga_options` command.
If you want to support Japanese in your instance and do not want to match "東京都" (Tokyo-to) with "京都" (Kyoto), pass `TokenMecab` as the tokenizer.
If you want to support Japanese in your instance and do not want "東京都" (Tokyo-to) to match "京都" (Kyoto), pass `TokenMecab` as the tokenizer.
```sh
podman exec -it akkoma-web \
@ -209,7 +209,7 @@ podman exec -it akkoma-web \
set_pgroonga_options "tokenizer='TokenMecab'"
```
If you want to disable prefix matching, e.g. you want "akko" to match "Akko is cute!" but not "Akkoma is cool!", pass `hash_table` as the lexicon type.
If you want to disable prefix matching, e.g. you want "akko" to match "Akko is cute!" but not "Akkoma is cool!", pass `hash_table` as lexicon type.
```sh
podman exec -it akkoma-web \
@ -220,7 +220,7 @@ podman exec -it akkoma-web \
If you want to set multiple options, simply concatenate them with a comma.
_Do not add spaces after commas. **Elixir will complain!**_
_Do not add spaces after commas or Elixir will complain. **You have been warned!**_
```sh
podman exec -it akkoma-web \