IndexKind Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.semantickernel.data.vectorstorage.definition.IndexKind

public enum IndexKind
extends java.lang.Enum<IndexKind>

Represents the kind of index to use for a vector store.

Fields

FLAT

Flat index, which performs an exact nearest neighbour search.

HNSW

Hierarchical Navigable Small World, which performs an approximate nearest neighbour (ANN) search.

IVFFLAT

Inverted file index, which performs an approximate nearest neighbour (ANN) search.

UNDEFINED

No index specified.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

getValue()

public String getValue()

Gets the string value of the index kind.

Returns

java.lang.String
the string value of the index kind

valueOf(String name)

public static IndexKind valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static IndexKind[] values()

Returns

Applies to