TermMatcher class abstract
This file contains term matchers - A matcher examines a search term and available tokens and determines if there are any matches. This can include partial matches, contains, startsWith, etc. Each of these types of matches is represented by a single TermMatcher to make it easy to add/remove them when you're searching. For example, you might want to restrict the search to not include "contains" matches.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The name of this matcher
no setter
- priority → int
-
What order this matcher should run. This is important because the first matcher that finds a result "wins".
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply<
T> (FullTextSearch< T> search, TokenizedItem<T> item, String term, FTSToken token) → List<TermMatch> - Applies this matcher and returns one or more match results
-
compareTo(
TermMatcher other) → int -
Compares this object to another object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited