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

KuromojiTokenizer fails with large docs

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • modules/analysis
    • None
    • New

    Description

      just shoving largeish random docs triggers asserts like:

          [junit] Caused by: java.lang.AssertionError: backPos=4100 vs lastBackTracePos=5120
          [junit] 	at org.apache.lucene.analysis.kuromoji.KuromojiTokenizer.backtrace(KuromojiTokenizer.java:907)
          [junit] 	at org.apache.lucene.analysis.kuromoji.KuromojiTokenizer.parse(KuromojiTokenizer.java:756)
          [junit] 	at org.apache.lucene.analysis.kuromoji.KuromojiTokenizer.incrementToken(KuromojiTokenizer.java:403)
          [junit] 	at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:404)
      

      But, you get no seed...

      I'll commit the test case and @Ignore it.

      Attachments

        1. LUCENE-3897.patch
          4 kB
          Michael McCandless

        Activity

          People

            cm Christian Moen
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: