mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
reduced the description weight by half (#4519)
This commit is contained in:
@@ -265,7 +265,7 @@ namespace Microsoft.Plugin.Program.Programs
|
||||
{
|
||||
var displayNameMatch = StringMatcher.FuzzySearch(query, DisplayName);
|
||||
var descriptionMatch = StringMatcher.FuzzySearch(query, Description);
|
||||
var score = new[] { displayNameMatch.Score, descriptionMatch.Score }.Max();
|
||||
var score = new[] { displayNameMatch.Score, descriptionMatch.Score/2 }.Max();
|
||||
return score;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user