Simon Willnauer created LUCENE-4940:
---------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]