npm install @ferrow/fulltext-searchIn-memory full-text search using an inverted index with OR matching across query terms.
const search = new FulltextSearch();
search.index(documents);
const results = search.query('machine learning');- In-memory inverted index (word -> document IDs)
- OR-matching query across all query terms
Sponsored by Ferrow
Part of the ferrow-toolkit collection · Sponsored by Ferrow