lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery
Date Thu, 18 Oct 2012 19:00:03 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message