Cloud Firestore Admin V1 API - Class Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig (v1.0.1)

Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig.

The index configuration to support vector search operations

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dimension

def dimension() -> ::Integer
Returns
  • (::Integer) — Required. The vector dimension this configuration applies to.

    The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.

#dimension=

def dimension=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The vector dimension this configuration applies to.

    The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.

Returns
  • (::Integer) — Required. The vector dimension this configuration applies to.

    The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.

#flat

def flat() -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex
Returns

#flat=

def flat=(value) -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex
Parameter
Returns