Content Component 26.1
Content Component Help

# DistanceMetric

The metric to use to determine the distance between vectors in your index for the field with this property. This field must also be configured with the VectorType property.

You can use one of the following values:

- L2

- Cosine

- InnerProduct. If you use InnerProduct then your vectors must be pre-normalized.

If you do not set the `DistanceMetric` configuration parameter for a particular vector field, Content uses the value of DistanceMetric in the `[VectorIndex]` configuration section.

Type: | String
Default: | The value of DistanceMetric in the `[VectorIndex]` configuration section
Required: | No
Configuration Section: | `MyProperty`
Example: | `DistanceMetric=L2`
See Also: | VectorType

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.1

Topic Title: DistanceMetric