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

KuromojiTokenizer fails with large docs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: