Solr
  1. Solr
  2. SOLR-1667

PatternTokenizer does not clearAttributes()

    Details

      Description

      PatternTokenizer creates tokens, but never calls clearAttributes()

      because of this things like positionIncrementGap are never reset to their default value.
      trivial patch

      1. SOLR-1667.patch
        0.5 kB
        Robert Muir

        Issue Links

          Activity

          Hide
          Grant Ingersoll added a comment -

          Bulk close for 3.1.0 release

          Show
          Grant Ingersoll added a comment - Bulk close for 3.1.0 release
          Hide
          Robert Muir added a comment -

          Committed revision 1035982.

          Show
          Robert Muir added a comment - Committed revision 1035982.
          Hide
          Robert Muir added a comment -

          reopening to backport to solr 1.4.x branch.

          Show
          Robert Muir added a comment - reopening to backport to solr 1.4.x branch.
          Hide
          Hoss Man added a comment -

          Correcting Fix Version based on CHANGES.txt, see this thread for more details...

          http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

          Show
          Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
          Hide
          Shalin Shekhar Mangar added a comment -

          Committed revision 892217.

          Thanks Robert!

          Show
          Shalin Shekhar Mangar added a comment - Committed revision 892217. Thanks Robert!
          Hide
          Uwe Schindler added a comment -

          Too bad, this tokenizer was rewritten by me. How could i forget that? puuuuuh

          Show
          Uwe Schindler added a comment - Too bad, this tokenizer was rewritten by me. How could i forget that? puuuuuh

            People

            • Assignee:
              Robert Muir
              Reporter:
              Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development