lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Sorting problem
Date Wed, 07 Nov 2007 13:41:14 GMT
On 11/7/07, Ryan McKinley <ryantxu@gmail.com> 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.

-Yonik

Mime
View raw message