milvus-logo
LFAI
< Docs
  • Java

MetricType

The enumeration of all available metric types in Milvus.

package io.milvus.param;
public enum MetricType
TypeDescription
INVALIDFor internal usage.
L2Euclidean distance. Only for float vectors.
IPInner product. Only for normalized float vectors.
HAMMINGOnly for binary vectors.
JACCARDOnly for binary vectors.
TANIMOTOOnly for binary vectors.
SUBSTRUCTUREOnly for binary vectors.
SUPERSTRUCTUREOnly for binary vectors.
Feedback

Was this page helpful?