You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/10/23 01:01:14 UTC

[jira] [Commented] (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=17433196#comment-17433196 ] 

David Smiley commented on LUCENE-10197:
---------------------------------------

FYI Lucene 9 feature-freeze is November 1st.  Something like this, I'm not sure how comfortable I would be doing in a minor release.

> 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
>
> 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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org