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

TokenStream.IncrementToken() is called after Dispose() is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • Lucene.Net 4.8.0
    • None
    • Lucene.Net Core
    • None

    Description

      When overriding Dispose(bool) in either TokenStream subclasses, Lucene.Net will call Dispose() before it is done using the TokenStream, and call IncrementToken() again.

       

      The behavior can be observed in the Lucene.Net.Collation.TestICUCollationKeyFilter.TestCollationKeySort() when the ICUCollationKeyFilter implements Dispose().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nightowl888 Shad Storhaug
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: