wire up unified search from the ui; add basic search support (#94358)

* wire up search from the ui;  add basic search support
This commit is contained in:
Scott Lepper
2024-10-08 13:09:56 -04:00
committed by GitHub
parent 8cade5c550
commit c2fb2dcfbe
18 changed files with 828 additions and 151 deletions
+4
View File
@@ -306,6 +306,10 @@ func (hs *HTTPServer) registerRoutes() {
apiRoute.Group("/search-v2", hs.SearchV2HTTPService.RegisterHTTPRoutes)
}
if hs.Features.IsEnabledGlobally(featuremgmt.FlagUnifiedStorageSearch) {
apiRoute.Group("/unified-search", hs.UnifiedSearchHTTPService.RegisterHTTPRoutes)
}
// current org
apiRoute.Group("/org", func(orgRoute routing.RouteRegister) {
userIDScope := ac.Scope("users", "id", ac.Parameter(":userId"))