You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Prescott Nasser (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/13 02:59:51 UTC
[Lucene.Net] [jira] [Resolved] (LUCENENET-433) AttributeSource can have an
invalid computed state (LUCENE-3042)
[ https://issues.apache.org/jira/browse/LUCENENET-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prescott Nasser resolved LUCENENET-433.
---------------------------------------
Resolution: Fixed
Fixed in trunk
> AttributeSource can have an invalid computed state (LUCENE-3042)
> ----------------------------------------------------------------
>
> Key: LUCENENET-433
> URL: https://issues.apache.org/jira/browse/LUCENENET-433
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Digy
> Fix For: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>
> Attachments: LUCENENET-433.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira