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

throw illegalstate from Tokenizer (instead of NPE/IIOBE) if reset not called

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • modules/analysis
    • None
    • New

    Description

      We added these best effort checks, but it would be much better if we somehow gave a clear exception... this comes up often

      Attachments

        1. LUCENE-5235_test.patch
          3 kB
          Robert Muir
        2. LUCENE-5235.patch
          134 kB
          Robert Muir
        3. LUCENE-5235.patch
          133 kB
          Robert Muir
        4. LUCENE-5235.patch
          21 kB
          Uwe Schindler
        5. LUCENE-5235.patch
          13 kB
          Uwe Schindler
        6. LUCENE-5235.patch
          10 kB
          Robert Muir
        7. LUCENE-5235.patch
          9 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment