benwtrent commented on PR #14792: URL: https://github.com/apache/lucene/pull/14792#issuecomment-2976430071
@Pulkitg64 I don't understand how this is part of https://github.com/apache/lucene/issues/13158 I would have thought the APIs stay the same. Quantization should be able to "rehydrate" the quantized vectors into floating point (or whatever the original values). So, the segment, depending on what data it has access to, will: - Return the original doc value floating point vectors - Rehydrate the quantized values. Either way, users should still be able to call `float[] vectorValue(int ord)`. I would think there is a sub-class called `QuantizedFloatVectorValues`, that satisfies the `FloatVectorValues` interface. But maybe we add an `isApproximate()` or a `extractQuantizedValues()` that returns null, or the `QuantizedFloatVectorValues` interface. But it is likely useless for the user to have access to the quantized bytes directly as they don't provide much value without knowing how to use them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org