apply<T> method
List<TermMatch>
apply<T>(
- FullTextSearch<
T> search, - TokenizedItem<
T> item, - String term,
- FTSToken token,
override
Applies this matcher and returns one or more match results
Implementation
@override
List<TermMatch> apply<T>(FullTextSearch<T> search, TokenizedItem<T> item,
String term, FTSToken token) {
term = term.toLowerCase();
return [
if (token.equals(term)) TermMatch.equals(term, token),
];
}