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

DelegatingAnalyzerWrapper should delegate normalization too

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.2
    • 6.3, 7.0
    • None
    • None
    • New

    Description

      This is something that I overlooked in LUCENE-7355: (Delegating)AnalyzerWrapper uses the default implementation of initReaderForNormalization and normalize, meaning that by default the normalization is a no-op. It should delegate to the wrapped analyzer.

      Attachments

        1. LUCENE-7355.patch
          6 kB
          Adrien Grand
        2. LUCENE-7429.patch
          13 kB
          Adrien Grand
        3. LUCENE-7429.patch
          13 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: