decrease the min characters to search to 3
This commit is contained in:
parent
ecfc2423dc
commit
d37b7db041
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ EOF;
|
||||||
// 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, 5);
|
$results = $fuzz->search($text, 3);
|
||||||
|
|
||||||
return(array_keys($results));
|
return(array_keys($results));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue