Show / Hide Table of Contents

Enum DistanceMetric

The distance metric to use when measuring vector distance in an index

Namespace: Couchbase.Lite.Enterprise.Query
Assembly: Couchbase.Lite.dll
Syntax
public enum DistanceMetric
Remarks

NOTE: This is an enterprise edition feature

Fields

Name Description
Cosine

Cosine distance

Dot

Dot product distance

Euclidean

Euclidean distance

EuclideanSquared

Squared euclidean distance

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX