config.php: add search.max_weight to the configuration options

This commit is contained in:
Zankaria 2025-05-23 23:02:02 +02:00
parent f8fd0b917d
commit c8838bdc2e

View file

@ -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');