lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Staveley (Tom)" <rstave...@seseit.com>
Subject RE: Missing fields used for a sort
Date Tue, 11 Jul 2006 17:12:51 GMT
I can't thank you enough, Yonik :-)

-----Original Message-----
From: Yonik Seeley [mailto:yseeley@gmail.com] 
Sent: 11 July 2006 18:05
To: java-user@lucene.apache.org
Subject: Re: Missing fields used for a sort

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/s
earch/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


---------------------------------------------------------------------
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