Re: Question about where sort is handled

2006-04-07 Thread Chris Hostetter
: I see this in StandardRequestHandler. However I am wondering if there : are multiple sorts, where in Solr is this handled? Thanks. In Lucene, instances of the Sort class can contain multiple "SortField" objects, which contain information about the type of sorting (score, string, integer) the

Re: Question about where sort is handled

2006-04-07 Thread Yonik Seeley
QueryParsing.parseSort() can handle sorts on multiple fields. The SortSpec.getSort() returns a Lucene Sort object, and that can represent a sort on multiple fields. -Yonik On 4/7/06, jason rutherglen <[EMAIL PROTECTED]> wrote: > I see this in StandardRequestHandler. However I am wondering if the

Question about where sort is handled

2006-04-07 Thread jason rutherglen
I see this in StandardRequestHandler. However I am wondering if there are multiple sorts, where in Solr is this handled? Thanks. -- // If the first non-query, non-filter command is a simple sort on an indexed field, then // we can use the Lucene s