DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26702>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26702 [PATCH] arbitrary sorting ------- Additional Comments From [EMAIL PROTECTED] 2004-02-11 15:22 ------- what do you think about making FieldDoc a subclass of ScoreDoc: class FieldDoc extends ScoreDoc { public Object[] fields; public FieldDoc (int doc, float score, Object[] fields) { super (doc, score); this.fields = fields; } } so that TopDocs remains the same, and the signature for the new method in Searchable would be: TopDocs search (Query q, Filter f, int n, SortField[] sort_fields); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]