parent
3bf7cac030
commit
a988438946
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ class SearchService
|
|||
protected function generateTermArrayFromText($text, $scoreAdjustment = 1)
|
||||
{
|
||||
$tokenMap = []; // {TextToken => OccurrenceCount}
|
||||
$splitChars = " \n\t.,";
|
||||
$splitChars = " \n\t.,!?:;()[]{}<>`'\"";
|
||||
$token = strtok($text, $splitChars);
|
||||
|
||||
while ($token !== false) {
|
||||
|
|
Loading…
Reference in a new issue