[
https://issues.apache.org/jira/browse/LUCENE-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479246#comment-13479246
]
Simon Willnauer commented on LUCENE-4486:
-----------------------------------------
bq.I am wondering about if it is possible to enable highlighter support for
SrndQuery and ComplexPhraseQuery by using this patch's solution?
I'd think so. I'm just not sure if those should be added really. It seems they
should be translated to other/more core queries first?
> Highlighter doesn't support ConstantScoreQuery
> ----------------------------------------------
>
> Key: LUCENE-4486
> URL: https://issues.apache.org/jira/browse/LUCENE-4486
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/highlighter
> Affects Versions: 3.6.1, 4.0
> Reporter: Simon Willnauer
> Assignee: Simon Willnauer
> Fix For: 4.1, 5.0
>
> Attachments: LUCENE-4486.patch
>
>
> if you wrap a query into a constant score the highlighter fails to highlight
> since ConstantScoreQuery is not recognized in WeightedSpanTermExtractor
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]