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 Details

    • HNSW

      public static final VectorSearchAlgorithmKind HNSW
      HNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm.
    • EXHAUSTIVE_KNN

      public static final VectorSearchAlgorithmKind EXHAUSTIVE_KNN
      Exhaustive KNN algorithm which will perform brute-force search.
  • Constructor Details

    • VectorSearchAlgorithmKind

      @Deprecated public VectorSearchAlgorithmKind()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding VectorSearchAlgorithmKind.
    • values

      public static Collection<VectorSearchAlgorithmKind> values()
      Gets known VectorSearchAlgorithmKind values.
      Returns:
      known VectorSearchAlgorithmKind values.