shiming.li created LUCENE-10663:
-----------------------------------

             Summary: KnnVectorQuery explain incorrect when multiple segments
                 Key: LUCENE-10663
                 URL: https://issues.apache.org/jira/browse/LUCENE-10663
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/search
    Affects Versions: 9.2, 9.1, 9.0
            Reporter: shiming.li


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. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to