[vectordb](../README.md) / [Exports](../modules.md) / MetricType

# Enumeration: MetricType

Distance metrics type.

## Table of contents

### Enumeration Members

- [Cosine](MetricType.md#cosine)
- [Dot](MetricType.md#dot)
- [L2](MetricType.md#l2)

## Enumeration Members

### Cosine

• **Cosine** = ``"cosine"``

Cosine distance

#### Defined in

[index.ts:798](https://github.com/lancedb/lancedb/blob/7856a94/node/src/index.ts#L798)

___

### Dot

• **Dot** = ``"dot"``

Dot product

#### Defined in

[index.ts:803](https://github.com/lancedb/lancedb/blob/7856a94/node/src/index.ts#L803)

___

### L2

• **L2** = ``"l2"``

Euclidean distance

#### Defined in

[index.ts:793](https://github.com/lancedb/lancedb/blob/7856a94/node/src/index.ts#L793)
