Documentation
¶
Overview ¶
Package rest provides a REST service for querying the search engine
Index ¶
- type Handler
- func (s *Handler) Filter() func(string) string
- func (s *Handler) Nodes(req *restful.Request, rsp *restful.Response) error
- func (s *Handler) PerformSearch(ctx context.Context, searchRequest *tree.SearchRequest, ...) (nn []*tree.Node, facets []*tree.SearchFacet, pagination *rest.Pagination, ...)
- func (s *Handler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
func (*Handler) PerformSearch ¶
func (s *Handler) PerformSearch(ctx context.Context, searchRequest *tree.SearchRequest, firstLevelSearch, filterReserved bool, ensurePrefixesTrailingSlash bool, additionalPrefixes ...*rest.LookupFilter_PathPrefix) (nn []*tree.Node, facets []*tree.SearchFacet, pagination *rest.Pagination, err error)
func (*Handler) SwaggerTags ¶
SwaggerTags list the names of the service tags declared in the swagger json implemented by this service
Click to show internal directories.
Click to hide internal directories.