benwtrent commented on code in PR #13763:
URL: https://github.com/apache/lucene/pull/13763#discussion_r1754484940
##########
lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene90/Lucene90HnswVectorsReader.java:
##########
@@ -223,7 +224,8 @@ public void checkIntegrity() throws IOException {
@Override
public FloatVectorValues getFloatVectorValues(String field) throws
IOException {
- FieldEntry fieldEntry = fields.get(field);
+ final FieldInfo info = fieldInfos.fieldInfo(field);
Review Comment:
couldn't `final FieldInfo info` be `null`? (we should check for `null`, see
https://github.com/apache/lucene/pull/13641 which should be merged soon).
--
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]