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

There is a typo in GermanStemmer that can lead to wrong stemming

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.1
    • 5.3, 6.0
    • modules/analysis
    • None
    • New, Patch Available

    Description

      There is a small typo in GermanStemmer that leads to a wrong calclulation of the substCount in line 203:

      substCount =+ 2;

      should be

      substCount += 2;

      I created a Pull Request for this some time ago, but it was apprently overlooked:
      https://github.com/apache/lucene-solr/pull/141

      Attachments

        Activity

          People

            Unassigned Unassigned
            christophk Christoph Kaser
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: