[ https://issues.apache.org/jira/browse/LUCENE-10197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454010#comment-17454010 ]
David Smiley commented on LUCENE-10197: --------------------------------------- I think a single JIRA is fine. I suppose if we merely deprecate things in 9.1 that are removed in 10 then we needn't have a CHANGES.txt entry for 10 -- thus one entry for CHANGES.txt for 9.1 mentioning both the builder and also deprecating mutability. > 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: 6h > 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