~whereiseveryone/toys#173: 
Levenshtein distance for guix search

What do you think if we could provide suggestions to the user when they might have a typo in their search query?

For example,

If the user types panetheon-calculator in the search.

The UI would suggest "Did you mean pantheon-calculator?".

Status
REPORTED
Submitter
~whereiseveryone
Assigned to
Assign someone
Submitted
4 months ago
Updated
4 months ago
Labels
No labels applied.

~whereiseveryone 4 months ago · edit

I feel that this should be implemented upstream in Guix itself?

~unwox 4 months ago* · edit

It's a good idea. sqlite3 already has some tools for that: https://www.sqlite.org/spellfix1.html Should not be that hard!

Register here or Log in to comment, or comment via email.