Documentation
¶
Overview ¶
Package portalsearch bridges the portal's GET /search endpoint to the unified knowledge router.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
Adapter bridges the portal's GET /search endpoint to the unified knowledge router. It lives under internal/httpserver (not pkg/portal) because pkg/knowledge already imports pkg/portal for the asset and knowledge-page stores; the adapter maps the portal-local search types to and from the knowledge types so neither package needs to import the other.
func (Adapter) Search ¶
func (a Adapter) Search(ctx context.Context, q portal.SearchQuery) (portal.SearchResult, error)
Search forwards a portal search to the knowledge router, mapping the request and response across the two type sets. No ranking or scope logic is added: the router owns identity scoping, fusion, and allocation.