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

Mark Miller commented on LUCENE-1695:
-------------------------------------

Here we would need to deprecate the whole Highlighter or add some pretty nasty 
code to the current one to support both. Because the Highlighter has no back 
compat promise, I'd almost rather just jump to the new API. I think there are a 
couple other breaks that should be made (to make using the SpanScorer more 
rational when we make it the default), so doing everything at once with 2.9 
seems somewhat reasonable to me. Updating code to work with the new API should 
be as straightforward as updating a TokenFilter/TokenStream. I think you could 
probably continue using the 2.4 Highlighter jar as well? All of the classes 
should be intact and compatible I think.

> Update the Highlighter to use the new TokenStream API
> -----------------------------------------------------
>
>                 Key: LUCENE-1695
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1695
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/highlighter
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 2.9
>
>         Attachments: LUCENE-1695.patch, LUCENE-1695.patch, LUCENE-1695.patch, 
> LUCENE-1695.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to