VectorSearchAlgorithmKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. VectorSearchAlgorithmKind
- com.
- com.
public final class VectorSearchAlgorithmKind
extends ExpandableStringEnum<VectorSearchAlgorithmKind>
The algorithm used for indexing and querying.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Vector |
EXHAUSTIVE_KNN
Exhaustive KNN algorithm which will perform brute-force search. |
static final
Vector |
HNSW
HNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm. |
Constructor Summary
Constructor | Description |
---|---|
VectorSearchAlgorithmKind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vector |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vector |
fromString(String name)
Creates or finds a Vector |
static
Collection<Vector |
values()
Gets known Vector |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
EXHAUSTIVE_KNN
public static final VectorSearchAlgorithmKind EXHAUSTIVE_KNN
Exhaustive KNN algorithm which will perform brute-force search.
HNSW
public static final VectorSearchAlgorithmKind HNSW
HNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm.
Constructor Details
VectorSearchAlgorithmKind
@Deprecated
public VectorSearchAlgorithmKind()
Deprecated
Creates a new instance of VectorSearchAlgorithmKind value.
Method Details
fromString
public static VectorSearchAlgorithmKind fromString(String name)
Creates or finds a VectorSearchAlgorithmKind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VectorSearchAlgorithmKind values.
Returns:
Applies to
Azure SDK for Java