Lucene - Core
  1. Lucene - Core
  2. LUCENE-23

GermanStemFilter setting wrong values for startoffset/endoffset of stemmed tokens

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/analysis
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

      Description

      The GermanStemFilter sets wrong values to the new Token object created when the
      stemmer succeeds in stemming the termText() string. Bug found in 1.2-RC5-dev

      -----------------
      Example, for the processing of the string "this is a simple test":
      token : thi (0,3)
      token : is (5,7)
      token : a (8,9)
      token : simpl (0,5)
      token : test (17,21)

      (all the stemmed tokens have wrong start/end offsets).

        Activity

          People

          • Assignee:
            Lucene Developers
            Reporter:
            Rodrigo Reyes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development