BoostTokenScoring class

Boosts certain tokens, like firstName or lastName. This assumes your tokenizer routine also provided named tokens.

Inheritance

Constructors

BoostTokenScoring(Map<String, Boost> boosts)

Properties

boosts → Map<String, Boost>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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 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
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited