PostgresSearchStrategy
A weighted fulltext search for PostgeSQL.
- Implements:
SearchStrategy
init
method
(injector: Injector) => getFacetValueIds
method
(ctx: RequestContext, input: SearchInput, enabledOnly: boolean) => Promise<Map<ID, number>>getCollectionIds
method
(ctx: RequestContext, input: SearchInput, enabledOnly: boolean) => Promise<Map<ID, number>>getSearchResults
method
(ctx: RequestContext, input: SearchInput, enabledOnly: boolean) => Promise<SearchResult[]>getTotalCount
method
(ctx: RequestContext, input: SearchInput, enabledOnly: boolean) => Promise<number>Was this chapter helpful?