[ 
https://issues.apache.org/jira/browse/LUCENE-10197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453972#comment-17453972
 ] 

Animesh Pandey commented on LUCENE-10197:
-----------------------------------------

[~dsmiley] Can we specify that this change is for v10.x only?

 

Should the back-porting to v9.x be a separate JIRA? 

> 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

Reply via email to