scoreTerm method
Inspects a matched term term
and appends a score to current
. The scores are calculated
after all scorers have run, at which point the amount values are summed up, and then the
percent multipliers are applied
Implementation
@override
void scoreTerm(FullTextSearch search, TermSearchResult term, Score current) =>
current += Boost.amount(
term.matchedTerms.length.toDouble(),
() => "terms_x${term.matchedTerms.length}",
);