Files
modules/indexes-search

Indexes & search

Path: modules/indexes-search/ · Modules: 8 (all production)

Doc hub: docs/indexes-search/README.md (parent workspace) · Index: MODULE_CATEGORIES.md

Search and indexing helpers for Bare/Pear apps — from gossip Bloom filters to semantic embedding search.

Packages

Module P2P Summary
hyper-p2p-bloom-gossip yes add / mightContain, exportBits / importBits, listKeys
hyper-p2p-inverted-index yes index, search, searchAll (and/or), getDocTerms
hyper-p2p-fulltext-lite no addDocument, search (and/or), suggest
hyper-p2p-trie-prefix no insert, prefixSearch, autocomplete, remove
hyper-p2p-graph-index no addEdge, bfs, removeEdge, outDegree
hyper-p2p-similarity-lsh no embed, near, nearVector, LSH signatures
hyper-p2p-semantic-vector-index optional Full embedding index: insert/search/tags/sign/TTL
hyper-spatial-index yes Hyperbee grid, insert, rangeQuery, findInRadius

When to compose

  • Discovery: bloom-gossip before expensive inverted lookups across peers.
  • RAG / agents: semantic-vector-index + fulltext-lite for hybrid retrieval.
  • Maps / games: spatial-index + graph-index for proximity and connectivity.

Test

cd hyper-p2p-inverted-index && npm test
cd hyper-p2p-semantic-vector-index && npm test