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

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

    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.

        Activity

        Hide
        daniel.naber@t-online.de Daniel Naber added a comment -

        Created an attachment (id=11011)
        throw exception instead of failing silently; close readers

        Show
        daniel.naber@t-online.de Daniel Naber added a comment - Created an attachment (id=11011) throw exception instead of failing silently; close readers
        Hide
        jakarta@ehatchersolutions.com Erik Hatcher added a comment -

        Thanks. Your patch hass been applied.

        Show
        jakarta@ehatchersolutions.com Erik Hatcher added a comment - Thanks. Your patch hass been applied.

          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:

              Development