[
https://issues.apache.org/jira/browse/LUCENE-10197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462291#comment-17462291
]
Animesh Pandey commented on LUCENE-10197:
-----------------------------------------
Thanks a lot David for helping me out with this change. As a follow-up, will
there be a story for removing all the deprecated setters in the future versions?
> 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
> Fix For: 9.1
>
> 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]