You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Animesh Pandey (Jira)" <ji...@apache.org> on 2021/12/19 20:23:00 UTC

[jira] [Comment Edited] (LUCENE-10197) UnifiedHighlighter should use builders for thread-safety

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

Animesh Pandey edited comment on LUCENE-10197 at 12/19/21, 8:22 PM:
--------------------------------------------------------------------

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?


was (Author: apanimesh061):
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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org