[ https://issues.apache.org/jira/browse/LUCENE-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500719 ]
Steven Rowe commented on LUCENE-902: ------------------------------------ This patch needs a small unit test showing that the problem exists, and that the provided patch fixes the problem. Also, this patch makes the code more confusing - consider, e.g., renaming "flag" to something more meaningful. > Check on PositionIncrement with StopFilter. > -------------------------------------------- > > Key: LUCENE-902 > URL: https://issues.apache.org/jira/browse/LUCENE-902 > Project: Lucene - Java > Issue Type: Bug > Components: Analysis > Affects Versions: 2.2 > Reporter: Toru Matsuzawa > Attachments: stopfilter.patch > > > PositionIncrement set with Tokenizer is not considered with StopFilter. > When PositionIncrement of Token is 1, it is deleted by StopFilter. However, > when PositionIncrement of Token following afterwards is 0, it is not deleted. > I think that it is necessary to be deleted. Because it is thought same Token > when PositionIncrement is 0. -- 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]