alfred-chrome-history icon indicating copy to clipboard operation
alfred-chrome-history copied to clipboard

More fuzzy searching

Open tupton opened this issue 9 years ago • 3 comments

Instead of using LIKE, use some sort of better fuzzy search like sqlite's full text or fzf.

tupton avatar Dec 12 '15 16:12 tupton

Hi, just came across this extension and it's awesome!!!

Wanted to follow-up to see if any progress had been attempted on fuzzy search?

sinewave avatar Nov 07 '21 04:11 sinewave

Modifying the order of the column to this would give more useful result - ORDER BY last_visit_time DESC, typed_count DESC, visit_count DESC https://github.com/tupton/alfred-chrome-history/blob/master/chrome.py#L58. Existing chrome history search also return result in this order.

arorabharat avatar Mar 22 '22 07:03 arorabharat

One easy improvement is to search for each word separately rather than for the whole string (this is how tupton's safari history plugin works)

In history_results (chrome.py), change q = u'%{}%'.format(query) to q = u'%{}%'.format('%'.join(query.split(' ')))

fredcallaway avatar May 19 '22 16:05 fredcallaway