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

Simon Willnauer resolved LUCENE-4940.
-------------------------------------

    Resolution: Fixed
    
> ToParentBlockJoinQuery throws exception on empty parent filter DocIdSet
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-4940
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4940
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/join
>    Affects Versions: 5.0, 4.3
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4940.patch
>
>
> previously DocIdSet.EMPTY_DOCIDSET retuned NO_MORE_DOCS by default when 
> DocIdSetIterator#docId() was called but since LUCENE-4924 we return -1 if the 
> empty iterator is unpositioned / not exhausted. This causes an 
> IllegalStateException since we couldn't detect the empty DocIdSet. Our tests 
> somehow don't catch this and I ran into it integrating my RC0 that I build 
> into ES last night so this is unreleased...

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to