lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3456) Analysis Consumers should end and close any TokenStreams
Date Sun, 25 Sep 2011 11:11:26 GMT


Uwe Schindler commented on LUCENE-3456:

Yes it's down low, my idea was to do it top-level. But you are right, it's not really needed.
And we cannot 100% handle end/close unless we reuse.

The problem my approach would solve is that Solr would be asserted all the time, not only
if it uses Mock*, which is rarely does?

> Analysis Consumers should end and close any TokenStreams
> --------------------------------------------------------
>                 Key: LUCENE-3456
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Sub-task
>            Reporter: Chris Male
> 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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message