You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "James Nelson (JIRA)" <ji...@apache.org> on 2005/12/06 22:35:08 UTC

[jira] Commented: (NUTCH-132) Add ability to sort on more than one column

    [ http://issues.apache.org/jira/browse/NUTCH-132?page=comments#action_12359477 ] 

James Nelson commented on NUTCH-132:
------------------------------------

I have a partially completed patch implementing the multi-field sort capability. I'm attaching the patch file along with a new java class that accompanies the patch.

I'm looking for feedback before I complete the patch to make sure what I've completed so far is acceptable. Particularly feedback on the new class I created to handle sorting in the DistributedSearcher class, I feel it is a little dubious but a better way has not occurred to me yet.

> Add ability to sort on more than one column
> -------------------------------------------
>
>          Key: NUTCH-132
>          URL: http://issues.apache.org/jira/browse/NUTCH-132
>      Project: Nutch
>         Type: Improvement
>   Components: searcher
>     Reporter: James Nelson

>
> Currently nutch only allows sorting to be specified by passing in a string of the field name to be sorted on, a null string results in sorting by score. I'd like to be able to sort on multiple fields, including score instead of being restricted to just one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira