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

KnnVectorQuery explain incorrect when multiple segments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.0, 9.1, 9.2
    • 9.4
    • core/search
    • None
    • New

    Description

      If there are multiple segments. KnnVectorQuery explain has a bug in locating docid. 

      This is because the docid in explain, which is the docBase without the segment. 

      In KnnVectorQuery.DocAndScoreQuery docs docid is increased in each segment of the docBase. 

      The two docid are not in the same dimension.

      So, in the 'DocAndScoreQuery.explain', needs to be added with the segment's docBase. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              limingnihao Shiming Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h