MatchedTermsScoring class
Applies a linear boost based on the number of search terms that were matched. See MatchAllTermsScoring
- Inheritance
-
- Object
- SearchScoring
- MatchedTermsScoring
Constructors
- MatchedTermsScoring()
-
const
Properties
- 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 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