Vector encoding type to use in a VectorIndexConfiguration, for reducing the size of the stored vectors.
More...
#include <cbl++/VectorIndex.hh>
Vector encoding type to use in a VectorIndexConfiguration, for reducing the size of the stored vectors.
- Note
- ENTERPRISE EDITION ONLY
◆ VectorEncoding()
| cbl::VectorEncoding::VectorEncoding |
( |
| ) |
|
|
delete |
◆ none()
Creates a no-encoding type to use in VectorIndexConfiguration; 4 bytes per dimension, no data loss.
- Returns
- A None encoding object.
◆ productQuantizer()
| VectorEncoding cbl::VectorEncoding::productQuantizer |
( |
unsigned int | subquantizers, |
|
|
unsigned int | bits ) |
|
inlinestatic |
Creates a Product Quantizer encoding type to use in VectorIndexConfiguration.
- Parameters
-
| subquantizers | Number of subquantizers. Must be > 1 and a factor of vector dimensions. |
| bits | Number of bits. Must be >= 4 and <= 12. |
- Returns
- A Product Quantizer encoding object.
◆ ref()
◆ scalarQuantizer()
Creates a Scalar Quantizer encoding type to use in VectorIndexConfiguration.
- Parameters
-
| type | Scalar Quantizer Type. |
- Returns
- A Scalar Quantizer encoding object.
◆ VectorIndexConfiguration
The documentation for this class was generated from the following file: