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
-
(::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
-
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.
-
(::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
- (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex) — Indicates the vector index is a flat index.
#flat=
def flat=(value) -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex
- value (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex) — Indicates the vector index is a flat index.
- (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex) — Indicates the vector index is a flat index.