FindNearest class

Nearest Neighbors search config.

Constructors

FindNearest({String? distanceMeasure, int? limit, Value? queryVector, FieldReference? vectorField})
FindNearest.fromJson(Map json_)

Properties

distanceMeasure String?
The distance measure to use, required.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int?
The number of nearest neighbors to return.
getter/setter pair
queryVector Value?
The query vector that we are searching on.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vectorField FieldReference?
An indexed vector field to search upon.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited