Browse Source

add filename to keywords index

main
ghost 1 year ago
parent
commit
f5d8759dfe
  1. 5
      src/Service/TorrentService.php

5
src/Service/TorrentService.php

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

Loading…
Cancel
Save