Shai Erera wrote:

> 
> Comparators however have an advantage - in that specific case I could create
> two Comparators: (1) compares by the score and then by doc (2) compares by

That's why I hesitate to add the Comparable interface to ScoreDoc:
Different people might want different implementations of compare(), and
that makes it questionable which default compare() implementation we
should commit. I think Comparator solves this problem quite nicely.

-Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to