Vector Similarity Metric

In Hippo, similarity metrics are used to measure similarities among vectors. The following table shows how these widely used similarity metrics fit with various input data forms and indexes Hippo supports.

Similarity MetricsSimilarity Metrics
  • Euclidean distance (L2)
  • Inner product (IP)
  • Cosine (COSINE)
  • FLAT
  • IVF_SQ
  • IVF_PQ
  • HNSW
  • Table 7 Vector Similarity Metric