[
https://issues.apache.org/jira/browse/LUCENE-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612908#comment-13612908
]
Adrien Grand commented on LUCENE-4874:
--------------------------------------
Although DocIdSetIterator.advance is abstract, it describes a default
implementation that many classes that extend DocsEnum/DocsAndPositionsEnum
duplicate. Maybe we should just provide a default implementation for advance,
this would save copy-pastes.
> Remove FilterTerms.intersect
> ----------------------------
>
> Key: LUCENE-4874
> URL: https://issues.apache.org/jira/browse/LUCENE-4874
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
>
> Terms.intersect is an optional method. The fact that it is overridden in
> FilterTerms forces any non-trivial class that extends FilterTerms to override
> intersect in order this method to have a correct behavior. If FilterTerms did
> not override this method and used the default impl, we would not have this
> problem.
--
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]