Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4874

Don't override non abstract methods that have an impl through other abstract methods in FilterAtomicReader and related classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-4874.patch
          32 kB
          Adrien Grand
        2. LUCENE-4874.patch
          31 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: