BoostTokenScoring class
Boosts certain tokens, like firstName or lastName. This assumes your tokenizer routine also provided named tokens.
- Inheritance
-
- Object
- SearchScoring
- BoostTokenScoring
Constructors
-
BoostTokenScoring(Map<
String, Boost> boosts)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scoreTerm(
FullTextSearch search, TermSearchResult term, Score current) → void -
Inspects a matched term
term
and appends a score tocurrent
. The scores are calculated after all scorers have run, at which point the amount values are summed up, and then the percent multipliers are appliedoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited