discontinuedPackage flutter_gemma has been discontinued and replaced by flutter_edge_ai.

SearchHit class

One search hit returned by QdrantEdgeClient.search.

Constructors

SearchHit({required String id, required double score, Map<String, dynamic>? payload})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Point ID as stored — typically a UUIDv5 string for points written via flutter_gemma's high-level repository.
final
payload → Map<String, dynamic>?
Decoded payload object if the point had one, otherwise null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → double
Similarity score per the shard's Distance metric. Cosine returns in -1, 1 (close to 1 = similar); for L2/Manhattan, lower = more similar (semantics inverted from cosine — be careful when threshold- filtering downstream).
final

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