Increment position by default in StopFilter & QueryParser -> PhraseQuery
------------------------------------------------------------------------

                 Key: LUCENE-1258
                 URL: https://issues.apache.org/jira/browse/LUCENE-1258
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Analysis
    Affects Versions: 2.3.1, 2.3, 2.2, 2.1, 2.0.0, 1.9, 2.3.2, 2.4, 2.9
            Reporter: Michael McCandless
            Priority: Minor
             Fix For: 3.0


Spinoff from here:

  https://issues.apache.org/jira/browse/LUCENE-1095

I think for 3.0 we should change the default so that:

  * By default, StopFilter increments the positionIncrement whenever
    it skips stop words.  Add option to revert back to old way.  This is
    just toggling the boolean default.

  * By default, when QueryParser adds terms to a PhraseQuery it should
    include the position reported by the analyzer.  Add option to
    revert back to old way.

I'm just opening this now, marking as 3.0 fix, to remind us all to
actually fix it for 3.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]

Reply via email to