KiaraDB: client-side search up to 515x faster than Fuse.js
KiaraDB, an open-source in-memory search engine for TypeScript and Java, answers a misspelled query over 100,000 records in 1.95 ms versus 422 ms for Fuse.js. It indexes each field up front and won all 26 scenarios Fuse.js can express, plus 66 more it cannot.
- Typo search over 100,000 records: 1.95 ms for KiaraDB vs 422 ms for Fuse.js
- Won all 26 shared scenarios, averaging 24–65x faster per dataset
- Index build: 4.3 s and 489 MB vs 0.27 s and 110 MB for Fuse.js
- Supports date ranges, prices, tags and one-letter typo correction per word
Read next
Software