summaryrefslogtreecommitdiff
path: root/docs/configuration/search.md
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@kotobank.ch>2021-12-20 19:27:22 +0300
committerEkaterina Vaartis <vaartis@kotobank.ch>2022-10-10 20:19:09 +0300
commit4f2637acc6c46ea39ae38e869903e7ffcc38b34d (patch)
treeba9e869e079bdee18356aad0289f7511ae4ffbfe /docs/configuration/search.md
parent571533ae2618478f26db312e52265e143356debd (diff)
downloadpleroma-4f2637acc6c46ea39ae38e869903e7ffcc38b34d.tar.gz
pleroma-4f2637acc6c46ea39ae38e869903e7ffcc38b34d.zip
Add description for initial_indexing_chunk_size
Diffstat (limited to 'docs/configuration/search.md')
-rw-r--r--docs/configuration/search.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/configuration/search.md b/docs/configuration/search.md
index 7dbbd3e17..a785a18ad 100644
--- a/docs/configuration/search.md
+++ b/docs/configuration/search.md
@@ -25,11 +25,15 @@ To use [meilisearch](https://www.meilisearch.com/), set the search module to `Pl
> config :pleroma, Pleroma.Search, module: Pleroma.Search.Meilisearch
-You then need to set the address of the meilisearch instance, and optionally the private key for authentication.
+You then need to set the address of the meilisearch instance, and optionally the private key for authentication. You might
+also want to change the `initial_indexing_chunk_size` to be smaller if you're server is not very powerful, but not higher than `100_000`,
+because meilisearch will refuse to process it if it's too big. However, in general you want this to be as big as possible, because meilisearch
+indexes faster when it can process many posts in a single batch.
> config :pleroma, Pleroma.Search.Meilisearch,
> url: "http://127.0.0.1:7700/",
-> private_key: "private key"
+> private_key: "private key",
+> initial_indexing_chunk_size: 100_000
Information about setting up meilisearch can be found in the
[official documentation](https://docs.meilisearch.com/learn/getting_started/installation.html).