config.php: add search.max_length

This commit is contained in:
Zankaria 2025-05-23 23:05:13 +02:00
parent 701007ea95
commit 48f29774c3

View file

@ -1860,6 +1860,10 @@
// Body search filters are discarded if they make the query heavier than this.
$config['search']['max_weight'] = 80;
// Maximum length of the user sent search query.
// Characters beyond the limit are truncated and ignored.
$config['search']['max_length'] = 768;
// Uncomment to limit the search feature to the given boards by uri.
//$config['search']['boards'] = array('a', 'b', 'c', 'd', 'e');