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 |