hyper-p2p-fulltext-lite
Lightweight local full-text index with tokenization and AND search.
Category: indexes-search
Protocol: fulltext-lite/v1
When to use
Single-node or app-local search over modest document sets without P2P replication.
When not to use
Distributed inverted indexes (use hyper-p2p-inverted-index) or semantic vector search.
Quick start
const { HyperP2PFulltextLite } = require('hyper-p2p-fulltext-lite')
const mod = new HyperP2PFulltextLite()
mod.addDocument('1', 'Pear P2P modules')
console.log(mod.search('pear modules'))
Docs
Test
npm install && npm test