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

Alan Woodward commented on LUCENE-8158:
---------------------------------------

Here's an alternative, considerably more invasive patch, which moves *all* 
Offsets-related code into OffsetProducer.

> Expose OffsetsEnum directly from UnifiedHighlighter
> ---------------------------------------------------
>
>                 Key: LUCENE-8158
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8158
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8158-alt.patch, LUCENE-8158.patch
>
>
> Now that OffestsEnum is unitary, we can expose it directly from the 
> UnifiedHighlighter, allowing clients to use them in place of snippets.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to