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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/analysis
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: