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

[PATCH] GermanAnalyzer fails silently + doesn't close files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • modules/analysis
    • None
    • Operating System: other
      Platform: Other

    • 27987

    Description

      As mentioned on the developer list, the German analyzer will assume an empty list of
      stopwords if the stopword file isn't found. I'll attach a patch that makes it throw an
      IOException instead. Also the patch makes sure the file readers are closed.

      Attachments

        Activity

          People

            java-dev@lucene.apache.org Lucene Developers
            daniel.naber@t-online.de Daniel Naber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: