Yonik Seeley wrote:
On 11/7/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
Yonik - do we want to keep this checking for 'null', or should we change
QueryParser.parseSort( ) to always return a valid sortSpec?
In Lucene, a null sort is not equal to "score desc"... they result in
the same documents being returned, but the former takes a different
code path and is faster.
right, but solr QueryParsing.SortSpec holds a lucene Sort -- in either
case the lucene Sort object is null.
Since num & offset were added to SortSpec, it can't be null anymore (i
don't think)
ryan