[ https://issues.apache.org/jira/browse/LUCENE-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552901 ]
Steven Rowe commented on LUCENE-1095: ------------------------------------- >From ><http://mail-archives.apache.org/mod_mbox/lucene-java-user/200510.mbox/[EMAIL >PROTECTED]>: A patch implementing this approach was actually applied to StopFilter.java in late 2003, but was reverted shortly afterward, because this approach conflicts with the QueryParser and PhraseQuery implementations. See Doug Cutting's description of the problem with the position increment modification approach here: <http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200312.mbox/[EMAIL PROTECTED]> See a colored diff of StopFilter.java, just before and after the position increment modification patch was reverted, here: <http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/src/java/org/apache/lucene/analysis/StopFilter.java?rev=150152&r1=150150&r2=150152&diff_format=h> > StopFilter should have option to incr positionIncrement after stop word > ----------------------------------------------------------------------- > > Key: LUCENE-1095 > URL: https://issues.apache.org/jira/browse/LUCENE-1095 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Hoss Man > > I've seen this come up on the mailing list a few times in the last month, so > i'm filing a known bug/improvement arround it... > StopFilter should have an option that if set, records how many stop words are > "skipped" in a row, and then sets that value as the positionIncrement on the > "next" token that StopFilter does return. -- 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]