lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26702] - [PATCH] arbitrary sorting
Date Thu, 12 Feb 2004 18:42:00 GMT
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 tjones@hoovers.com  2004-02-12 18:41 -------
>Is there a reason why you pass a SortField[] rather than a Sort in
>Searchable#search()?

I guess I just followed our previous discussion, and didn't add the Sort class
until I was trying to figure out how to make it easier for a user of the API.  The 

  TopFieldDocs search (Query q, Filter f, int n, SortField[] fields)

in Searchable is "lower level" ... It can go either way, I suppose - I'll look
at it again.  Is your initial preference to make them the same?

Thanks for noting the lack of Serializable.

any other thoughts?

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message