You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2012/10/17 09:52:03 UTC

[jira] [Created] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Simon Willnauer created LUCENE-4486:
---------------------------------------

             Summary: 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: 4.0, 3.6.1
            Reporter: Simon Willnauer
             Fix For: 4.1, 5.0


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


[jira] [Updated] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-4486:
------------------------------------

    Attachment: LUCENE-4486.patch

here is a patch incl. test & changes entry
                
> 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
>             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


[jira] [Commented] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Posted by "Ahmet Arslan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477847#comment-13477847 ] 

Ahmet Arslan commented on LUCENE-4486:
--------------------------------------

I am wondering about if it is possible to enable highlighter support for SrndQuery and ComplexPhraseQuery by using this patch's solution?
                
> 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


[jira] [Assigned] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer reassigned LUCENE-4486:
---------------------------------------

    Assignee: Simon Willnauer
    
> 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


[jira] [Commented] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ 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


[jira] [Commented] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477791#comment-13477791 ] 

Michael McCandless commented on LUCENE-4486:
--------------------------------------------

+1
                
> 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
>             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


[jira] [Resolved] (LUCENE-4486) Highlighter doesn't support ConstantScoreQuery

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer resolved LUCENE-4486.
-------------------------------------

    Resolution: Fixed

committed to trunk in revision 1399205.
backported to 4.x in revision 1399207.

                
> 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