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

JapaneseTokenizerFactory opens dictionary file but never closes it again

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.4, 6.4, 7.0
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      JapaneseTokenizerFactory opens dictionary file in line 130
      InputStream stream = loader.openResource(userDictionaryPath);
      but never closes it again.
      This leads to too many open files after after a couple of query executions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nabucko Markus
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: