add filename to keywords index

This commit is contained in:
ghost 2023-10-15 03:36:18 +03:00
parent 5168280519
commit f5d8759dfe

View File

@ -189,6 +189,11 @@ class TorrentService
$keywords[] = $hash;
}
if ($name = $file->getName(false))
{
$keywords[] = $name;
}
$keywords = array_merge($keywords, $words);
}
}