decrease the min characters to search to 3

This commit is contained in:
Diego Najar 2020-07-19 18:58:55 +02:00
parent ecfc2423dc
commit d37b7db041

View file

@ -225,7 +225,7 @@ EOF;
// Inlcude Fuzz algorithm
require_once($this->phpPath().'vendors/fuzz.php');
$fuzz = new Fuzz($cache, 10, 1, true);
$results = $fuzz->search($text, 5);
$results = $fuzz->search($text, 3);
return(array_keys($results));
}