[
https://issues.apache.org/jira/browse/LUCENE-5235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773911#comment-13773911
]
Michael McCandless commented on LUCENE-5235:
--------------------------------------------
+1, what a delightful solution!!
> throw illegalstate from Tokenizer (instead of NPE/IIOBE) if reset not called
> ----------------------------------------------------------------------------
>
> Key: LUCENE-5235
> URL: https://issues.apache.org/jira/browse/LUCENE-5235
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/analysis
> Reporter: Robert Muir
> Attachments: LUCENE-5235.patch, LUCENE-5235.patch,
> LUCENE-5235_test.patch
>
>
> We added these best effort checks, but it would be much better if we somehow
> gave a clear exception... this comes up often
--
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: [email protected]
For additional commands, e-mail: [email protected]