From 25a03a9b5b8b37e3ac5bd69f4b520695e4b148bb Mon Sep 17 00:00:00 2001
From: lain <lain@soykaf.club>
Date: Fri, 20 Nov 2020 16:33:11 +0100
Subject: [PATCH] Config, Docs: Remove search_function

---
 config/config.exs                | 3 +--
 docs/configuration/cheatsheet.md | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/config/config.exs b/config/config.exs
index 8d0545704..be5257663 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -264,8 +264,7 @@ config :pleroma, :instance,
     ]
   ],
   show_reactions: true,
-  password_reset_token_validity: 60 * 60 * 24,
-  search_function: :websearch
+  password_reset_token_validity: 60 * 60 * 24
 
 config :pleroma, :welcome,
   direct_message: [
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index 1b321d103..85551362c 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -64,7 +64,6 @@ To add configuration to your config file, you can copy it from the base config.
 * `cleanup_attachments`: Remove attachments along with statuses. Does not affect duplicate files and attachments without status. Enabling this will increase load to database when deleting statuses on larger instances.
 * `show_reactions`: Let favourites and emoji reactions be viewed through the API (default: `true`).
 * `password_reset_token_validity`: The time after which reset tokens aren't accepted anymore, in seconds (default: one day).
-* `search_function`: What search function to use for fulltext search. Possible values are `:websearch` and `:plain`. `:websearch` enables more complex search queries, but requires at least PostgreSQL 11. (default: `websearch`)
 
 ## Welcome
 * `direct_message`: - welcome message sent as a direct message.