forked from leftypol/leftypol
config.php: add search.max_length
This commit is contained in:
parent
701007ea95
commit
48f29774c3
1 changed files with 4 additions and 0 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue