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-06 19:47 ------- About using Searcher: I think what you are saying is, rather than having FieldSortedSearcher be a subclass of IndexSearcher, the API of Searchable would be extended. This would require any implementations of Searchable to implement the new method provided for doing sorting by field values. So, IndexSearcher would get a new method, basically with the contents of the current FieldSortedSearcher#search(Query,Filter,int). Also MultiSearcher and RemoteSearchable would have to implement the method. Is this what you mean? I will let you guys with more experience with the API decide if that's where you want to go (it's ok with me) ... one comment on the suggested API addition is that a little thought needs to be put into how best to handle giving a list of fields (see FieldSortedSearcher(IndexReader,String[]). About using package private: There's no particular reason they are public - it is fine to change them - I just didn't think about that issue ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
