iverase commented on a change in pull request #874: LUCENE-8976: Use exact distance between point and bounding rectangle in FloatPointNearestNeighbor URL: https://github.com/apache/lucene-solr/pull/874#discussion_r323177766
########## File path: lucene/sandbox/src/java/org/apache/lucene/document/FloatPointNearestNeighbor.java ########## @@ -75,132 +73,75 @@ public String toString() { final int topN; final PriorityQueue<NearestHit> hitQueue; final float[] origin; - private int dims; - private int updateMinMaxCounter; - private float[] min; - private float[] max; - + final private int dims; + double worstNearestDistanceSquared = Double.POSITIVE_INFINITY; + int worstNearestDistanceDoc =Integer.MAX_VALUE; Review comment: renamed ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org