Flow.Launcher
Flow.Launcher copied to clipboard
Enhancement: Improve Search Score Algorithm for Program Plugin
Checks
-
[x] I have checked that this issue has not already been reported.
-
[x] I am using the latest version of Flow Launcher.
Problem Description
When using the program plugin to start a program, I encounter an issue where my search string is not found as I would expect it. Given a shortcut to a program named metis Client Prod (cprod), I cannot select it by typing cprod, as I would expect, but only if I type (cprod.
To Reproduce
- Create a shortcut to a program in a location that is indexed by Flow Launcher and name it
metis Client Prod (cprod). - Try to launch the shortcut by typing
cprod.
Screenshots
No response
Flow Launcher Version
1.19.5
Windows Build Number
10.0.26100.3476
Error Log
Not relevant; no error reported by Flow Launcher
This issue is probably due to the matched string too far from the start, so the score is low.
We should:
- Add full string match score bumping if not already added
- Tweak the scoring for scenarios like this where the match is towards the end of the string.