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: 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

Reply via email to