You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (JIRA)" <ji...@apache.org> on 2007/12/18 23:30:43 UTC

[jira] Issue Comment Edited: (LUCENE-1095) StopFilter should have option to incr positionIncrement after stop word

    [ https://issues.apache.org/jira/browse/LUCENE-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552916 ] 

steve_rowe edited comment on LUCENE-1095 at 12/18/07 2:29 PM:
---------------------------------------------------------------

{quote}
Is there a good reason *not* to change QP to *always* pass the position to the PhraseQuery?
{quote}

Backward compatibility :)  In all seriousness, if QP's default behavior is changed, regardless of correctness, shouldn't it wait until 3.0?

Hoss's suggestion changes no defaults, so *caveat user* applies - no problem applying to trunk immediately.  Maybe a different patch to change the default behavior in StopFilter and in QP for 3.0?

      was (Author: steve_rowe):
    {quote}
Is there a good reason *not* to change QP to *always* pass the position to the PhraseQuery?
{quote}

Backward compatibility :)  In all seriousness, if QP's default behavior of is changed, regardless of correctness, shouldn't it wait until 3.0?

Hoss's suggestion changes no defaults, so *caveat user* applies - no problem applying to trunk immediately.  Maybe a different patch to change the default behavior in StopFilter and in QP for 3.0?
  
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org