[ https://issues.apache.org/jira/browse/LUCENE-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-3042: ---------------------------------- Fix Version/s: 3.1 3.0.4 2.9.5 I thought about it: This bug is so serious it should be fixed in all branches, too (even if never released anymore). This is important for e.g. 2.9 users whcih are stuck with that version. Committed 3.1 branch revision: 1096127 Committed 3.0 branch revision: 1096128 Committed 2.9 branch revision: 1096129 > AttributeSource can have an invalid computed state > -------------------------------------------------- > > Key: LUCENE-3042 > URL: https://issues.apache.org/jira/browse/LUCENE-3042 > Project: Lucene - Java > Issue Type: Bug > Components: Analysis > Affects Versions: 2.9.4, 3.0.3, 3.1, 3.2, 4.0 > Reporter: Robert Muir > Assignee: Uwe Schindler > Priority: Critical > Fix For: 2.9.5, 3.0.4, 3.1, 3.2, 4.0 > > Attachments: LUCENE-3042.patch, LUCENE-3042.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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org