ellie
January 31, 2024, 12:58pm
4
I think the documentation assumes the user is aware that the search tries to find the best match, which is not necessarily the most recent one. Fuzzy will give truly horrible matches if it strictly orders by time
Would this work better for you?
atuinsh:main ← lilydjwg:exact
opened 11:03AM - 31 Jan 24 UTC
This pr adds a new search mode called "exact" as skim calls it, in which the que… ry are matched as substrings of the target. In this way, there are much fewer results than the so-called fuzzy search mode, thus provide more relevant results as long as the query is correct.
I usually can't relate fuzzy results to my queries, so I always use this kind of substring match. There is also a full text search mode, which I find less useful as only one substring can be provided.
## Checks
- [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the same thing