SqliteSearchStrategy
A rather naive search for SQLite / SQL.js. Rather than proper
full-text searching, it uses a weighted LIKE "%term%" operator instead.
- 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?