Skip to content

Commit

Permalink
Expanded list of indexing split chars
Browse files Browse the repository at this point in the history
Expands on #531
  • Loading branch information
ssddanbrown committed Oct 15, 2017
1 parent 3bf7cac commit a988438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/SearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function deleteEntityTerms(Entity $entity)
protected function generateTermArrayFromText($text, $scoreAdjustment = 1)
{
$tokenMap = []; // {TextToken => OccurrenceCount}
$splitChars = " \n\t.,";
$splitChars = " \n\t.,!?:;()[]{}<>`'\"";
$token = strtok($text, $splitChars);

while ($token !== false) {
Expand Down

0 comments on commit a988438

Please sign in to comment.