From: Ekaterina Vaartis Date: Mon, 20 Dec 2021 14:46:23 +0000 (+0300) Subject: Add config description for meilisearch X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=58cc5d13a2a1e16be3d9125f5f47b9240fb8a74a;p=akkoma Add config description for meilisearch --- diff --git a/config/description.exs b/config/description.exs index 48e0c59a8..8d38f60ed 100644 --- a/config/description.exs +++ b/config/description.exs @@ -3429,5 +3429,40 @@ config :pleroma, :config_description, [ ] } ] + }, + %{ + group: :pleroma, + key: Pleroma.Search, + type: :group, + description: "General search settings.", + children: [ + %{ + key: :module, + type: :keyword, + description: "Selected search module.", + suggestion: [Pleroma.Search.DatabaseSearch, Pleroma.Search.Meilisearch] + } + ] + }, + %{ + group: :pleroma, + key: Pleroma.Search.Meilisearch, + type: :group, + description: "Meilisearch settings.", + children: [ + %{ + key: :url, + type: :string, + description: "Meilisearch URL.", + suggestion: ["http://127.0.0.1:7700/"] + }, + %{ + key: :private_key, + type: :string, + description: + "Private key for meilisearch authentication, or `nil` to disable private key authentication.", + suggestion: [nil] + } + ] } ]