Pulkitg64 commented on code in PR #14792:
URL: https://github.com/apache/lucene/pull/14792#discussion_r2168151582
##########
lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99ScalarQuantizedVectorsReader.java:
##########
@@ -189,6 +190,21 @@ private FieldEntry getFieldEntry(String field) {
public FloatVectorValues getFloatVectorValues(String field) throws
IOException {
final FieldEntry fieldEntry = getFieldEntry(field);
final FloatVectorValues rawVectorValues =
rawVectorsReader.getFloatVectorValues(field);
+ if (rawVectorValues instanceof
OffHeapFloatVectorValues.EmptyOffHeapVectorValues
Review Comment:
Yes, that simplifies things. Fixed in new revision.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]