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

Cleanup WordListLoader to use try-with-resources and make the default stop words unmodifiable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1, 10.0 (main)
    • core/other
    • None
    • New

    Description

      The WordlistLoader can be refactored to use try-with-resources.

      In addition I figured out that the default stopword files in the analyszers module are documented to be unmodifiable, but in fact the wrapping around the CharArraySet to make them unmodifiable is missing.

      Attachments

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m