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

UnifiedHighlighter should use builders for thread-safety

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.1
    • modules/highlighter
    • New

    Description

      UnifiedHighlighter is not thread-safe due to the presence of setters. We can move the fields to builder so that the class becomes thread-safe.

      Attachments

        1. LUCENE-10197.patch
          6 kB
          Animesh Pandey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apanimesh061 Animesh Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 7.5h
                  7.5h