lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shad Storhaug (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENENET-611) TokenStream.IncrementToken() is called after Dispose() is called
Date Sat, 13 Jul 2019 02:09:00 GMT
Shad Storhaug created LUCENENET-611:
---------------------------------------

             Summary: TokenStream.IncrementToken() is called after Dispose() is called
                 Key: LUCENENET-611
                 URL: https://issues.apache.org/jira/browse/LUCENENET-611
             Project: Lucene.Net
          Issue Type: Bug
          Components: Lucene.Net Core
    Affects Versions: Lucene.Net 4.8.0
            Reporter: Shad Storhaug


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()}}.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message