Full Text Search with IndexedDB
Summary
The article describes building a full text search over locally stored chat messages in IndexedDB, starting with a naive table scan and progressing to an indexed approach using a multiEntry index on terms. It covers tokenization, stopword removal, stemming, and strategies to pick the smallest term list to filter results, plus sorting results. It demonstrates performance gains on large datasets and provides code snippets for implementation.