zf icon indicating copy to clipboard operation
zf copied to clipboard

Ranking improvements

Open natecraddock opened this issue 2 years ago • 0 comments

I have a local file where I am tracking possible improvements to zf's ranking algorithm, but I figured this would be a better place to keep them.


In this example I expect complete/zf to be ranked above complete/_zf. The leading _ is adding to the score. A simpler way to look at this is an exact match should be prioritized

❯ zf
complete/_zf
doc/zf.1
complete/zf
doc/zf.md
complete/zf.fish
lib/ziglyph/src/autogen/case_folding.zig
lib/ziglyph/src/data/uca/allkeys-diffs.txt
lib/ziglyph/src/data/uca/allkeys-diffs.txt.gz

natecraddock avatar Jun 24 '23 20:06 natecraddock