Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9798

Fix looping bug when calculating full KNN results in KnnGraphTester

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      There is a minor looping bug when generating Full KNN results for comparison with HNSW in KnnGraphTester. Basically, the result in this line 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.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nitiraj Nitiraj Rathore
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 50m
                3h 50m