Exact Keyword Search (BM25)
Finds exact error codes, invoice IDs, policy numbers, and literal phrases fast.
Searching for an exact SKU or invoice code returns vague fuzzy matches instead of the exact record.
Exact terms, IDs, and phrases rank straight to the top with zero external API calls.
What It Does (In Plain English)
Vector search often misses exact IDs like ERR_TAX_402 or SKU codes. Search Keyword plugs into retrieval@1 using BM25 full-text search (index-local-fts on SQLite locally, or index-postgres tsvector in Enterprise) while honoring tenant scopes.
Real-World Example
- 1User asks about policy clause
AP-104-B. - 2Search Keyword locates the exact matching paragraph in milliseconds.
When Should You Turn It On?
Add alongside retrieval for fast, zero-cost exact text search.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-retrieval@0.1.0"
- "@neusym/kit-search-keyword@0.1.0"Kits It Works With
Technical Details & Configuration Options (0 settings)
| Package | @neusym/kit-search-keyword |
|---|---|
| Provides Ports | None |
| Requires Ports | search-index@1scopes@1 |
| Optional Ports | None |
| Publishes Events | None |
| Owned DB Collections | None |
This kit requires zero custom configuration options.