[ https://issues.apache.org/jira/browse/LUCENE-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552911 ]
Doron Cohen commented on LUCENE-1095: ------------------------------------- I checked further. Query parser currently ignores the position increment - it is calling PhraseQuery.add(Term) rather than add(Term,position). So without changing this - either by default or optionally - the whole thing will not work. (I think current QP behavior is wrong in this regard.) Is there a good reason *not* to change QP to *always* pass the position to the PhraseQuery? > 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]