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

JapaneseTokenizerFactory opens dictionary file but never closes it again

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.5.4, 6.4, 7.0
    • modules/analysis
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: