benwtrent opened a new pull request, #13641: URL: https://github.com/apache/lucene/pull/13641
It is possible to inappropriately use the knn formats and attempt to merge segments with mismatched field names. None of the formats actually check for `null`, they just all assume that the field entry exists. I opted to throw an IllegalArgumentException here to keep with the current behavior, but prevent an unexpected NPE. Additionally, this unifies the scalar quantized formats, these checked for null values and returned null. But we should behave uniformly across all formats. closes: https://github.com/apache/lucene/issues/13626 -- 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