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

Reduce class/member visibility of all normalizer and stemmer classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 10.0 (main)
    • None
    • None
    • New

    Description

      This is a spin-off of LUCENE-10312.

      Constants and methods in those classes are exposed to the outside packages; we should be able to limit the visibility to private or, at least to package private.

      This change breaks backward compatibility so should be applied to the main branch (10.0) only, and a MIGRATE entry may be needed.

      Also, they seem unchanged since 2008, we could refactor them to embrace newer Java APIs as we did in https://github.com/apache/lucene/pull/540.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tomoko Tomoko Uchida
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h 10m
                  2h 10m