From c8838bdc2ec9153aa588fa1c61f671627b993a32 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Fri, 23 May 2025 23:02:02 +0200 Subject: [PATCH] config.php: add search.max_weight to the configuration options --- inc/config.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/config.php b/inc/config.php index fb4b4493..49097e77 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1856,6 +1856,10 @@ // Limit of search results $config['search']['search_limit'] = 100; + // Maximum weigth of the search query. + // Body search filters are discarded if they make the query heavier than this. + $config['search']['max_weight'] = 80; + // Boards for searching //$config['search']['boards'] = array('a', 'b', 'c', 'd', 'e');