Skip to content

Searchers

Giacomo Stelluti Scala edited this page Dec 31, 2019 · 9 revisions

Reason

A sercher service is a type that configured SearchContext with try to produce a collection of ResultInfo. It's a class of type Searcher that must override and define async the following abstract method: Task<IEnumerable<ResultInfo>> SearchAsync(string query)

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

Clone this wiki locally