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

Alan Woodward commented on LUCENE-8401:
---------------------------------------

Here's an updated patch taking into account feedback.  I left things in their 
own package for now, although I agree it would be better to have some common 
APIs here.

> Add PassageBuilder to help construct highlights using MatchesIterator
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-8401
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8401
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/highlighter
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8401.patch, LUCENE-8401.patch
>
>
> Jim and I discussed a while back the idea of adding highlighter components, 
> rather than a fully-fledged highlighter, which would allow users to build 
> their own specialised highlighters.  To that end, I'd like to add a 
> PassageBuilder class that uses the Matches API to break text up into passages 
> containing hits.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to