[
https://issues.apache.org/jira/browse/SOLR-15962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487558#comment-17487558
]
ASF subversion and git services commented on SOLR-15962:
--------------------------------------------------------
Commit f6fbd2bf19fdb9cebcb13c0f8a31e037c48eac28 in solr's branch
refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f6fbd2b ]
Revert "SOLR-15962: surround parser & highlighting: ensure works"
This reverts commit 8d41ff575d893cc593366dea1873fe06bea8b2ea.
> Surround Query Parser sometimes doesn't highlight
> -------------------------------------------------
>
> Key: SOLR-15962
> URL: https://issues.apache.org/jira/browse/SOLR-15962
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: highlighter
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
>
> From TestSurroundQueryParser
> {noformat}
> "q", "{!surround df=name}k w l",
> "hl", "true",
> "hl.fl", "name",
> "hl.usePhraseHighlighter", "false"
> {noformat}
> This won't work with the unified highlighter because when
> usePhraseHighlighter is disabled as seen above, it relies on Query.visitTerms
> to be implemented properly, which it isn't (a TODO in Lucene for that query).
> Workaround is to not disable usePhraseHighlighter :-) or to use the original
> highlighter.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]