You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2013/07/13 15:39:48 UTC

[jira] [Closed] (LUCENE-5103) join on single-valued field with deleted docs scores too few docs

     [ https://issues.apache.org/jira/browse/LUCENE-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley closed LUCENE-5103.
--------------------------------

    Resolution: Fixed
    
> join on single-valued field with deleted docs scores too few docs
> -----------------------------------------------------------------
>
>                 Key: LUCENE-5103
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5103
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/join
>    Affects Versions: 4.3.1
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 4.4
>
>         Attachments: LUCENE-5103_join_livedocs_bug.patch
>
>
> TermsIncludingScoreQuery has an inner class SVInnerScorer used when the "to" side of a join is single-valued.  This has a nextDocOutOfOrder() method that is faulty when there are deleted documents, and a document that is deleted is matched by the join.  It'll terminate with NO_MORE_DOCS prematurely.  Interestingly, it _appears_ MVInnerScorer (multi-valued) was coded properly to not have this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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