Class: Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/firestore/admin/v1/index.rb

Overview

The index configuration to support vector search operations

Defined Under Namespace

Classes: FlatIndex

Instance Attribute Summary collapse

Instance Attribute Details

#dimension::Integer

Returns 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.



98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/firestore/admin/v1/index.rb', line 98

class VectorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An index that stores vectors in a flat data structure, and supports
  # exhaustive search.
  class FlatIndex
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#flat::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex

Returns Indicates the vector index is a flat index.

Returns:



98
99
100
101
102
103
104
105
106
107
108
# File 'proto_docs/google/firestore/admin/v1/index.rb', line 98

class VectorConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An index that stores vectors in a flat data structure, and supports
  # exhaustive search.
  class FlatIndex
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end