lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Cowan (JIRA)" <>
Subject [jira] Created: (LUCENE-807) Minor improvement to JavaDoc for ScoreDocComparator
Date Mon, 19 Feb 2007 01:27:05 GMT
Minor improvement to JavaDoc for ScoreDocComparator

                 Key: LUCENE-807
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Javadocs
    Affects Versions: 2.1
            Reporter: Paul Cowan
            Priority: Trivial

About to attach a very small patch for ScoreDocComparator which broadens the contract of compare(ScoreDoc,
ScoreDoc) to follow the same semantics as -- allow any integer
to be returned, rather than specifically -1/0/-1.

Note that this behaviour must already be acceptable; the anonymous ScoreDocComparators returned
by FieldSortedHitQueue.comparatorStringLocale() already return the result of,
which is not tied to this -1/0/1 restriction.

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:
For additional commands, e-mail:

View raw message