You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/04/01 06:47:15 UTC

[jira] [Resolved] (LUCENE-4861) can we use a single PostingsHighlighter for both whole and snippet highlighting?

     [ https://issues.apache.org/jira/browse/LUCENE-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-4861.
---------------------------------

    Resolution: Fixed
    
> can we use a single PostingsHighlighter for both whole and snippet highlighting?
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-4861
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4861
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.3
>
>         Attachments: LUCENE-4861.patch
>
>
> Right now, because we pass the BreakIterator to the ctor, you have to make two instances if you sometimes want whole and sometimes want snippets.
> But I think this is a fairly common use case, eg I want entire title field (with matches highlighted) but I want body field (snippets + highlights).  It would be nice to have this work with a single instance ...

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