Class AdvancedSearchService
Constructors
constructor
- new AdvancedSearchService(coreSearchService, connection, typesenseService, searchIndexService, collectionConfigService, analyticsService, options): AdvancedSearchService
Internal
Methods
reindex
- reindex(ctx): Promise<SubscribableJob<SearchIndexJobData>>
Returns Promise<SubscribableJob<SearchIndexJobData>>
search
- search(ctx, selectedFields, input?): Promise<SearchResponse>
Parameters
- ctx: RequestContext
- selectedFields: (keyof SearchResponse)[]
Optional
input: SearchInput
Returns Promise<SearchResponse>
Used to perform a search on the product index