hhmx.de

· Föderation EN So 01.09.2024 03:29:25

@eramdam oh, I tried this but… *check notes* it lacks fuzzy search 😢

Föderation EN So 01.09.2024 03:32:50

@cheeaun does it? I feel like it should do it with `tokenize: 'full'` when creating the index? github.com/nextapps-de/flexsea

Föderation EN So 01.09.2024 03:34:02

@cheeaun ah nvm i guess I'm confusing fuzzy search with partial search/match 😅

Föderation EN So 01.09.2024 03:34:51

@cheeaun ...if you have recs for a lib that does fuzzysearch I'm open (even if I'm not 100% sure I need it tbh)

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