lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: Missing fields used for a sort
Date Tue, 11 Jul 2006 17:05:19 GMT
On 7/11/06, Rob Staveley (Tom) <rstaveley@seseit.com> wrote:
> Thanks for the info both of you. Of course Lucene obeys Murphy's law that
> the missing ones appear first when you reverse sort, which is what Murphy's
> law says you want to do.
>
> Does solr have a custom build of Lucene in it, or is the functionality
> required to required to get the missing ones to the end of the list
> something that can be configured anyhow in Lucene?

Solr uses stock-lucene and builds on top of it.
The bits that put missing values at the end is here:
http://issues.apache.org/jira/browse/LUCENE-406

And in Solr here:
http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/MissingStringLastComparatorSource.java?revision=382610&view=markup


-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message