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

TokenStream.next(Token) reuse 'policy': calling Token.clear() should be responsibility of producer.

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3
    • None
    • None
    • New

    Description

      Tokenizers which implement the reuse form of the next method:
      next(Token result)
      should reset the postionIncrement of the returned token to 1.

      Attachments

        1. lucene-1101.patch
          2 kB
          Doron Cohen
        2. lucene-1101.patch
          2 kB
          Doron Cohen
        3. lucene-1101.patch
          4 kB
          Doron Cohen

        Issue Links

          Activity

            People

              doronc Doron Cohen
              doronc Doron Cohen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: