Open pySilver opened 14 hours ago
Ah, yes, the DenseVector
class in this package is designed to represent a list of floating point numbers, it isn't going to work as anything else.
Let me think about how to best represent the new dense vector, we may need to add a separate class for them, since the type definitions in this package aren't as flexible as the ones Elasticsearch uses server-side.
Here is a valid example of bit
dense_vector
field withelement_type = 'bit'
where values arehex
:This type become available in 8.16 release of ES, I believe.
So I'm getting serialization error when trying to use that vector type:
Error (shown when validation is enabled):