SearchResult class
Object model for a ranked search result of a query against a text index:
Constructors
- SearchResult(String docId, double relevance)
-
Instantiates a const SearchResult instance:
const
Properties
- docId → String
-
The unique identifier of the document result in the corpus.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- relevance → double
-
The relevance score awarded to the document by the scoring and ranking
algorithm.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited