[ https://issues.apache.org/jira/browse/LUCENE-1441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-1441. ---------------------------------------- Resolution: Fixed Fix Version/s: 2.9 Committed revision 712232. > KeywordTokenizer does not set start/end offset of the Token it produces > ----------------------------------------------------------------------- > > Key: LUCENE-1441 > URL: https://issues.apache.org/jira/browse/LUCENE-1441 > Project: Lucene - Java > Issue Type: Bug > Components: Analysis > Affects Versions: 2.3, 2.3.1, 2.3.2, 2.4 > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1441.patch > > > I think just adding these two lines in the next(Token) method is the right > fix: > reusableToken.setStartOffset(0); > reusableToken.setEndOffset(upto); > I don't think this is a back compat issue because the start/end offset are > now meaningless since they will inherit whatever the reusable token had > previously been used for. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]