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

DelegatingAnalyzerWrapper should delegate normalization too

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: