[
https://issues.apache.org/jira/browse/LUCENE-10197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462243#comment-17462243
]
ASF subversion and git services commented on LUCENE-10197:
----------------------------------------------------------
Commit a9f812c1cf90b0c35af8a82b8c76d826601684c7 in lucene's branch
refs/heads/branch_9x from Animesh Pandey
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=a9f812c ]
LUCENE-10197: UnifiedHighlighter now has a Builder (#412)
Setters (mutable state) on the UH is deprecated.
Co-authored-by: David Smiley <[email protected]>
> UnifiedHighlighter should use builders for thread-safety
> --------------------------------------------------------
>
> Key: LUCENE-10197
> URL: https://issues.apache.org/jira/browse/LUCENE-10197
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/highlighter
> Reporter: Animesh Pandey
> Priority: Minor
> Labels: newdev
> Attachments: LUCENE-10197.patch
>
> Time Spent: 7.5h
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]