Search module
Source: modules/search/.
At a glance
Section titled “At a glance”| CLI | — |
| Subcommands | 0 |
| HTTP endpoints | see the route reference |
| Events emitted | — |
| Error codes | see the error code reference |
| Service classes | SearchService |
| Cross-module deps | app, repo |
Source layout
Section titled “Source layout”modules/search/├── command.go├── 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 all apps that
the node knows about (both bundled and repo-sourced). SearchService
queries AppModel with filters for category, tenant, environment,
repository, and VApp-only, 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:~$