lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-3455) All Analysis Consumers should use reusableTokenStream
Date Tue, 27 Sep 2011 04:09:13 GMT

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

Chris Male resolved LUCENE-3455.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Committed revision 1176191.
                
> All Analysis Consumers should use reusableTokenStream
> -----------------------------------------------------
>
>                 Key: LUCENE-3455
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3455
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: modules/analysis
>            Reporter: Chris Male
>            Assignee: Chris Male
>             Fix For: 4.0
>
>         Attachments: LUCENE-3455-test-consumers.patch, LUCENE-3455-test-consumers.patch,
LUCENE-3455.patch
>
>
> With Analyzer now using TokenStreamComponents, theres no reason for Analysis consumers
to use tokenStream() (it just gives bad performance).  Consequently all consumers will be
moved over to using reusableTokenStream().  The only challenge here is that reusableTokenStream
throws an IOException which many consumers are not rigged to deal with.
> Once all consumers have been moved, we can rename reusableTokenStream() back to tokenStream().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message