[ https://issues.apache.org/jira/browse/LUCENE-10197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462242#comment-17462242 ]
ASF subversion and git services commented on LUCENE-10197: ---------------------------------------------------------- Commit b1b1a890d0890e7e35bb401cc8d851a45cc155f1 in lucene's branch refs/heads/main from Animesh Pandey [ https://gitbox.apache.org/repos/asf?p=lucene.git;h=b1b1a89 ] LUCENE-10197: UnifiedHighlighter now has a Builder (#412) Setters (mutable state) on the UH is deprecated. Co-authored-by: David Smiley <dsmi...@apache.org> > 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: 7h 20m > 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: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org