Search module
Layer 4. Primitives. Primitives A query over apps, not an owned record.
Source: modules/search/.
At a glance
Section titled “At a glance”| CLI | None |
| Subcommands | 0 |
| HTTP endpoints | see the route reference |
| Events emitted | None |
| Error codes | see the error code reference |
| Service classes | SearchService |
| Cross-module deps | app, repo |
Source layout
Section titled “Source layout”modules/search/├── router.go├── service.go└── commands/HTTP API
Section titled “HTTP API”Routes are listed in the generated route reference; request/response notes live in the API reference.
Responsibilities
Section titled “Responsibilities”The search module implements catalog search across apps
(bundled and repo-sourced). Service.Search in service.go
returns matching apps, ranked by name match then description.
Results are returned via /api/method/shc.search and the matching
shc search CLI. The module does not own the catalog itself (that is
app + repo); it is a query-only facade.
shc@docs:~$