(no title)
dadior
|
4 years ago
Offline first is a dream to me, I build a big note-taking app (midinote.me) which is 100% offline, but now the biggest pain point is the full text search, yes, we can use DB like this and PouchDB to store data, but currently, there isn't a good solution for full text search in javascript, I tried lunr.js the performance is poor, and researched FTS by sqlite, it don't support Chinese, I ever considered pack the lucene (on JVM) with Electron.js( the desktop wrap on JS) on desktop, I'm not sure it is a good idea, now I am going to re-think all these things, and considering give up offline and switch to server side full text search, it will save huge effort comparing to client-side search!
727564797069706|4 years ago
Just spitballing here: maybe there’s a way to use Redis (and RediSearch) compiled to WebAssembly and then use it on client side?
dadior|4 years ago
hunterb123|4 years ago
https://github.com/pouchdb-community/pouchdb-quick-search
dadior|4 years ago
knubie|4 years ago
dadior|4 years ago
dadior|4 years ago