You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2011/07/07 13:24:16 UTC
[Lucene.Net] [jira] [Updated] (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 ]
Digy updated LUCENENET-433:
---------------------------
Attachment: LUCENENET-433.patch
Patch for 2.9.4g
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira