Files
hive/mcp-server/node_modules/lunr/perf/token_set_perf.js
anthonyrawlins e89f2f4b7b Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering:
- Project activation and management UI (#1-2)
- Worker node coordination and visualization (#3-4)
- Automated GitHub repository scanning (#5)
- Intelligent model-to-issue matching (#6)
- Multi-model task execution system (#7)
- N8N workflow integration (#8)
- Hive-Bzzz P2P bridge (#9)
- Peer assistance protocol (#10)

Each issue includes detailed specifications, acceptance criteria,
technical implementation notes, and dependency mapping.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:41:01 +10:00

43 lines
1.0 KiB
JavaScript

suite('lunr.TokenSet', function () {
var tokenSet = lunr.TokenSet.fromArray([
'january', 'february', 'march', 'april',
'may', 'june', 'july', 'august',
'september', 'october', 'november', 'december'
].sort())
var noWildcard = lunr.TokenSet.fromString('september')
var withWildcard = lunr.TokenSet.fromString('*ber')
this.add('.fromArray', function () {
lunr.TokenSet.fromArray(words)
})
this.add('.fromString (no wildcard)', function () {
lunr.TokenSet.fromString('javascript')
})
this.add('.fromString (with wildcard)', function () {
lunr.TokenSet.fromString('java*cript')
})
this.add('.fromFuzzyString', function () {
lunr.TokenSet.fromFuzzyString('javascript', 2)
})
this.add('#toArray', function () {
tokenSet.toArray()
})
this.add('#toString', function () {
tokenSet.toString()
})
this.add('#intersect (no wildcard)', function () {
tokenSet.intersect(noWildcard)
})
this.add('#intersect (with wildcard)', function () {
tokenSet.intersect(withWildcard)
})
})