Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-433

AttributeSource can have an invalid computed state (LUCENE-3042)

    XMLWordPrintableJSON

Details

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

    Description

      If you work a tokenstream, consume it, then reuse it and add an attribute to it, the computed state is wrong.
      thus for example, clearAttributes() will not actually clear the attribute added.
      So in some situations, addAttribute is not actually clearing the computed state when it should.

      https://issues.apache.org/jira/browse/LUCENE-3042

      Attachments

        1. LUCENENET-433.patch
          41 kB
          Digy

        Activity

          People

            Unassigned Unassigned
            digydigy Digy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: