Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3396 Make TokenStream Reuse Mandatory for Analyzers
  3. LUCENE-3456

Analysis Consumers should end and close any TokenStreams

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      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.

      Attachments

        1. LUCENE-3456.patch
          113 kB
          Robert Muir
        2. LUCENE-3456.patch
          69 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            cmale Chris Male
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: