lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4861) can we use a single PostingsHighlighter for both whole and snippet highlighting?
Date Fri, 22 Mar 2013 01:59:15 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609798#comment-13609798
] 

Robert Muir commented on LUCENE-4861:
-------------------------------------

I fixed this BreakIterator. I will wait on LUCENE-4860 to be committed first, then I think
this issue is easy:
we can just make it public and the API will be simple.
                
> 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
>
>
> 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


Mime
View raw message