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

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          69 kB
          Robert Muir
        2. LUCENE-3456.patch
          113 kB
          Robert Muir

          Activity

            People

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

              Dates

              • Created:
                Updated: