You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2013/04/18 09:33:16 UTC
[jira] [Assigned] (LUCENE-4940) ToParentBlockJoinQuery throws
exception on empty parent filter DocIdSet
[ https://issues.apache.org/jira/browse/LUCENE-4940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer reassigned LUCENE-4940:
---------------------------------------
Assignee: Simon Willnauer
> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org