T357: Remove tildes from the classifier's fulltext matcher.

This commit is contained in:
Peter Deltchev 2015-09-07 19:55:40 -07:00
parent 76f1361dda
commit 46ceab2b4c

View file

@ -73,7 +73,7 @@ class ClassifyMLPMA extends Command {
// Original, show song remix, fan song remix, show audio remix, or ponified song?
//==========================================================================================================
$sanitizedTrackTitle = $parsedTags['title'];
$sanitizedTrackTitle = str_replace(['-', '+', 'ft.', '*'], ' ', $sanitizedTrackTitle);
$sanitizedTrackTitle = str_replace(['-', '+', '~', 'ft.', '*'], ' ', $sanitizedTrackTitle);
$queriedTitle = DB::connection()->getPdo()->quote($sanitizedTrackTitle);
$officialSongs = ShowSong::select(['id', 'title'])