Full Text / Fuzzy Search #1678
Replies: 4 comments 14 replies
-
|
I don't have experinece in large data sets like youre facing but would creating multple smaller indexed schemas work and you can persist to filesystem or wherever, they obviously get loaded into memory when loaded but any javascript solution thats not a server or api would need to? |
Beta Was this translation helpful? Give feedback.
-
|
Not say SignalDB isn't amazing but if its a real bottleneck you could explore sqlite.ws or turso plus postgres extension https://docs.turso.tech/features/sqlite-extensions fuzzy search. |
Beta Was this translation helpful? Give feedback.
-
|
I wouldn't want SignalDB to have a strict dependency on flexsearch. I've used uFuzzy and want to continue using it. This could be solved by writing a guide on how to integrate a fuzzy library without making changes to SignalDB. |
Beta Was this translation helpful? Give feedback.
-
|
Unless I missed the mark and you're looking for a node solution or node to browser, like https://electric-sql.com/blog/2024/05/14/electricsql-postgres-client-support#sync-to-postgres-pglite-or-sqlite https://docs.turso.tech/sdk/ts/reference#manual-sync and supabase |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking for a good option to integrate SignalDb with fulltext / fuzzy search. I am kind of happy with my current solution (flexsearch + collection hooks) but want to know if anyone has a better approach or a good working solution since my expertise in that field is "still growing" ...
My requirements are:
Please see https://stackblitz.com/~/github.com/maxfriedmann/signaldb-flexsearch?file=src/lib/SignalDb.svelte for my current approach which basically consists of:
What I like:
What I don't like:
Alternatives I tried:
Beta Was this translation helpful? Give feedback.
All reactions