distanceType property

VectorDistanceType? distanceType
final

The distance type used for the HNSW index; if none is given, the default VectorDistanceType.euclidean is used.

Changing this value causes re-indexing.

Implementation

final VectorDistanceType? distanceType;