Skip to content

Searchers

Giacomo Stelluti Scala edited this page Jan 20, 2020 · 9 revisions

Reason

A sercher service is a type that inherits from Searcher base class and once configured in a SearchContext will try to produce a sequence of ResultInfo. Must be a subtype of Searcher and must override and mark async the following abstract method:

Task<IEnumerable<ResultInfo>> SearchAsync(string query)

It's also mandatory to define a constructor that accepts a single object parameter, used for the settings of the specific searcher.

Built-In

PickAll comes with following built-in searchers:

Clone this wiki locally