You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Nitiraj Rathore (Jira)" <ji...@apache.org> on 2021/02/22 06:42:00 UTC

[jira] [Created] (LUCENE-9798) Fix looping bug when calculating full KNN results in KnnGraphTester

Nitiraj Rathore created LUCENE-9798:
---------------------------------------

             Summary: Fix looping bug when calculating full KNN results in KnnGraphTester
                 Key: LUCENE-9798
                 URL: https://issues.apache.org/jira/browse/LUCENE-9798
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/other
            Reporter: Nitiraj Rathore


There is a minor looping bug when generating Full KNN results for comparison with HNSW in KnnGraphTester. Basically, the result in [this line|https://github.com/apache/lucene-solr/blob/a53e8e722884e5655206292590da67bb71efc34d/lucene/core/src/test/org/apache/lucene/util/hnsw/KnnGraphTester.java#L551] should be calculated after the while loop finishes.

Without this fix, vector files with ~2GB will work fine but if size of files are more than that, it may cause incorrect Full KNN results.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org