Enum Class OracleVectorStore.OracleVectorStoreIndexType
java.lang.Object
java.lang.Enum<OracleVectorStore.OracleVectorStoreIndexType>
org.springframework.ai.vectorstore.oracle.OracleVectorStore.OracleVectorStoreIndexType
- All Implemented Interfaces:
Serializable
,Comparable<OracleVectorStore.OracleVectorStoreIndexType>
,Constable
- Enclosing class:
- OracleVectorStore
public static enum OracleVectorStore.OracleVectorStoreIndexType
extends Enum<OracleVectorStore.OracleVectorStoreIndexType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default type of index created for an In-Memory Neighbor Graph vector index is Hierarchical Navigable Small World (HNSW).The default type of index created for a Neighbor Partition vector index is Inverted File Flat (IVF) vector index.Performs exact nearest neighbor search. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Performs exact nearest neighbor search. -
HNSW
The default type of index created for an In-Memory Neighbor Graph vector index is Hierarchical Navigable Small World (HNSW).
With Navigable Small World (NSW), the idea is to build a proximity graph where each vector in the graph connects to several others based on three characteristics:
- The distance between vectors
- The maximum number of closest vector candidates considered at each step of the search during insertion (EFCONSTRUCTION)
- Within the maximum number of connections (NEIGHBORS) permitted per vector
- See Also:
-
IVF
The default type of index created for a Neighbor Partition vector index is Inverted File Flat (IVF) vector index. The IVF index is a technique designed to enhance search efficiency by narrowing the search area through the use of neighbor partitions or clusters.
* @see Oracle Database documentation
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-