Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUCENE-10523: factor out UnifiedHighlighter.newFieldHighlighter() method #821

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

cpoerschke
Copy link
Contributor

@cpoerschke cpoerschke marked this pull request as ready for review April 19, 2022 13:39
@cpoerschke cpoerschke requested a review from dsmiley July 13, 2022 11:14
@@ -1091,6 +1091,24 @@ protected FieldHighlighter getFieldHighlighter(
getFormatter(field));
}

protected FieldHighlighter newFieldHighlighter(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it "worth it" to do this when the getFieldHighlighter method, which calls this, is already protected and is only 3 lines?

Copy link
Contributor

@dsmiley dsmiley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. It's a minor matter so why not.

@cpoerschke cpoerschke merged commit 56462b5 into apache:main Jul 13, 2022
@cpoerschke cpoerschke deleted the LUCENE-10523 branch July 13, 2022 17:43
asfgit pushed a commit that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants