Class VectorSearchAlgorithmKind
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorSearchAlgorithmKind>
com.azure.search.documents.indexes.models.VectorSearchAlgorithmKind
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VectorSearchAlgorithmKind
extends com.azure.core.util.ExpandableStringEnum<VectorSearchAlgorithmKind>
The algorithm used for indexing and querying.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorSearchAlgorithmKindExhaustive KNN algorithm which will perform brute-force search.static final VectorSearchAlgorithmKindHNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorSearchAlgorithmKindfromString(String name) Creates or finds a VectorSearchAlgorithmKind from its string representation.static Collection<VectorSearchAlgorithmKind> values()Gets known VectorSearchAlgorithmKind values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
HNSW
HNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm. -
EXHAUSTIVE_KNN
Exhaustive KNN algorithm which will perform brute-force search.
-
-
Constructor Details
-
VectorSearchAlgorithmKind
Deprecated.Use thefromString(String)factory method.Creates a new instance of VectorSearchAlgorithmKind value.
-
-
Method Details
-
fromString
Creates or finds a VectorSearchAlgorithmKind from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VectorSearchAlgorithmKind.
-
values
Gets known VectorSearchAlgorithmKind values.- Returns:
- known VectorSearchAlgorithmKind values.
-
fromString(String)factory method.