[ http://issues.apache.org/jira/browse/LUCENE-300?page=all ]
Paul Elschot resolved LUCENE-300.
---------------------------------
Resolution: Fixed
Assignee: (was: Lucene Developers)
This change has already made it to the trunk, most likely via LUCENE 413.
> [PATCH] Refactoring of SpanScorer
> ---------------------------------
>
> Key: LUCENE-300
> URL: http://issues.apache.org/jira/browse/LUCENE-300
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Affects Versions: CVS Nightly - Specify date in submission
> Environment: Operating System: other
> Platform: Other
> Reporter: Paul Elschot
> Priority: Minor
> Attachments: SpanScorer.java, SpanScorer.java
>
>
> Refactored some common code in next() and skipTo().
> Removed dependency on score value for next() and skipTo().
> Passes all current tests at just about the same speed
> as the current version. Added minimal javadoc.
>
> Iirc, there has been some discussion on the dependency of next()
> and skipTo() on the score value, but I don't remember the conclusion.
> In case that dependency should stay in, it can be adapted
> in the refactored code.
--
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]