You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/06/19 20:41:01 UTC
[jira] [Updated] (LUCENE-6593) ToChildBlockJoinScorer should not
fail when advanced on a parent document
[ https://issues.apache.org/jira/browse/LUCENE-6593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-6593:
---------------------------------
Attachment: LUCENE-6593.patch
Here is a patch.
> ToChildBlockJoinScorer should not fail when advanced on a parent document
> -------------------------------------------------------------------------
>
> Key: LUCENE-6593
> URL: https://issues.apache.org/jira/browse/LUCENE-6593
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 5.3
>
> Attachments: LUCENE-6593.patch
>
>
> ToChildBlockJoinScorer fails if you advance it on a parent document. While this was fine if you wrapped it in a FilteredQuery, it is not if you wrap it in a BooleanQuery because of its approximation support: it can be advanced to a document that has been returned by the approximation of another clause but not confirmed yet. So ToChildBlockJoinScorer should accept any valid doc ID as a target.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org