Min lenght to search 3 chars
This commit is contained in:
parent
2ba4edc008
commit
075fb44006
|
@ -188,7 +188,7 @@ class pluginSearch extends Plugin {
|
||||||
// Inlcude Fuzz algorithm
|
// Inlcude Fuzz algorithm
|
||||||
require_once($this->phpPath().'vendors/fuzz.php');
|
require_once($this->phpPath().'vendors/fuzz.php');
|
||||||
$fuzz = new Fuzz($cache, 10, 1, true);
|
$fuzz = new Fuzz($cache, 10, 1, true);
|
||||||
$results = $fuzz->search($text, 4);
|
$results = $fuzz->search($text, 3);
|
||||||
|
|
||||||
return(array_keys($results));
|
return(array_keys($results));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue