VectorEncoding class abstract final Query Enterprise Edition
A vector encoding to reduce the size of the vectors index by algorithmic compression.
This feature is only available in the Enterprise Edition.
You can configure the vector encoding to address your application’s needs.
This vector encoding compression reduces disk space required and I/O time during indexing and queries, but greater compression can result in inaccurate results in distance calculations.
Constructors
- VectorEncoding.none()
-
Creates an encoding without data loss, using 4 bytes per dimension.
factory
- VectorEncoding.productQuantizer({required int subQuantizers, required int bits})
-
Creates a product quantizer encoding.
factory
- VectorEncoding.scalarQuantizer(ScalarQuantizerType type)
-
Creates a scalar quantizer encoding of the given
type
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited