VectorIndex

Contains the configuration settings for a vector index, including the index name, vector attribute, dimensions, distance function, search schema, and projection.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of dimensions in each vector.

Link copied to clipboard

The distance function used to calculate similarity between vectors. Valid values: COSINE, EUCLIDEAN, DOT_PRODUCT.

Link copied to clipboard

The name of the vector index.

Link copied to clipboard

Specifies attributes that are copied (projected) from the table into the vector index.

Link copied to clipboard

The search schema that defines partition key and inline filter attributes for the vector index.

Link copied to clipboard

The vector attribute configuration for the index.

Functions

Link copied to clipboard
inline fun copy(block: VectorIndex.Builder.() -> Unit = {}): VectorIndex
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String