[ http://issues.apache.org/jira/browse/LUCENE-396?page=comments#action_12378067 ]
Yonik Seeley commented on LUCENE-396: ------------------------------------- The patch is also incorrect in that token positions are not preserved in the cases where positionIncrement!=1 > [PATCH] Add position increment back into StopFilter > --------------------------------------------------- > > Key: LUCENE-396 > URL: http://issues.apache.org/jira/browse/LUCENE-396 > Project: Lucene - Java > Type: Bug > Components: Analysis > Versions: 1.4 > Environment: Operating System: other > Platform: All > Reporter: Mike Barry > Assignee: Lucene Developers > Attachments: StopFilter.patch, TestStopFilter.java, TestStopFilter.java > > Currently, if you index a document that contains "climate of change", then a > phrase query of "climate change" will return that document because StopFilter > does not increment a token's position when skipping stopwords. A patch was > initially applied to StopFilter in Nov of 2003 but then reverted in Dec of > 2003 > due to conflicts. PhraseQuery has since been modified and extend and the patch > can be re-applied. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]