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

Fix IndexWriter working together with EmptyTokenizer and EmptyTokenStream (without CharTermAttribute), fix BaseTokenStreamTestCase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      TestRandomChains can fail because EmptyTokenizer doesn't have a CharTermAttribute and doesn't compute the end offset (if the offset attribute was added by a filter).

        Attachments

        1. LUCENE-4656_bttc.patch
          3 kB
          Robert Muir
        2. LUCENE-4656.patch
          21 kB
          Uwe Schindler
        3. LUCENE-4656.patch
          13 kB
          Uwe Schindler
        4. LUCENE-4656.patch
          13 kB
          Uwe Schindler
        5. LUCENE-4656.patch
          13 kB
          Uwe Schindler
        6. LUCENE-4656.patch
          5 kB
          Adrien Grand
        7. LUCENE-4656.patch
          2 kB
          Adrien Grand
        8. LUCENE-4656-IW-bug.patch
          2 kB
          Uwe Schindler
        9. LUCENE-4656-IW-fix.patch
          9 kB
          Uwe Schindler
        10. LUCENE-4656-IW-fix.patch
          9 kB
          Uwe Schindler

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                jpountz Adrien Grand
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: