Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1794

implement reusableTokenStream for all contrib analyzers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      most contrib analyzers do not have an impl for reusableTokenStream

      regardless of how expensive the back compat reflection is for indexing speed, I think we should do this to mitigate any performance costs. hey, overall it might even be an improvement!

      the back compat code for non-final analyzers is already in place so this is easy money in my opinion.

        Attachments

        1. LUCENE-1794_fix.patch
          11 kB
          Robert Muir
        2. LUCENE-1794_fix2.txt
          15 kB
          Robert Muir
        3. LUCENE-1794.patch
          96 kB
          Robert Muir
        4. LUCENE-1794.patch
          82 kB
          Robert Muir
        5. LUCENE-1794.patch
          74 kB
          Robert Muir
        6. LUCENE-1794.patch
          60 kB
          Robert Muir
        7. LUCENE-1794.patch
          57 kB
          Robert Muir
        8. LUCENE-1794.patch
          56 kB
          Robert Muir
        9. LUCENE-1794-reusing-analyzer.patch
          6 kB
          Shai Erera

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: