lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4874) Remove FilterTerms.intersect
Date Sat, 23 Mar 2013 15:27:15 GMT


Robert Muir commented on LUCENE-4874:

I think we should be consistent about this completely and not override any methods with default
implementations in these Filter* classes.

So that means stuff like FilterTermsEnum.seekExact too. We should review all these classes
in FilterAtomicReader.
> Remove FilterTerms.intersect
> ----------------------------
>                 Key: LUCENE-4874
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message