You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/08/20 20:39:46 UTC

[jira] [Resolved] (LUCENE-6755) more tests of ToChildBlockJoinScorer.advance

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

Hoss Man resolved LUCENE-6755.
------------------------------
       Resolution: Fixed
         Assignee: Hoss Man
    Fix Version/s: 5.4
                   Trunk

> more tests of ToChildBlockJoinScorer.advance
> --------------------------------------------
>
>                 Key: LUCENE-6755
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6755
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: Trunk, 5.4
>
>
> I recently helped diagnose some strange errors with ToChildBlockJoinQuery in an older version of Solr which lead me to realize that the problem seemed to have been fixed by LUCENE-6593 -- however the tests Adrien added in that issue focused specifically the interaction of ToChildBlockJoinScorer with with the (fairly new) aproximations support in Scorers (evidently that was trigger that caused Adrien to investigate and make the fixes).
> However, in my initial diagnoses / testing, there were at least 2 (non aproximation based) situations where the _old_ code was problematic:
> * ToChildBlockJoinScorer.advance didn't satisfy the "nextDoc equivilent behavior" contract in the special case where the first doc in a segment was a parent w/o any kids
> * in indexes that used multiple levels of hierarchy, a BooleanQuery that combined multiple ToChildBlockJoinQueries using different parent filters -- ie: "find docs that are _children_ of X and _grandchildren_ of Y"
> As mentioned, Adrien's changes in LUCENE-6593 seemed to fix both of these problematic situations, but I'm opening this issue to track the addition of some new tests to explicitly cover these situations to protect us against future regression.



--
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