Uses of Class
com.azure.search.documents.indexes.models.VectorSearchAlgorithmMetric
Packages that use VectorSearchAlgorithmMetric
Package
Description
Package containing the data models for SearchServiceClient.
-
Uses of VectorSearchAlgorithmMetric in com.azure.search.documents.indexes.models
Subclasses with type arguments of type VectorSearchAlgorithmMetric in com.azure.search.documents.indexes.modelsModifier and TypeClassDescriptionfinal classThe similarity metric to use for vector comparisons.Fields in com.azure.search.documents.indexes.models declared as VectorSearchAlgorithmMetricModifier and TypeFieldDescriptionstatic final VectorSearchAlgorithmMetricVectorSearchAlgorithmMetric.COSINEMeasures the angle between vectors to quantify their similarity, disregarding magnitude.static final VectorSearchAlgorithmMetricVectorSearchAlgorithmMetric.DOT_PRODUCTCalculates the sum of element-wise products to gauge alignment and magnitude similarity.static final VectorSearchAlgorithmMetricVectorSearchAlgorithmMetric.EUCLIDEANComputes the straight-line distance between vectors in a multi-dimensional space.static final VectorSearchAlgorithmMetricVectorSearchAlgorithmMetric.HAMMINGOnly applicable to bit-packed binary data types.Methods in com.azure.search.documents.indexes.models that return VectorSearchAlgorithmMetricModifier and TypeMethodDescriptionstatic VectorSearchAlgorithmMetricVectorSearchAlgorithmMetric.fromString(String name) Creates or finds a VectorSearchAlgorithmMetric from its string representation.ExhaustiveKnnParameters.getMetric()Get the metric property: The similarity metric to use for vector comparisons.HnswParameters.getMetric()Get the metric property: The similarity metric to use for vector comparisons.Methods in com.azure.search.documents.indexes.models that return types with arguments of type VectorSearchAlgorithmMetricModifier and TypeMethodDescriptionVectorSearchAlgorithmMetric.values()Gets known VectorSearchAlgorithmMetric values.Methods in com.azure.search.documents.indexes.models with parameters of type VectorSearchAlgorithmMetricModifier and TypeMethodDescriptionExhaustiveKnnParameters.setMetric(VectorSearchAlgorithmMetric metric) Set the metric property: The similarity metric to use for vector comparisons.HnswParameters.setMetric(VectorSearchAlgorithmMetric metric) Set the metric property: The similarity metric to use for vector comparisons.