AnnoyIndex class
Annoy index
Properties
Methods
-
close(
) → void - Close the index
-
getItemVector(
int itemId) → Float32List - Get item vector with id
-
getNearest(
Float32List vector, int nResults, {int searchK = -1, bool includeDistance = false}) → AnnoyIndexSearchResult - Get nearest items to the given vector
-
getNearestToItem(
int itemId, int nResults, {int searchK = -1, bool includeDistance = false}) → AnnoyIndexSearchResult - Get nearest items to the given item id
-
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