Open holtwick opened 5 years ago
With some tricks, IDB was capable of doing fulltext quite well.
https://www.codeproject.com/Articles/744986/How-to-do-some-magic-with-indexedDB https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa
Stale issue message
For a JS only implementation lunr is the clear winner: https://github.com/olivernn/lunr.js
But it does it all in memory, no real alternative available yet. Old proof of concept: http://reyesr.github.io/fullproof/ and https://github.com/reyesr/fullproof which is quite impressive
Interesting old article about tree like index: https://johnresig.com/blog/javascript-trie-performance-analysis/
Classic but Java: https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Wildcard%20Searches
And its web frontend: http://lucene.apache.org/solr/
Currently using: https://sqlite.org/fts5.html But no fuzzyness or powerful pattern features
Another candidate: https://github.com/fergiemcdowall/search-index