[ https://issues.apache.org/jira/browse/LUCENE-10663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573154#comment-17573154 ]
ASF subversion and git services commented on LUCENE-10663: ---------------------------------------------------------- Commit 1559de836ce347a8fd8e5ffbbb51fda14f8c16cf in lucene's branch refs/heads/branch_9x from Shiming Li [ https://gitbox.apache.org/repos/asf?p=lucene.git;h=1559de836ce ] LUCENE-10663: Fix KnnVectorQuery explain with multiple segments (#1050) If there are multiple segments. KnnVectorQuery explain has a bug in locating the doc ID. This is because the doc ID in explain is the docBase without the segment. In KnnVectorQuery.DocAndScoreQuery docs docid is increased in each segment of the docBase. So, in the 'DocAndScoreQuery.explain', needs to be added with the segment's docBase. Co-authored-by: Julie Tibshirani <juliet...@apache.org> > 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.0, 9.1, 9.2 > Reporter: Shiming Li > Priority: Major > Fix For: 9.4 > > Time Spent: 1h > Remaining Estimate: 0h > > 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: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org