ScoredChunk class final
A search result: a stored document and its similarity to the query.
Like Document, this has no value equality: it wraps a document, so it
can only be as comparable as the document inside it. Results come back
ranked, so compare document.id when you need to check which document a
result points at.
Constructors
- ScoredChunk({required Document document, required double score})
- Creates a scored result.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited