Github user Timothy055 commented on the issue:
https://github.com/apache/lucene-solr/pull/105
Hmm, I know we're already knowingly breaking the PostingsEnum contract, but
rather than throwing a IllegaStateException, maybe we could still return
positions, they just happen to be unordered, that way when the final position
is exhausted we return -1 as the sentinel value still? Otherwise, I'm good
with this, I'll merge in. Btw, we've seen other needs for something like a
CompositePostingsEnum that abstracts over a set of terms, but since this is
still internal, dropping the house-keeping will also make this code do less. We
can always try to cross that bridge later.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]