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.
Migrated from LUCENE-3456 by Chris Male, updated Jan 30 2013
Parent: #4469
Attachments: LUCENE-3456.patch (versions: 2)
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.
Migrated from LUCENE-3456 by Chris Male, updated Jan 30 2013
Parent: #4469
Attachments: LUCENE-3456.patch (versions: 2)