Skip to content

Analysis Consumers should end and close any TokenStreams [LUCENE-3456] #4530

@asfimport

Description

@asfimport

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions