lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3456) Analysis Consumers should end and close any TokenStreams
Date Sun, 25 Sep 2011 18:54:26 GMT

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

Robert Muir updated LUCENE-3456:
--------------------------------

    Attachment: LUCENE-3456.patch

attached is a patch cutting over all uses of whitespace->mocktokenizer in solr test configs,
and fixing the errors this found.

i'd like to commit shortly, we can improve the coverage more by looking at other configs and
cutting over things like keywordtokenizer

> Analysis Consumers should end and close any TokenStreams
> --------------------------------------------------------
>
>                 Key: LUCENE-3456
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3456
>             Project: Lucene - Java
>          Issue Type: Sub-task
>            Reporter: Chris Male
>         Attachments: LUCENE-3456.patch, LUCENE-3456.patch
>
>
> While converting consumers over to using reusableTokenStream, I notice many don't call
end() or close() on TokenStreams.
> Even if they are test TSs only created once, we should follow the defined usage pattern.

--
This message is automatically generated by JIRA.
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