search
Performs full-text search across all canonical document content using SQLite FTS5. Returns matching documents ranked by relevance with content snippets.
Usage
bash
unsterwerx search [OPTIONS] <QUERY>
Arguments
| Argument | Required | Description |
|---|---|---|
QUERY | Yes | Search query string |
Options
| Option | Short | Type | Default | Description |
|---|---|---|---|---|
--limit | -l | integer | 20 | Maximum number of results to return |
Examples
Basic search
bash
unsterwerx search "cybersecurity"
Search Results (20 matches)
══════════════════════════════════════════════════════════════
1. Cybersecurity and Risk Management Framework [b8e01573]
Acquisition Cybersecurity Training February 18, 2016
DOD Cybersecurity and the Risk Management Framework (RMF)
Process for the Acquisition Community...
2. DoD Program Manager's Guidebook, Cybersecurity RMF [bd51b3ed]
Department of Defense DoD Program Manager's Guidebook for
Integrating the Cybersecurity Risk Management Framework...
3. NBIS PPP Version 1.5 [afb068e7]
Cybersecurity Strategy UNCLASSIFIED National Background
Investigation System...
══════════════════════════════════════════════════════════════
Limit results
bash
unsterwerx search "policy" --limit 5
Search Results (5 matches)
══════════════════════════════════════════════════════════════
1. Homeowners Policy Packet [d3d2da43]
HOMEOWNERS POLICY PACKET IMPORTANT MESSAGES Refer to
your Declarations Page and endorsements...
2. DODI Standards [455d5bb1]
Establishing Policy in DoDIs For DoDIs that establish
policy, the section may need to be longer...
══════════════════════════════════════════════════════════════
Notes
- The query uses SQLite FTS5 syntax. Simple keywords work for most searches.
- Multi-word queries are treated as a phrase. Wrap in quotes if needed.
- Search auto-triggers canonical extraction for any pending documents on first use.
- Each result shows the document title, a truncated document ID in brackets, and a content snippet.
- Use
unsterwerx reindexif search results seem stale or incomplete.