Skip to content

Commit

Permalink
fix: allow lower rated matches in fuzzy search
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Jan 7, 2024
1 parent 6cc8189 commit a29486c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/Utilities/SeriesSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static SearchResult<T> DiceFuzzySearch<T>(string text, string pattern, T
if (text.Length < 5 && result > 0.5)
return new();

if (result >= 0.8)
if (result > 1.0)
return new();

return new()
Expand Down

0 comments on commit a29486c

Please sign in to comment.