[ https://issues.apache.org/jira/browse/LUCENE-6884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989628#comment-14989628 ]
David Smiley commented on LUCENE-6884: -------------------------------------- It's fine. > Analyzer.tokenStream() shouldn't throw IOException > -------------------------------------------------- > > Key: LUCENE-6884 > URL: https://issues.apache.org/jira/browse/LUCENE-6884 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Alan Woodward > Assignee: Alan Woodward > Priority: Minor > Attachments: LUCENE-6884.patch > > > I'm guessing that in the past, calling Analyzer.tokenStream() would call > TokenStream.reset() somewhere downstream, meaning that we had to deal with > IOExceptions. However, tokenstreams are created entirely lazily now, so this > is unnecessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org