hhmx.de

· Föderation EN So 01.09.2024 03:40:31

@eramdam fuzzy search is one of my top requirements, besides perf, memory, etc, so my notes look like this (screenshot).

I wanted to try minisearch (github.com/lucaong/minisearch) but ended up with Fuse as I don't need document search features.

Medien: 1

Föderation EN So 01.09.2024 03:51:47

@eramdam but ideally, I would prefer these to be inside IndexedDB or SQLite WASM with some powerful search + sql for filtering etc 🫣

Föderation EN So 01.09.2024 03:52:45

@cheeaun trying Fuse.js and I guess I need to tweak the fuzzy search threshold because the results look kinda wacky right now 😅

Föderation EN So 01.09.2024 03:55:04

@eramdam 😂 there's a lot of "it depends" cases base on what you search. uFuzzy is very configurable for this but I spent like hours just trying to get it right but never did 🤣

Föderation EN So 01.09.2024 03:55:46

@cheeaun haha I bet. passing `ignoreLocation: true` makes it work slightly better already haha