You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/11/05 11:29:27 UTC

[jira] [Resolved] (LUCENE-6884) Analyzer.tokenStream() shouldn't throw IOException

     [ https://issues.apache.org/jira/browse/LUCENE-6884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward resolved LUCENE-6884.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 5.4

> 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
>             Fix For: 5.4
>
>         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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org