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.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?