VectorSearchHit class
One (id, distance) search result. id is whatever caller-supplied
key was passed to FlatIndex.add; distance is in the metric that
was requested at search time (smaller = better for L2/cosine,
larger = better for inner-product; the returned list is always
sorted best-first).
Constructors
- VectorSearchHit(Object? id, double distance)
-
const
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