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

Robert Muir commented on LUCENE-1919:
-------------------------------------

bq. what if the tokenstream only supports next(reusableTS) ?

ok i tested the 2nd scenario and it is ok.
if you want my additional tests, i can add them, but the existing patch is 
fine... i confused myself worrying about this 2nd case.
in this case when the consumer calls next(reusableTS), no delegate is involved 
since its overridden... duh :)



> Analysis back compat break
> --------------------------
>
>                 Key: LUCENE-1919
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1919
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: 2.9
>
>         Attachments: LUCENE-1919.patch, LUCENE-1919.patch, LUCENE-1919.patch
>
>
> Old and new style token streams don't mix well.

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