@torquedev/bundle-search-app
v0.1.0
Published
Full-text search with auto-indexing and typeahead
Readme
@torquedev/bundle-search-app
Full-text search with auto-indexing and typeahead.
What It Provides
- Full-Text Search -- search across all indexed entities (cards, lists, boards) with relevance ranking
- Typeahead Suggestions -- prefix-based suggestions for instant search-as-you-type
- Auto-Indexing -- listens to kanban events to keep the search index up to date automatically
- Manual Reindex -- trigger a full reindex on demand
- UI Pages -- search page with query routing
API Routes
| Endpoint | Description |
|----------|-------------|
| GET /api/search | Full-text search with query parameter |
| GET /api/search/suggest | Typeahead suggestions for partial input |
| POST /api/search/reindex | Trigger a full reindex |
Cross-Bundle Interfaces
search, suggest
Subscribed Events
Listens to card, list, and board events from the kanban bundles to maintain the search index.
Installation
npm install @torquedev/bundle-search-appOr as a git dependency in your mount plan:
source: "git+https://github.com/torque-framework/torque-bundle-search-app.git@main"Usage
Requires kanban-app bundle. Add to your mount plan alongside the kanban bundles.
License
MIT -- see LICENSE
